Package gw.internal.gosu.ir.nodes
Class JavaClassIRType
java.lang.Object
gw.internal.gosu.ir.nodes.JavaClassIRType
- All Implemented Interfaces:
IJavaClassIRType,IRType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IJavaClassInfoprivate Stringprivate booleanprivate booleanprivate Stringprivate static final ConcurrentHashMap<IJavaClassInfo,JavaClassIRType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringprivate Stringprivate static booleanbooleanstatic IRTypeget(IJavaClassInfo cls) static IRTypegetName()getType()booleanisArray()booleanisAssignableFrom(IRType otherType) booleanbooleanisByte()booleanisChar()booleanisDouble()booleanisFloat()booleanisInt()booleanbooleanisLong()booleanbooleanisShort()booleanbooleanisStructuralAndErased(IRType ownersType) booleanisVoid()private IJavaClassInforesolveJavaClassForType(IType hierarchyType) private static booleanshouldReplaceAnyway(IJavaClassInfo cls, JavaClassIRType javaClassIRType) private Class<?>toString()
-
Field Details
-
_class
-
_isArray
private boolean _isArray -
_isPrimitive
private boolean _isPrimitive -
_slashName
-
_descriptor
-
IR_TYPES_BY_CLASS_INFO
-
-
Constructor Details
-
JavaClassIRType
-
-
Method Details
-
get
-
get
-
shouldReplaceAnyway
-
equal
-
getName
-
getRelativeName
- Specified by:
getRelativeNamein interfaceIRType
-
getDescriptor
- Specified by:
getDescriptorin interfaceIRType
-
getJavaClassInfo
- Specified by:
getJavaClassInfoin interfaceIJavaClassIRType
-
computeDescriptor
-
getJavaClass
- Specified by:
getJavaClassin interfaceIRType
-
thisShouldNeverHappenButDoes
- Throws:
ClassNotFoundException
-
getSlashName
- Specified by:
getSlashNamein interfaceIRType
-
computeSlashName
-
isStructural
public boolean isStructural()- Specified by:
isStructuralin interfaceIRType
-
isStructuralAndErased
- Specified by:
isStructuralAndErasedin interfaceIRType
-
getArrayType
- Specified by:
getArrayTypein interfaceIRType
-
getComponentType
- Specified by:
getComponentTypein interfaceIRType
-
getType
-
isArray
public boolean isArray() -
isAssignableFrom
- Specified by:
isAssignableFromin interfaceIRType
-
resolveJavaClassForType
-
equals
-
isByte
public boolean isByte() -
isBoolean
public boolean isBoolean() -
isShort
public boolean isShort() -
isChar
public boolean isChar() -
isInt
public boolean isInt() -
isLong
public boolean isLong() -
isFloat
public boolean isFloat() -
isDouble
public boolean isDouble() -
isVoid
public boolean isVoid() -
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitivein interfaceIRType
-
isInterface
public boolean isInterface()- Specified by:
isInterfacein interfaceIRType
-
toString
-
getPrimitiveClass
-