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 boolean
private AsmType
private Map<String,
AsmInnerClassType> private int
private Object
private AsmType
private AsmType
private URI
private int
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
static final AsmClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addAnnotation
(AsmAnnotation annotation) private void
private void
static AsmClass
findPrimitive
(String className) getAnnotation
(Class annotationClass) getFqn()
int
getName()
getType()
getUri()
int
void
init
(byte[] classBytes) boolean
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
isArray()
boolean
isEnum()
boolean
boolean
boolean
boolean
boolean
void
void
setSuperClass
(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:
getRawType
in interfaceIAsmType
-
getEnclosingType
-
getComponentType
- Specified by:
getComponentType
in interfaceIAsmType
-
getSuperClass
-
setSuperClass
-
getInnerClasses
-
getInterfaces
-
getDeclaredFields
-
addField
-
getDeclaredMethodsAndConstructors
-
addMethod
-
getDeclaredAnnotations
-
addAnnotation
-
isGeneric
public boolean isGeneric() -
setGeneric
public void setGeneric()- Specified by:
setGeneric
in interfaceIGeneric
-
getModifiers
public int getModifiers() -
getVersion
public int getVersion() -
toString
-
getName
-
getNameWithArrayBrackets
-
getSimpleName
- Specified by:
getSimpleName
in interfaceIAsmType
-
getTypeParameters
- Specified by:
getTypeParameters
in interfaceIAsmType
-
isParameterized
public boolean isParameterized()- Specified by:
isParameterized
in interfaceIAsmType
-
isArray
public boolean isArray() -
isTypeVariable
public boolean isTypeVariable()- Specified by:
isTypeVariable
in interfaceIAsmType
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitive
in interfaceIAsmType
-
getFqn
-
isInterface
public boolean isInterface() -
isEnum
public boolean isEnum() -
isAnnotation
public boolean isAnnotation() -
isAnnotationPresent
-
getAnnotation
-