Package gw.lang.reflect.java.asm
Class AsmClass
java.lang.Object
gw.lang.reflect.java.asm.AsmClass
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<AsmAnnotation>private booleanprivate AsmTypeprivate Map<String,AsmInnerClassType> private intprivate Objectprivate AsmTypeprivate AsmTypeprivate URIprivate intstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClassstatic final AsmClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddAnnotation(AsmAnnotation annotation) private voidprivate voidstatic 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
-
PRIMITIVES
-
_module
-
_uri
-
_version
private int _version -
_modifiers
private int _modifiers -
_type
-
_superClass
-
_interfaces
-
_enclosingType
-
_bGeneric
private boolean _bGeneric -
_innerClasses
-
_fields
-
_methodsAndCtors
-
_annotations
-
-
Constructor Details
-
AsmClass
-
AsmClass
-
-
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
-
addField
-
getDeclaredMethodsAndConstructors
-
addMethod
-
getDeclaredAnnotations
-
addAnnotation
-
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
-