uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Open

#51 geöffnet am 15. Juni 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Java (2.143 Stars) (178 Forks)batch import
enhancementgood first issuehelp wantedlegacy-objc

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