public abstract class AbstractASTInjector extends Object implements ASTInjector
Modifier and Type | Field and Description |
---|---|
static org.codehaus.groovy.ast.ClassNode |
NAMED_TYPE |
Constructor and Description |
---|
AbstractASTInjector() |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.groovy.ast.expr.Expression |
applicationExpression(org.codehaus.groovy.ast.ClassNode classNode) |
static org.codehaus.groovy.ast.expr.Expression |
applicationProperty(org.codehaus.groovy.ast.ClassNode classNode,
String property) |
static org.codehaus.groovy.ast.expr.Expression |
currentThread() |
static org.codehaus.groovy.ast.expr.FieldExpression |
injectedField(org.codehaus.groovy.ast.ClassNode owner,
org.codehaus.groovy.ast.ClassNode type,
String name) |
static org.codehaus.groovy.ast.expr.FieldExpression |
injectedField(org.codehaus.groovy.ast.ClassNode owner,
org.codehaus.groovy.ast.ClassNode type,
String name,
String qualifierName) |
static org.codehaus.groovy.ast.ClassNode |
makeClassSafe(Class<?> klass) |
static org.codehaus.groovy.ast.ClassNode |
makeClassSafe(org.codehaus.groovy.ast.ClassNode classNode) |
static org.codehaus.groovy.ast.expr.Expression |
myClass() |
static org.codehaus.groovy.ast.expr.Expression |
myClassLoader() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inject
@Nonnull public static org.codehaus.groovy.ast.ClassNode makeClassSafe(@Nonnull org.codehaus.groovy.ast.ClassNode classNode)
@Nonnull public static org.codehaus.groovy.ast.ClassNode makeClassSafe(@Nonnull Class<?> klass)
@Nonnull public static org.codehaus.groovy.ast.expr.Expression currentThread()
@Nonnull public static org.codehaus.groovy.ast.expr.Expression myClass()
@Nonnull public static org.codehaus.groovy.ast.expr.Expression myClassLoader()
@Nonnull public static org.codehaus.groovy.ast.expr.Expression applicationExpression(@Nonnull org.codehaus.groovy.ast.ClassNode classNode)
@Nonnull public static org.codehaus.groovy.ast.expr.Expression applicationProperty(@Nonnull org.codehaus.groovy.ast.ClassNode classNode, @Nonnull String property)
@Nonnull public static org.codehaus.groovy.ast.expr.FieldExpression injectedField(@Nonnull org.codehaus.groovy.ast.ClassNode owner, @Nonnull org.codehaus.groovy.ast.ClassNode type, @Nonnull String name)