Package gw.lang.reflect.java.asm
Class AsmType
- java.lang.Object
-
- gw.lang.reflect.java.asm.AsmType
-
- All Implemented Interfaces:
IAsmType
- Direct Known Subclasses:
AsmInnerClassType
,AsmPrimitiveType
,AsmWildcardType
public class AsmType extends Object implements IAsmType
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AsmType>
_typeParameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTypeParameter(AsmType type)
boolean
equals(Object o)
AsmType
getComponentType()
String
getFqn()
String
getName()
String
getNameWithArrayBrackets()
AsmType
getRawType()
String
getSimpleName()
List<AsmType>
getTypeParameters()
int
hashCode()
void
incArrayDims()
boolean
isArray()
boolean
isFunctionTypeVariable()
boolean
isParameterized()
boolean
isPrimitive()
boolean
isTypeVariable()
void
setFunctionTypeVariable(boolean bFunctionTypeVariable)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
getRawType
public AsmType getRawType()
- Specified by:
getRawType
in interfaceIAsmType
-
setName
public void setName(String name)
-
getNameWithArrayBrackets
public String getNameWithArrayBrackets()
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleName
in interfaceIAsmType
-
getTypeParameters
public List<AsmType> getTypeParameters()
- Specified by:
getTypeParameters
in interfaceIAsmType
-
addTypeParameter
public void addTypeParameter(AsmType type)
-
isParameterized
public boolean isParameterized()
- Specified by:
isParameterized
in interfaceIAsmType
-
getComponentType
public AsmType getComponentType()
- Specified by:
getComponentType
in interfaceIAsmType
-
isTypeVariable
public boolean isTypeVariable()
- Specified by:
isTypeVariable
in interfaceIAsmType
-
setFunctionTypeVariable
public void setFunctionTypeVariable(boolean bFunctionTypeVariable)
-
isFunctionTypeVariable
public boolean isFunctionTypeVariable()
-
incArrayDims
public void incArrayDims()
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfaceIAsmType
-
-