Groovy 2.2.0

org.codehaus.groovy.transform
[Java] Class AbstractASTTransformation

java.lang.Object
  org.codehaus.groovy.transform.AbstractASTTransformation
All Implemented Interfaces:
ASTTransformation, org.objectweb.asm.Opcodes

public abstract class AbstractASTTransformation
extends Object

Method Summary
protected void addError(String msg, ASTNode expr)

protected void checkIncludeExclude(AnnotationNode node, List excludes, List includes, String typeName)

protected void checkNotInterface(ClassNode cNode, String annotationName)

protected List getMemberList(AnnotationNode anno, String name)

protected String getMemberStringValue(AnnotationNode node, String name)

protected Object getMemberValue(AnnotationNode node, String name)

protected boolean hasAnnotation(ClassNode cNode, ClassNode annotation)

protected void init(ASTNode[] nodes, SourceUnit sourceUnit)

protected boolean memberHasValue(AnnotationNode node, String name, Object value)

static ClassNode nonGeneric(ClassNode type)

static boolean shouldSkip(String name, List excludes, List includes)

protected List tokenize(String rawExcludes)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

addError

protected void addError(String msg, ASTNode expr)


checkIncludeExclude

protected void checkIncludeExclude(AnnotationNode node, List excludes, List includes, String typeName)


checkNotInterface

protected void checkNotInterface(ClassNode cNode, String annotationName)


getMemberList

protected List getMemberList(AnnotationNode anno, String name)


getMemberStringValue

protected String getMemberStringValue(AnnotationNode node, String name)


getMemberValue

protected Object getMemberValue(AnnotationNode node, String name)


hasAnnotation

protected boolean hasAnnotation(ClassNode cNode, ClassNode annotation)


init

protected void init(ASTNode[] nodes, SourceUnit sourceUnit)


memberHasValue

protected boolean memberHasValue(AnnotationNode node, String name, Object value)


nonGeneric

public static ClassNode nonGeneric(ClassNode type)


shouldSkip

public static boolean shouldSkip(String name, List excludes, List includes)


tokenize

protected List tokenize(String rawExcludes)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.