uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Offen

#51 geöffnet am 15.06.2020

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Java (178 Forks)batch import
enhancementgood first issuehelp wantedlegacy-objc

Repository-Metriken

Stars
 (2.143 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide