| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| private static final Pattern | |
| private static final String | |
| pack-priv Boolean | |
| pack-priv CompilationUnit | |
| private static final String | |
| pack-priv Boolean | |
| private static final Collection | |
| private static final List | |
| private static final String | |
| private static final String | |
| private static final List | |
| private static final List | |
| private static final String | |
| pack-priv Set | |
| pack-priv List | |
| private static final String | |
| private static final String | |
| private static final String | |
| pack-priv Set | |
| pack-priv List | |
| private static final String | |
| private static final String | |
| private static final List | |
| private static final String | |
| pack-priv Set | |
| pack-priv List | |
| private static final String | |
| private static final String | |
| private static final List | |
| private static final String | |
| pack-priv Set | |
| pack-priv List | |
| private static final String | |
| private static final String | |
| private static final String | |
| pack-priv Set | |
| pack-priv List | |
| pack-priv boolean | |
| private static final Pattern | |
| pack-priv ClassLoader | |
| pack-priv SourceUnit | |
| private static final ClassNode | |
| private static final String | |
| pack-priv Map | |
| private static final ClassNode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addGrabResolverAsStaticInitIfNeeded(ClassNode grapeClassNode, AnnotationNode node, List<Statement> grabResolverInitializers, Map<String, Object> grabResolverMap)
|
| private void | |
| private void | callGrabAsStaticInitIfNeeded(ClassNode classNode, ClassNode grapeClassNode, Collection<Map<String, Object>> grabMapsInit, Collection<Map<String, Object>> grabExcludeMaps)
|
| private void | |
| private void | |
| private static void | |
| private void | |
| private void | |
| private void | |
| private static String | |
| private void | |
| public SourceUnit | |
| public void | setCompilationUnit(final CompilationUnit compilationUnit)
Implements groovy. |
| private static String | |
| public void | visit(ASTNode[]
The ASTnodes when the call was triggered. Element 0 is the AnnotationNode that triggered this
annotation to be activated. Element 1 is the AnnotatedNode decorated, such as a MethodNode or ClassNode. For
global transformations it is usually safe to ignore this parameter. nodes, SourceUnit The source unit being compiled. The source unit may contain several classes. For global transformations,
information about the AST can be retrieved from this object. source)Implements org. |
| public void | visitAnnotations(AnnotatedNode
the AST node we are processing node)Overrides org. |
| allowShortGrab | back to summary |
|---|---|
| pack-priv boolean allowShortGrab | |
| allowShortGrabConfig | back to summary |
|---|---|
| pack-priv boolean allowShortGrabConfig | |
| allowShortGrabExcludes | back to summary |
|---|---|
| pack-priv boolean allowShortGrabExcludes | |
| allowShortGrabResolver | back to summary |
|---|---|
| pack-priv boolean allowShortGrabResolver | |
| allowShortGrapes | back to summary |
|---|---|
| pack-priv boolean allowShortGrapes | |
| ATTRIBUTES_PATTERN | back to summary |
|---|---|
| private static final Pattern ATTRIBUTES_PATTERN | |
| AUTO_DOWNLOAD_SETTING | back to summary |
|---|---|
| private static final String AUTO_DOWNLOAD_SETTING | |
| autoDownload | back to summary |
|---|---|
| pack-priv Boolean autoDownload | |
| compilationUnit | back to summary |
|---|---|
| pack-priv CompilationUnit compilationUnit | |
| DISABLE_CHECKSUMS_SETTING | back to summary |
|---|---|
| private static final String DISABLE_CHECKSUMS_SETTING | |
| disableChecksums | back to summary |
|---|---|
| pack-priv Boolean disableChecksums | |
| GRAB_ALL | back to summary |
|---|---|
| private static final Collection<String> GRAB_ALL | |
| GRAB_BOOLEAN | back to summary |
|---|---|
| private static final List<String> GRAB_BOOLEAN | |
| GRAB_CLASS_NAME | back to summary |
|---|---|
| private static final String GRAB_CLASS_NAME | |
| GRAB_DOT_NAME | back to summary |
|---|---|
| private static final String GRAB_DOT_NAME | |
| GRAB_OPTIONAL | back to summary |
|---|---|
| private static final List<String> GRAB_OPTIONAL | |
| GRAB_REQUIRED | back to summary |
|---|---|
| private static final List<String> GRAB_REQUIRED | |
| GRAB_SHORT_NAME | back to summary |
|---|---|
| private static final String GRAB_SHORT_NAME | |
| grabAliases | back to summary |
|---|---|
| pack-priv Set<String> grabAliases | |
| grabAnnotations | back to summary |
|---|---|
| pack-priv List<AnnotationNode> grabAnnotations | |
| GRABCONFIG_CLASS_NAME | back to summary |
|---|---|
| private static final String GRABCONFIG_CLASS_NAME | |
| GRABCONFIG_DOT_NAME | back to summary |
|---|---|
| private static final String GRABCONFIG_DOT_NAME | |
| GRABCONFIG_SHORT_NAME | back to summary |
|---|---|
| private static final String GRABCONFIG_SHORT_NAME | |
| grabConfigAliases | back to summary |
|---|---|
| pack-priv Set<String> grabConfigAliases | |
| grabConfigAnnotations | back to summary |
|---|---|
| pack-priv List<AnnotationNode> grabConfigAnnotations | |
| GRABEXCLUDE_CLASS_NAME | back to summary |
|---|---|
| private static final String GRABEXCLUDE_CLASS_NAME | |
| GRABEXCLUDE_DOT_NAME | back to summary |
|---|---|
| private static final String GRABEXCLUDE_DOT_NAME | |
| GRABEXCLUDE_REQUIRED | back to summary |
|---|---|
| private static final List<String> GRABEXCLUDE_REQUIRED | |
| GRABEXCLUDE_SHORT_NAME | back to summary |
|---|---|
| private static final String GRABEXCLUDE_SHORT_NAME | |
| grabExcludeAliases | back to summary |
|---|---|
| pack-priv Set<String> grabExcludeAliases | |
| grabExcludeAnnotations | back to summary |
|---|---|
| pack-priv List<AnnotationNode> grabExcludeAnnotations | |
| GRABRESOLVER_CLASS_NAME | back to summary |
|---|---|
| private static final String GRABRESOLVER_CLASS_NAME | |
| GRABRESOLVER_DOT_NAME | back to summary |
|---|---|
| private static final String GRABRESOLVER_DOT_NAME | |
| GRABRESOLVER_REQUIRED | back to summary |
|---|---|
| private static final List<String> GRABRESOLVER_REQUIRED | |
| GRABRESOLVER_SHORT_NAME | back to summary |
|---|---|
| private static final String GRABRESOLVER_SHORT_NAME | |
| grabResolverAliases | back to summary |
|---|---|
| pack-priv Set<String> grabResolverAliases | |
| grabResolverAnnotations | back to summary |
|---|---|
| pack-priv List<AnnotationNode> grabResolverAnnotations | |
| GRAPES_CLASS_NAME | back to summary |
|---|---|
| private static final String GRAPES_CLASS_NAME | |
| GRAPES_DOT_NAME | back to summary |
|---|---|
| private static final String GRAPES_DOT_NAME | |
| GRAPES_SHORT_NAME | back to summary |
|---|---|
| private static final String GRAPES_SHORT_NAME | |
| grapesAliases | back to summary |
|---|---|
| pack-priv Set<String> grapesAliases | |
| grapesAnnotations | back to summary |
|---|---|
| pack-priv List<AnnotationNode> grapesAnnotations | |
| initContextClassLoader | back to summary |
|---|---|
| pack-priv boolean initContextClassLoader | |
| IVY_PATTERN | back to summary |
|---|---|
| private static final Pattern IVY_PATTERN | |
| loader | back to summary |
|---|---|
| pack-priv ClassLoader loader | |
| sourceUnit | back to summary |
|---|---|
| pack-priv SourceUnit sourceUnit | |
| SYSTEM_CLASSNODE | back to summary |
|---|---|
| private static final ClassNode SYSTEM_CLASSNODE | |
| SYSTEM_PROPERTIES_SETTING | back to summary |
|---|---|
| private static final String SYSTEM_PROPERTIES_SETTING | |
| systemProperties | back to summary |
|---|---|
| pack-priv Map<String, String> systemProperties | |
| THREAD_CLASSNODE | back to summary |
|---|---|
| private static final ClassNode THREAD_CLASSNODE | |
| GrabAnnotationTransformation | back to summary |
|---|---|
| public GrabAnnotationTransformation() | |
| addGrabResolverAsStaticInitIfNeeded | back to summary |
|---|---|
| private static void addGrabResolverAsStaticInitIfNeeded(ClassNode grapeClassNode, AnnotationNode node, List<Statement> grabResolverInitializers, Map<String, Object> grabResolverMap) | |
| addInitContextClassLoaderIfNeeded | back to summary |
|---|---|
| private void addInitContextClassLoaderIfNeeded(ClassNode classNode) | |
| callGrabAsStaticInitIfNeeded | back to summary |
|---|---|
| private void callGrabAsStaticInitIfNeeded(ClassNode classNode, ClassNode grapeClassNode, Collection<Map<String, Object>> grabMapsInit, Collection<Map<String, Object>> grabExcludeMaps) | |
| checkForAutoDownload | back to summary |
|---|---|
| private void checkForAutoDownload(AnnotationNode node) | |
| checkForClassLoader | back to summary |
|---|---|
| private void checkForClassLoader(AnnotationNode node) | |
| checkForConvenienceForm | back to summary |
|---|---|
| private static void checkForConvenienceForm(AnnotationNode node, boolean exclude) | |
| checkForDisableChecksums | back to summary |
|---|---|
| private void checkForDisableChecksums(AnnotationNode node) | |
| checkForInitContextClassLoader | back to summary |
|---|---|
| private void checkForInitContextClassLoader(AnnotationNode node) | |
| checkForSystemProperties | back to summary |
|---|---|
| private void checkForSystemProperties(AnnotationNode node) | |
| dotName | back to summary |
|---|---|
| private static String dotName(String className) | |
| extractGrab | back to summary |
|---|---|
| private void extractGrab(Expression init, ConstantExpression ce) | |
| getSourceUnit | back to summary |
|---|---|
| public SourceUnit getSourceUnit() Implements abstract org. | |
| setCompilationUnit | back to summary |
|---|---|
| public void setCompilationUnit(final CompilationUnit compilationUnit) Implements groovy. | |
| shortName | back to summary |
|---|---|
| private static String shortName(String className) | |
| visit | back to summary |
|---|---|
| public void visit(ASTNode[] nodes, SourceUnit source) Implements org. Doc from org. The method is invoked when an AST Transformation is active. For local transformations, it is invoked once each time the local annotation is encountered. For global transformations, it is invoked once for every source unit, which is typically a source file.
| |
| visitAnnotations | back to summary |
|---|---|
| public void visitAnnotations(AnnotatedNode node) Overrides org. Adds the annotation to the internal target list if a match is found.
| |