Package gw.lang.reflect.java.asm
Class AsmMethod
java.lang.Object
gw.lang.reflect.java.asm.AsmMethod
- All Implemented Interfaces:
IGeneric
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<AsmAnnotation>
private boolean
private Object
private AsmType
private int
private AsmType
private int
private AsmClass
private List<AsmAnnotation>[]
private AsmType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotation
(AsmAnnotation asmAnnotation) void
addParameterAnnotation
(int iParam, AsmAnnotation asmAnnotation) private void
assignExceptions
(String[] exceptions) (package private) void
assignLineNumber
(int iLine) (package private) void
assignParameter
(String name, int access) private void
assignTypeFromDesc
(String desc) boolean
getAnnotation
(Class annotationClass) int
int
getName()
int
hashCode()
(package private) void
(package private) void
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
isBridge()
boolean
boolean
boolean
private String
private String
void
setAnnotationDefaultValue
(Object value) void
(package private) void
setReturnType
(AsmType returnType) toString()
void
update
(List<DeclarationPartSignatureVisitor> paramTypes, DeclarationPartSignatureVisitor returnType, List<DeclarationPartSignatureVisitor> exceptionTypes)
-
Field Details
-
_methodType
-
_modifiers
private int _modifiers -
_returnType
-
_genericReturnType
-
_parameters
-
_paramInfos
-
_genericParameters
-
_exceptions
-
_genericExceptions
-
_annotations
-
_paramAnnotations
-
_owner
-
_bGeneric
private boolean _bGeneric -
_defaultAnnoValue
-
_iLine
private int _iLine
-
-
Constructor Details
-
AsmMethod
-
-
Method Details
-
update
public void update(List<DeclarationPartSignatureVisitor> paramTypes, DeclarationPartSignatureVisitor returnType, List<DeclarationPartSignatureVisitor> exceptionTypes) -
getName
-
getMethodType
-
getModifiers
public int getModifiers() -
getParameters
-
getGenericParameters
-
getReturnType
-
setReturnType
-
getGenericReturnType
-
initGenericReturnType
void initGenericReturnType() -
getDeclaringClass
-
isGeneric
public boolean isGeneric() -
setGeneric
public void setGeneric()- Specified by:
setGeneric
in interfaceIGeneric
-
isSynthetic
public boolean isSynthetic() -
isBridge
public boolean isBridge() -
isConstructor
public boolean isConstructor() -
getExceptions
-
getGenericExceptions
-
initGenericExceptions
void initGenericExceptions() -
getAnnotations
-
getParameterAnnotations
-
getAnnotationDefaultValue
-
setAnnotationDefaultValue
-
isAnnotationPresent
-
getAnnotation
-
assignExceptions
-
assignTypeFromDesc
-
addAnnotation
-
addParameterAnnotation
-
toString
-
makeParameterString
-
makeTypeVarsString
-
assignLineNumber
void assignLineNumber(int iLine) -
getLineNumber
public int getLineNumber() -
findTypeVariable
-
equals
-
hashCode
public int hashCode() -
assignParameter
-
getParameterInfos
-