uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Open

#51 opened on 2020年6月15日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Java (178 forks)batch import
enhancementgood first issuehelp wantedlegacy-objc

Repository metrics

Stars
 (2,143 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド