Package gw.internal.gosu.ir.nodes
Class JavaClassIRType
- java.lang.Object
-
- gw.internal.gosu.ir.nodes.JavaClassIRType
-
- All Implemented Interfaces:
IJavaClassIRType,IRType
public class JavaClassIRType extends Object implements IJavaClassIRType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static IRTypeget(IJavaClassInfo cls)static IRTypeget(Class cls)IRTypegetArrayType()IRTypegetComponentType()StringgetDescriptor()ClassgetJavaClass()IJavaClassInfogetJavaClassInfo()StringgetName()ClassgetPrimitiveClass()StringgetRelativeName()StringgetSlashName()ITypegetType()booleanisArray()booleanisAssignableFrom(IRType otherType)booleanisBoolean()booleanisByte()booleanisChar()booleanisDouble()booleanisFloat()booleanisInt()booleanisInterface()booleanisLong()booleanisPrimitive()booleanisShort()booleanisStructural()booleanisStructuralAndErased(IRType ownersType)booleanisVoid()StringtoString()
-
-
-
Method Detail
-
get
public static IRType get(IJavaClassInfo cls)
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeNamein interfaceIRType
-
getDescriptor
public String getDescriptor()
- Specified by:
getDescriptorin interfaceIRType
-
getJavaClassInfo
public IJavaClassInfo getJavaClassInfo()
- Specified by:
getJavaClassInfoin interfaceIJavaClassIRType
-
getJavaClass
public Class getJavaClass()
- Specified by:
getJavaClassin interfaceIRType
-
getSlashName
public String getSlashName()
- Specified by:
getSlashNamein interfaceIRType
-
isStructural
public boolean isStructural()
- Specified by:
isStructuralin interfaceIRType
-
isStructuralAndErased
public boolean isStructuralAndErased(IRType ownersType)
- Specified by:
isStructuralAndErasedin interfaceIRType
-
getArrayType
public IRType getArrayType()
- Specified by:
getArrayTypein interfaceIRType
-
getComponentType
public IRType getComponentType()
- Specified by:
getComponentTypein interfaceIRType
-
isAssignableFrom
public boolean isAssignableFrom(IRType otherType)
- Specified by:
isAssignableFromin interfaceIRType
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitivein interfaceIRType
-
isInterface
public boolean isInterface()
- Specified by:
isInterfacein interfaceIRType
-
getPrimitiveClass
public Class getPrimitiveClass()
-
-