Class JavaClassIRType

    • Field Detail

      • _isArray

        private boolean _isArray
      • _isPrimitive

        private boolean _isPrimitive
      • _slashName

        private java.lang.String _slashName
      • _descriptor

        private java.lang.String _descriptor
    • Constructor Detail

    • Method Detail

      • get

        public static IRType get​(java.lang.Class cls)
      • equal

        private static boolean equal​(java.lang.Object o1,
                                     java.lang.Object o2)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface IRType
      • getRelativeName

        public java.lang.String getRelativeName()
        Specified by:
        getRelativeName in interface IRType
      • getDescriptor

        public java.lang.String getDescriptor()
        Specified by:
        getDescriptor in interface IRType
      • computeDescriptor

        private java.lang.String computeDescriptor()
      • getJavaClass

        public java.lang.Class getJavaClass()
        Specified by:
        getJavaClass in interface IRType
      • thisShouldNeverHappenButDoes

        private java.lang.Class<?> thisShouldNeverHappenButDoes()
                                                         throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • getSlashName

        public java.lang.String getSlashName()
        Specified by:
        getSlashName in interface IRType
      • computeSlashName

        private java.lang.String computeSlashName()
      • isStructural

        public boolean isStructural()
        Specified by:
        isStructural in interface IRType
      • isArray

        public boolean isArray()
        Specified by:
        isArray in interface IRType
      • resolveJavaClassForType

        private IJavaClassInfo resolveJavaClassForType​(IType hierarchyType)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • isByte

        public boolean isByte()
        Specified by:
        isByte in interface IRType
      • isBoolean

        public boolean isBoolean()
        Specified by:
        isBoolean in interface IRType
      • isShort

        public boolean isShort()
        Specified by:
        isShort in interface IRType
      • isChar

        public boolean isChar()
        Specified by:
        isChar in interface IRType
      • isInt

        public boolean isInt()
        Specified by:
        isInt in interface IRType
      • isLong

        public boolean isLong()
        Specified by:
        isLong in interface IRType
      • isFloat

        public boolean isFloat()
        Specified by:
        isFloat in interface IRType
      • isDouble

        public boolean isDouble()
        Specified by:
        isDouble in interface IRType
      • isVoid

        public boolean isVoid()
        Specified by:
        isVoid in interface IRType
      • isPrimitive

        public boolean isPrimitive()
        Specified by:
        isPrimitive in interface IRType
      • isInterface

        public boolean isInterface()
        Specified by:
        isInterface in interface IRType
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPrimitiveClass

        public java.lang.Class getPrimitiveClass()