-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Milestone
Description
Provide API to plug-in custom declaration like:
class CustomMethodDecl extends MethodDeclaration {
// reflect
// scan mirrors
// store custom properties
// emit custom listing
}Usage outline:
register(MethodDeclaration.class, CustomMethodDecl.class);
...
InterfaceDeclaration interface = unit.declareInterface("Test");
CustomMethodDecl custom = interface.declareMethod(void.class, "run");