Package gw.lang.reflect.java.asm
Class AsmClass
java.lang.Object
gw.lang.reflect.java.asm.AsmClass
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AsmClassfindPrimitive(String className) getAnnotation(Class annotationClass) getFqn()intgetName()getType()getUri()intvoidinit(byte[] classBytes) booleanbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanisArray()booleanisEnum()booleanbooleanbooleanbooleanbooleanvoidvoidsetSuperClass(AsmType type) toString()
-
Field Details
-
BYTE
-
SHORT
-
CHAR
-
INT
-
LONG
-
FLOAT
-
DOUBLE
-
BOOLEAN
-
VOID
-
-
Method Details
-
findPrimitive
-
init
public void init(byte[] classBytes) -
getUri
-
getType
-
getRawType
- Specified by:
getRawTypein interfaceIAsmType
-
getEnclosingType
-
getComponentType
- Specified by:
getComponentTypein interfaceIAsmType
-
getSuperClass
-
setSuperClass
-
getInnerClasses
-
getInterfaces
-
getDeclaredFields
-
getDeclaredMethodsAndConstructors
-
getDeclaredAnnotations
-
isGeneric
public boolean isGeneric() -
setGeneric
public void setGeneric()- Specified by:
setGenericin interfaceIGeneric
-
getModifiers
public int getModifiers() -
getVersion
public int getVersion() -
toString
-
getName
-
getNameWithArrayBrackets
-
getSimpleName
- Specified by:
getSimpleNamein interfaceIAsmType
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceIAsmType
-
isParameterized
public boolean isParameterized()- Specified by:
isParameterizedin interfaceIAsmType
-
isArray
public boolean isArray() -
isTypeVariable
public boolean isTypeVariable()- Specified by:
isTypeVariablein interfaceIAsmType
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitivein interfaceIAsmType
-
getFqn
-
isInterface
public boolean isInterface() -
isEnum
public boolean isEnum() -
isAnnotation
public boolean isAnnotation() -
isAnnotationPresent
-
getAnnotation
-