Class CachedClass

    • Field Detail

      • EMPTY_ARRAY

        public static final CachedClass[] EMPTY_ARRAY
      • isArray

        public final boolean isArray
      • isPrimitive

        public final boolean isPrimitive
      • modifiers

        public final int modifiers
      • isInterface

        public final boolean isInterface
      • isNumber

        public final boolean isNumber
    • Constructor Detail

      • CachedClass

        public CachedClass​(Class klazz,
                           ClassInfo classInfo)
    • Method Detail

      • getCachedSuperClass

        public CachedClass getCachedSuperClass()
      • getDeclaredInterfaces

        public Set<CachedClass> getDeclaredInterfaces()
      • getModifiers

        public int getModifiers()
      • coerceArgument

        public Object coerceArgument​(Object argument)
      • getSuperClassDistance

        public int getSuperClassDistance()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isPrimitive

        public boolean isPrimitive()
      • isVoid

        public boolean isVoid()
      • isInterface

        public boolean isInterface()
      • getName

        public String getName()
      • getTypeDescription

        public String getTypeDescription()
      • getTheClass

        public final Class getTheClass()
      • getNewMetaMethods

        public MetaMethod[] getNewMetaMethods()
      • setNewMopMethods

        public void setNewMopMethods​(List<MetaMethod> arr)
      • addNewMopMethods

        public void addNewMopMethods​(List<MetaMethod> arr)
      • isAssignableFrom

        public boolean isAssignableFrom​(Class argument)
      • isDirectlyAssignable

        public boolean isDirectlyAssignable​(Object argument)
      • getCachedClass

        public CachedClass getCachedClass()
        compatibility method
        Returns:
        this