Tabnine Logo
ClassNode.getMethodsLazy
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.kohsuke.droovy/groovy

public void addMethod(MethodNode node) {
  node.setDeclaringClass(this);
  redirect().getMethodsListLazy().add(node);
  redirect().getMethodsLazy().put(node.getName(), node);
}
origin: org.codehaus.groovy/groovy-jdk14

public void addMethod(MethodNode node) {
  node.setDeclaringClass(this);
  redirect().getMethodsListLazy().add(node);
  redirect().getMethodsLazy().put(node.getName(), node);
}
origin: org.kohsuke.droovy/groovy

/**
 * This methods returns a list of all methods of the given name
 * defined in the current class
 * @return the method list
 * @see #getMethods(String)
 */
public List getDeclaredMethods(String name) {
  if (!redirect().lazyInitDone) redirect().lazyClassInit();
  if (redirect!=null) return redirect().getDeclaredMethods(name);
  return getMethodsLazy().getNotNull(name);
}
origin: org.codehaus.groovy/groovy-jdk14

/**
 * This methods returns a list of all methods of the given name
 * defined in the current class
 * @return the method list
 * @see #getMethods(String)
 */
public List getDeclaredMethods(String name) {
  if (!redirect().lazyInitDone) redirect().lazyClassInit();
  if (redirect!=null) return redirect().getDeclaredMethods(name);
  return getMethodsLazy().getNotNull(name);
}
org.codehaus.groovy.astClassNodegetMethodsLazy

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

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • BoxLayout (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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