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 booleanprivate Objectprivate AsmTypeprivate intprivate AsmTypeprivate intprivate AsmClassprivate List<AsmAnnotation>[]private AsmType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(AsmAnnotation asmAnnotation) voidaddParameterAnnotation(int iParam, AsmAnnotation asmAnnotation) private voidassignExceptions(String[] exceptions) (package private) voidassignLineNumber(int iLine) (package private) voidassignParameter(String name, int access) private voidassignTypeFromDesc(String desc) booleangetAnnotation(Class annotationClass) intintgetName()inthashCode()(package private) void(package private) voidbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanisBridge()booleanbooleanbooleanprivate Stringprivate StringvoidsetAnnotationDefaultValue(Object value) void(package private) voidsetReturnType(AsmType returnType) toString()voidupdate(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:
setGenericin 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
-