uber/piranha

PiranhaObjC: Use properties.json to specify configuration properties

Open

#51 ouverte le 15 juin 2020

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Java (2 143 stars) (178 forks)batch import
enhancementgood first issuehelp wantedlegacy-objc

Description

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.

Guide contributeur