Class CachedMethod

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable

    public class CachedMethod
    extends MetaMethod
    implements java.lang.Comparable
    Author:
    Alex.Tkachman
    • Constructor Detail

      • CachedMethod

        public CachedMethod​(CachedClass clazz,
                            java.lang.reflect.Method method)
      • CachedMethod

        public CachedMethod​(java.lang.reflect.Method method)
    • Method Detail

      • find

        public static CachedMethod find​(java.lang.reflect.Method method)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class MetaMethod
      • invoke

        public final java.lang.Object invoke​(java.lang.Object object,
                                             java.lang.Object[] arguments)
        Specified by:
        invoke in class MetaMethod
      • getParamsCount

        public int getParamsCount()
      • setAccessible

        public final java.lang.reflect.Method setAccessible()
      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • createStaticMetaMethodSite

        public CallSite createStaticMetaMethodSite​(CallSite site,
                                                   MetaClassImpl metaClass,
                                                   java.lang.Class[] params)
      • hasPogoCallSiteConstructor

        public boolean hasPogoCallSiteConstructor()
      • hasPojoCallSiteConstructor

        public boolean hasPojoCallSiteConstructor()
      • hasStaticCallSiteConstructor

        public boolean hasStaticCallSiteConstructor()
      • getCachedMethod

        public java.lang.reflect.Method getCachedMethod()