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.

贡献者指南

PiranhaObjC: Use properties.json to specify configuration properties · uber/piranha#51 | Good First Issue