uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Open

#51 建立於 2020年6月15日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Java (2,143 star) (178 fork)batch import
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.

貢獻者指南