| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public final CachedClass | |
| private final Method | |
| private static final CachedMethod. | |
| public static final CachedMethod[] | |
| private int | |
| private boolean | |
| private SoftReference | |
| private SoftReference | |
| private boolean | |
| private SoftReference | |
| private CachedMethod |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | compareTo(Object
the object to be compared. o)Implements java. |
| private int | |
| private int | |
| public CallSite | |
| public CallSite | |
| public CallSite | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public static CachedMethod | |
| public <T extends Annotation> T | |
| public Method | |
| private static Constructor | |
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public String | getDescriptor()
Overrides groovy. |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract groovy. |
| public int | |
| public ParameterTypes | |
| public Class | |
| public Class | getReturnType()
Implements abstract groovy. |
| public String | |
| public CachedMethod | |
| public int | |
| public final Object | invoke(Object
The object this method should be invoked on object, Object[] The arguments for the method if applicable arguments)Implements abstract groovy. |
| public boolean | |
| public boolean | |
| private void | |
| public final Method | |
| public void | |
| public String |
| cachedClass | back to summary |
|---|---|
| public final CachedClass cachedClass | |
| cachedMethod | back to summary |
|---|---|
| private final Method cachedMethod | |
| COMPARATOR | back to summary |
|---|---|
| private static final CachedMethod. | |
| EMPTY_ARRAY | back to summary |
|---|---|
| public static final CachedMethod[] EMPTY_ARRAY | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| makeAccessibleDone | back to summary |
|---|---|
| private boolean makeAccessibleDone | |
| pogoCallSiteConstructor | back to summary |
|---|---|
| private SoftReference<Constructor<T>> pogoCallSiteConstructor | |
| pojoCallSiteConstructor | back to summary |
|---|---|
| private SoftReference<Constructor<T>> pojoCallSiteConstructor | |
| skipCompiled | back to summary |
|---|---|
| private boolean skipCompiled | |
| staticCallSiteConstructor | back to summary |
|---|---|
| private SoftReference<Constructor<T>> staticCallSiteConstructor | |
| transformedMethod | back to summary |
|---|---|
| private CachedMethod transformedMethod | |
| CachedMethod | back to summary |
|---|---|
| public CachedMethod(CachedClass clazz, Method method) | |
| CachedMethod | back to summary |
|---|---|
| public CachedMethod(Method method) | |
| canAccessLegally | back to summary |
|---|---|
| public boolean canAccessLegally(Class<?> callerClass) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| compareToCachedMethod | back to summary |
|---|---|
| private int compareToCachedMethod(CachedMethod other) | |
| compareToMethod | back to summary |
|---|---|
| private int compareToMethod(Method other) | |
| createPogoMetaMethodSite | back to summary |
|---|---|
| public CallSite createPogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class<T>[] params) | |
| createPojoMetaMethodSite | back to summary |
|---|---|
| public CallSite createPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class<T>[] params) | |
| createStaticMetaMethodSite | back to summary |
|---|---|
| public CallSite createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class<T>[] params) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| find | back to summary |
|---|---|
| public static CachedMethod find(Method method) | |
| getAnnotation | back to summary |
|---|---|
| public <T extends Annotation> T getAnnotation(Class<T> annotationClass) | |
| getCachedMethod | back to summary |
|---|---|
| public Method getCachedMethod() | |
| getConstructor | back to summary |
|---|---|
| private static Constructor | |
| getDeclaringClass | back to summary |
|---|---|
| public CachedClass getDeclaringClass() Implements abstract groovy. Doc from groovy. Gets the class where this method is declared
| |
| getDescriptor | back to summary |
|---|---|
| public String getDescriptor() Overrides groovy. Doc from groovy. Return a descriptor of this method based on the return type and parameters of this method. | |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract groovy. Doc from groovy. Returns the modifiers for this method
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract groovy. Doc from groovy. Returns the name of the method represented by this class
| |
| getParamsCount | back to summary |
|---|---|
| public int getParamsCount() | |
| getParamTypes | back to summary |
|---|---|
| public ParameterTypes getParamTypes() | |
| getPT | back to summary |
|---|---|
| public Class Overrides org. | |
| getReturnType | back to summary |
|---|---|
| public Class Implements abstract groovy. Doc from groovy. Access the return type for this method
| |
| getSignature | back to summary |
|---|---|
| public String getSignature() Overrides groovy. Doc from groovy. Returns the signature of this method
| |
| getTransformedMethod | back to summary |
|---|---|
| public CachedMethod getTransformedMethod() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invoke | back to summary |
|---|---|
| public final Object invoke(Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Overrides groovy. Doc from groovy. Returns whether or not this method is static.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() | |
| makeAccessibleIfNecessary | back to summary |
|---|---|
| private void makeAccessibleIfNecessary() | |
| setAccessible | back to summary |
|---|---|
| public final Method setAccessible() | |
| setTransformedMethod | back to summary |
|---|---|
| public void setTransformedMethod(CachedMethod transformedMethod) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides groovy. Doc from groovy. Returns a string representation of this method
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Object
the first object to be compared. o1, Object the second object to be compared. o2)Implements java. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MyComparator | back to summary |
|---|---|
| private MyComparator() | |
| compare | back to summary |
|---|---|
| public int compare(Object o1, Object o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |