A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- generics(ClassNode) - Method in class asteroid.Nodes
-
Creates an instance of
GenericsTypeBuilder - generics(ClassNode) - Static method in class asteroid.nodes.GenericsTypeBuilder
-
Sets the type of the generic type
- genericsPlaceHolder(Boolean) - Method in class asteroid.nodes.ClassNodeBuilder
-
Informs the builder whether to use a generic placeholder in the resulting
ClassNodeor not. - GenericsTypeBuilder - Class in asteroid.nodes
-
Builder to create instances of type
GenericsType - genericsTypes(GenericsType...) - Method in class asteroid.nodes.ClassNodeBuilder
-
Sets generic types for the resulting
ClassNode - get(AnnotationNode, Class<T>) - Method in class asteroid.utils.NodeUtils
-
Returns the value of a given annotation member.
- get(AnnotationNode, String, Class<T>) - Method in class asteroid.utils.NodeUtils
-
Returns the value of a member of the
AnnotationNodepassed as first parameter with the name passed as second parameter. - getAnnotationFrom(ClassNode, String) - Method in class asteroid.utils.NodeUtils
-
Retrieves an annotation with a specific simple name.
- getAnnotationFrom(ClassNode, ClassNode) - Method in class asteroid.utils.NodeUtils
-
Gets a given annotation node from the
ClassNodepassed as first argument. - getArgumentByIndexAs(ArgumentListExpression, Integer, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the element in the specified index from the
ArgumentListExpressionpassed as argument as the expected type. - getArgumentByIndexAs(MethodCallExpression, Integer, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the element in the specified index from the
ArgumentListExpressionpassed as argument as the expected type. - getArgumentList(MethodCallExpression) - Method in class asteroid.utils.ExpressionUtils
-
Given a
MethodCallExpressionit returns a list of arguments - getCodeBlock(MethodNode) - Method in class asteroid.utils.NodeUtils
-
Utility method to make your transformation code more compile static compliant when getting a method node code block.
- getCompilePhaseAsPropertyExpression(CompilePhase) - Static method in class asteroid.internal.TransformationUtils
-
Creates a
PropertyExpressioncontaining aCompilePhase. - getFirstArgumentAs(ArgumentListExpression, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the first element of the
ArgumentListExpressionpassed as parameters as the expected type. - getFirstArgumentAs(MethodCallExpression, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the first element of the
ArgumentListExpressionpassed as parameters as the expected type. - getFirstNodeAs(ASTNode[], Class<T>) - Method in class asteroid.utils.NodeUtils
-
Returns the first node of the list passed as parameter with the expected type T
- getGroovyAnnotation(CompilePhase) - Static method in class asteroid.internal.TransformationUtils
-
Creates an
AnnotationNodeof typeGroovyASTTransformation. - getInheritConstructorsAnnotation() - Static method in class asteroid.internal.TransformationUtils
-
Builds a
AnnotationNodeof typeInheritConstructors - getInstancePropertyFields(ClassNode) - Method in class asteroid.utils.NodeUtils
-
Returns all properties from a given
ClassNodepassed as argument - getLastArgumentAs(ArgumentListExpression, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the last element of the
ArgumentListExpressionpassed as parameters as the expected type. - getLastArgumentAs(MethodCallExpression, Class<U>) - Method in class asteroid.utils.ExpressionUtils
-
Return the last element of the
ArgumentListExpressionpassed as parameters as the expected type. - getLastNodeAs(ASTNode[], Class<T>) - Method in class asteroid.utils.NodeUtils
-
Returns the last node of the list passed as parameter with the expected type T
- getModule() - Method in class asteroid.transformer.AbstractTransformer
-
This method returns the module of the current SourceUnit instance
- getModulePackageName() - Method in class asteroid.transformer.AbstractTransformer
-
Sometimes could be useful to get the package name of the current module
- getSourceUnit() - Method in class asteroid.transformer.AbstractTransformer
-
This method returns the source unit
- getStringValue(AnnotationNode) - Method in class asteroid.utils.NodeUtils
-
Returns the
Stringrepresentation of the member "value" of the annotation passed as parameter - getText(Expression) - Method in class asteroid.utils.ExpressionUtils
-
Extracts the String value of a given expression
- getTransformers() - Method in class asteroid.AbstractGlobalTransformation
-
This method should return a list of visitor classes
Classinstances applied globally by this AST. - getTransformers() - Method in class asteroid.internal.GlobalTransformationTransformation
- GLOBAL() - Constructor for class asteroid.Phase.GLOBAL
- GlobalTransformationTransformation - Class in asteroid.internal
-
This transformation makes easier to declare a given global transformation.
- GlobalTransformationTransformation() - Constructor for class asteroid.internal.GlobalTransformationTransformation
- groupStatementsByLabel(BlockStatement) - Method in class asteroid.utils.StatementUtils
-
Use this function to group expression statements found within a given block statement.
All Classes All Packages