Uses of Class
asteroid.nodes.MethodNodeBuilder
-
Packages that use MethodNodeBuilder Package Description asteroid This package contains:
Classes to implement a local AST transformation Classes to access builder to create: nodes, expressions, statements Classes to make it easier to access AST node values Classes to check AST nodes Most of the times you can access all these functionalities through theAclassasteroid.nodes This package contains classes to buildASTNodeinstances -
-
Uses of MethodNodeBuilder in asteroid
Methods in asteroid that return MethodNodeBuilder Modifier and Type Method Description MethodNodeBuilderNodes. method(String methodName)Creates an instance ofMethodNodeBuilder -
Uses of MethodNodeBuilder in asteroid.nodes
Methods in asteroid.nodes that return MethodNodeBuilder Modifier and Type Method Description MethodNodeBuilderMethodNodeBuilder. code(Statement code)Sets the content of the methodMethodNodeBuilderMethodNodeBuilder. exceptions(ClassNode... exceptions)Declares which type of exceptions this method may throwstatic MethodNodeBuilderMethodNodeBuilder. method(String name)Sets the method name and creates an instance ofMethodNodeBuilderMethodNodeBuilderMethodNodeBuilder. modifiers(int modifiers)Sets the method modifiers (public, protected...).MethodNodeBuilderMethodNodeBuilder. parameters(Parameter... parameters)Declares which parameters this method may receiveMethodNodeBuilderMethodNodeBuilder. returnType(Class returnType)Sets the return type of the method
-