uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Aberta

#51 aberto em 15 de jun. de 2020

 (1 comentário) (0 reação) (0 responsável)Java (178 forks)batch import
enhancementgood first issuehelp wantedlegacy-objc

Métricas do repositório

Stars
 (2.143 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Currently PiranhaObjC APIs are hardcoded. See here. Introduce a configuration json file that contains an array of methodProperties with methodName, flagType, returnType and argumentIndex. See below.

{ "methodProperties": [ { "methodName": "isToggleEnabled", "flagType": "treated", "returnType": "boolean", "argumentIndex": 0 }, ... ], }

This properties file will be parsed and the listed APIs will be used for refactoring.

Guia do colaborador