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 voidaddTypeParameter(AsmType type)booleanequals(Object o)AsmTypegetComponentType()StringgetFqn()StringgetName()StringgetNameWithArrayBrackets()AsmTypegetRawType()StringgetSimpleName()List<AsmType>getTypeParameters()inthashCode()voidincArrayDims()booleanisArray()booleanisFunctionTypeVariable()booleanisParameterized()booleanisPrimitive()booleanisTypeVariable()voidsetFunctionTypeVariable(boolean bFunctionTypeVariable)voidsetName(String name)StringtoString()
-
-
-
Method Detail
-
getRawType
public AsmType getRawType()
- Specified by:
getRawTypein interfaceIAsmType
-
setName
public void setName(String name)
-
getNameWithArrayBrackets
public String getNameWithArrayBrackets()
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleNamein interfaceIAsmType
-
getTypeParameters
public List<AsmType> getTypeParameters()
- Specified by:
getTypeParametersin interfaceIAsmType
-
addTypeParameter
public void addTypeParameter(AsmType type)
-
isParameterized
public boolean isParameterized()
- Specified by:
isParameterizedin interfaceIAsmType
-
getComponentType
public AsmType getComponentType()
- Specified by:
getComponentTypein interfaceIAsmType
-
isTypeVariable
public boolean isTypeVariable()
- Specified by:
isTypeVariablein interfaceIAsmType
-
setFunctionTypeVariable
public void setFunctionTypeVariable(boolean bFunctionTypeVariable)
-
isFunctionTypeVariable
public boolean isFunctionTypeVariable()
-
incArrayDims
public void incArrayDims()
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitivein interfaceIAsmType
-
-