uber/piranha
在 GitHub 查看PiranhaObjC: Use properties.json to specify configuration properties
Open
#51 创建于 2020年6月15日
enhancementgood first issuehelp wantedlegacy-objc
描述
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.