Package gw.lang.ir
Class SyntheticIRType
- java.lang.Object
-
- gw.lang.ir.SyntheticIRType
-
-
Constructor Summary
Constructors Constructor Description SyntheticIRType(Class superClass, String name, String relativeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRTypegetArrayType()IRTypegetComponentType()StringgetDescriptor()ClassgetJavaClass()StringgetName()StringgetRelativeName()StringgetSlashName()ClassgetSuperClass()ITypegetType()booleanisArray()booleanisAssignableFrom(IRType otherType)booleanisBoolean()booleanisByte()booleanisChar()booleanisDouble()booleanisFloat()booleanisInt()booleanisInterface()booleanisLong()booleanisPrimitive()booleanisShort()booleanisStructural()booleanisStructuralAndErased(IRType ownersType)booleanisVoid()
-
-
-
Method Detail
-
getSuperClass
public Class getSuperClass()
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeNamein interfaceIRType
-
getDescriptor
public String getDescriptor()
- Specified by:
getDescriptorin interfaceIRType
-
getJavaClass
public Class getJavaClass()
- Specified by:
getJavaClassin interfaceIRType
-
getSlashName
public String getSlashName()
- Specified by:
getSlashNamein 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
-
isStructural
public boolean isStructural()
- Specified by:
isStructuralin interfaceIRType
-
isStructuralAndErased
public boolean isStructuralAndErased(IRType ownersType)
- Specified by:
isStructuralAndErasedin interfaceIRType
-
-