[Java] Class ClassNodeUtils

  • org.codehaus.groovy.ast.tools.ClassNodeUtils

Methods Summary

Methods
Type Params Return Type Name and description
static void addDeclaredMethodMapsFromSuperInterfaces(ClassNode cNode, Map<String, MethodNode> methodsMap)
static void addInterfaceMethods(ClassNode cNode, Map<String, MethodNode> methodsMap)
static Map<String, MethodNode> getDeclaredMethodMapsFromInterfaces(ClassNode cNode)
static String getPropNameForAccessor(String accessorName)
static PropertyNode getStaticProperty(ClassNode cNode, String propName)
static boolean hasPossibleStaticMethod(ClassNode cNode, String name, Expression arguments, boolean trySpread)
static boolean hasPossibleStaticProperty(ClassNode cNode, String methodName)
static boolean hasStaticProperty(ClassNode cNode, String propName)
static boolean isInnerClass(ClassNode cNode)
static boolean isValidAccessorName(String accessorName)

Inherited Methods Summary

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

Method Detail

@Deprecated public static void addDeclaredMethodMapsFromSuperInterfaces(ClassNode cNode, Map<String, MethodNode> methodsMap)

@Deprecated public static void addInterfaceMethods(ClassNode cNode, Map<String, MethodNode> methodsMap)

@Deprecated public static Map<String, MethodNode> getDeclaredMethodMapsFromInterfaces(ClassNode cNode)

@Deprecated public static String getPropNameForAccessor(String accessorName)

@Deprecated public static PropertyNode getStaticProperty(ClassNode cNode, String propName)

@Deprecated public static boolean hasPossibleStaticMethod(ClassNode cNode, String name, Expression arguments, boolean trySpread)

@Deprecated public static boolean hasPossibleStaticProperty(ClassNode cNode, String methodName)

@Deprecated public static boolean hasStaticProperty(ClassNode cNode, String propName)

@Deprecated public static boolean isInnerClass(ClassNode cNode)

@Deprecated public static boolean isValidAccessorName(String accessorName)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/ast/tools/ClassNodeUtils.html