org.codehaus.groovy.reflection
Class CachedMethod
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
org.codehaus.groovy.reflection.CachedMethod
- All Implemented Interfaces:
- Comparable
public class CachedMethod
- extends ParameterTypes
- implements Comparable
- Author:
- Alex.Tkachman
cachedClass
public final CachedClass cachedClass
cachedMethod
public final Method cachedMethod
CachedMethod
public CachedMethod(CachedClass clazz,
Method method)
CachedMethod
public CachedMethod(Method method)
find
public static CachedMethod find(Method method)
getName
public String getName()
getDescriptor
public String getDescriptor()
getDeclaringClass
public Class getDeclaringClass()
getReturnType
public Class getReturnType()
getParamsCount
public int getParamsCount()
getModifiers
public int getModifiers()
getSignature
public String getSignature()
setAccessible
public Method setAccessible()
isStatic
public boolean isStatic()
setMethodIndex
public void setMethodIndex(int i)
getMethodIndex
public int getMethodIndex()
canBeCalledByReflector
public boolean canBeCalledByReflector()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getReflectionMetaMethod
public MetaMethod getReflectionMetaMethod()