congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ClassNode.getTransformInstancesLazy
Code IndexAdd Tabnine to your IDE (free)

How to use
getTransformInstancesLazy
method
in
org.codehaus.groovy.ast.ClassNode

Best Java code snippets using org.codehaus.groovy.ast.ClassNode.getTransformInstancesLazy (Showing top 2 results out of 315)

origin: org.kohsuke.droovy/groovy

public void addTransform(Class<? extends ASTTransformation> transform, ASTNode node) {
  if (transformInstances == null)
    getTransformInstancesLazy();
  GroovyASTTransformation annotation = transform.getAnnotation(GroovyASTTransformation.class);
  Set<ASTNode> nodes = transformInstances.get(annotation.phase()).get(transform);
  if (nodes == null) {
    nodes = new LinkedHashSet();
    transformInstances.get(annotation.phase()).put(transform, nodes);
  }
  nodes.add(node);
}
origin: org.codehaus.groovy/groovy-jdk14

public void addTransform(Class<? extends ASTTransformation> transform, ASTNode node) {
  if (transformInstances == null)
    getTransformInstancesLazy();
  GroovyASTTransformation annotation = transform.getAnnotation(GroovyASTTransformation.class);
  Set<ASTNode> nodes = transformInstances.get(annotation.phase()).get(transform);
  if (nodes == null) {
    nodes = new LinkedHashSet();
    transformInstances.get(annotation.phase()).put(transform, nodes);
  }
  nodes.add(node);
}
org.codehaus.groovy.astClassNodegetTransformInstancesLazy

Popular methods of ClassNode

  • getName
  • getMethods
    This methods creates a list of all methods with this name of the current class and of all super clas
  • <init>
    Constructor used by makeArray() if no real class is available
  • getSuperClass
  • equals
  • addMethod
  • getAnnotations
  • addField
  • getFields
    Returns a list containing FieldNode objects for each field in the class represented by this ClassNod
  • getPlainNodeReference
  • getField
    Finds a field matching the given name in this class or a parent class.
  • getMethod
    Finds a method matching the given name and parameters in this class or any parent class.
  • getField,
  • getMethod,
  • isInterface,
  • getNameWithoutPackage,
  • isScript,
  • getDeclaredMethod,
  • getGenericsTypes,
  • getDeclaredConstructors,
  • getModifiers,
  • getTypeClass

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now