Class Method
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.Modifiers
-
- org.aspectj.apache.bcel.classfile.FieldOrMethod
-
- org.aspectj.apache.bcel.classfile.Method
-
- All Implemented Interfaces:
Node
public final class Method extends FieldOrMethod
-
-
Field Summary
Fields Modifier and Type Field Description static AnnotationGen[][]NO_PARAMETER_ANNOTATIONSstatic Method[]NoMethods-
Fields inherited from class org.aspectj.apache.bcel.classfile.FieldOrMethod
attributes, cpool, nameIndex, signatureIndex
-
-
Constructor Summary
Constructors Constructor Description Method(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)Method(Method c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ClassVisitor v)AnnotationGen[]getAnnotationsOnParameter(int i)Type[]getArgumentTypes()CodegetCode()ExceptionTablegetExceptionTable()LineNumberTablegetLineNumberTable()LocalVariableTablegetLocalVariableTable()AnnotationGen[][]getParameterAnnotations()TypegetReturnType()voidsetAttributes(Attribute[] attributes)StringtoString()-
Methods inherited from class org.aspectj.apache.bcel.classfile.FieldOrMethod
dump, getAnnotations, getAttributes, getConstantPool, getDeclaredSignature, getGenericSignature, getName, getNameIndex, getSignature, getSignatureIndex
-
Methods inherited from class org.aspectj.apache.bcel.classfile.Modifiers
getModifiers, isAbstract, isBridge, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVarargs, isVolatile, setModifiers
-
-
-
-
Field Detail
-
NO_PARAMETER_ANNOTATIONS
public static final AnnotationGen[][] NO_PARAMETER_ANNOTATIONS
-
NoMethods
public static final Method[] NoMethods
-
-
Constructor Detail
-
Method
public Method(Method c)
-
Method
public Method(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)
-
-
Method Detail
-
accept
public void accept(ClassVisitor v)
-
setAttributes
public void setAttributes(Attribute[] attributes)
- Overrides:
setAttributesin classFieldOrMethod
-
getCode
public final Code getCode()
-
getExceptionTable
public final ExceptionTable getExceptionTable()
-
getLocalVariableTable
public final LocalVariableTable getLocalVariableTable()
-
getLineNumberTable
public final LineNumberTable getLineNumberTable()
-
getReturnType
public Type getReturnType()
-
getArgumentTypes
public Type[] getArgumentTypes()
-
getAnnotationsOnParameter
public AnnotationGen[] getAnnotationsOnParameter(int i)
-
getParameterAnnotations
public AnnotationGen[][] getParameterAnnotations()
-
-