Uses of Class
org.apache.bcel.classfile.Method
-
Packages that use Method Package Description org.apache.bcel.classfile Classes that describe the structure of a Java class file and a class file parser.org.apache.bcel.generic Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.org.apache.bcel.util Utility classes for the Apache Byte Code Engineering Library (BCEL), namely: Collection classes for JavaClass objects A converter for class files to HTML A tool to find instructions patterns via regular expressions A class to find classes as defined in the CLASSPATH A class loader that allows to create classes at run timeorg.apache.bcel.verifier.statics PassVerifier classes used internally by JustIce. -
-
Uses of Method in org.apache.bcel.classfile
Fields in org.apache.bcel.classfile declared as Method Modifier and Type Field Description static Method[]Method. EMPTY_ARRAYEmpty array constant.(package private) static Method[]Method. EMPTY_METHOD_ARRAYEmpty array.private Method[]ClassParser. methodsprivate Method[]JavaClass. methodsFields in org.apache.bcel.classfile with type parameters of type Method Modifier and Type Field Description private static BCELComparator<Method>Method. bcelComparatorMethods in org.apache.bcel.classfile that return Method Modifier and Type Method Description MethodMethod. copy(ConstantPool constantPool)MethodJavaClass. getMethod(java.lang.reflect.Method m)Method[]JavaClass. getMethods()Methods in org.apache.bcel.classfile that return types with arguments of type Method Modifier and Type Method Description static BCELComparator<Method>Method. getComparator()Methods in org.apache.bcel.classfile with parameters of type Method Modifier and Type Method Description voidJavaClass. setMethods(Method[] methods)voidDescendingVisitor. visitMethod(Method method)voidEmptyVisitor. visitMethod(Method obj)voidVisitor. visitMethod(Method obj)Method parameters in org.apache.bcel.classfile with type arguments of type Method Modifier and Type Method Description static voidMethod. setComparator(BCELComparator<Method> comparator)Constructors in org.apache.bcel.classfile with parameters of type Method Constructor Description JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int accessFlags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes)Constructor gets all contents as arguments.JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int accessFlags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source)Constructor gets all contents as arguments.Method(Method c)Initialize from another object. -
Uses of Method in org.apache.bcel.generic
Fields in org.apache.bcel.generic with type parameters of type Method Modifier and Type Field Description private java.util.List<Method>ClassGen. methodListMethods in org.apache.bcel.generic that return Method Modifier and Type Method Description MethodClassGen. containsMethod(java.lang.String name, java.lang.String signature)MethodMethodGen. getMethod()Gets method object.MethodClassGen. getMethodAt(int pos)Method[]ClassGen. getMethods()Methods in org.apache.bcel.generic with parameters of type Method Modifier and Type Method Description voidClassGen. addMethod(Method m)Add a method to this class.private static byte[]MethodGen. getByteCodes(Method method)voidClassGen. removeMethod(Method m)Remove a method from this class.voidClassGen. replaceMethod(Method old, Method newMethod)Replace given method with new one.voidClassGen. setMethodAt(Method method, int pos)voidClassGen. setMethods(Method[] methods)Constructors in org.apache.bcel.generic with parameters of type Method Constructor Description MethodGen(Method method, java.lang.String className, ConstantPoolGen cp)Instantiate from existing method. -
Uses of Method in org.apache.bcel.util
Fields in org.apache.bcel.util declared as Method Modifier and Type Field Description private Method[]ConstantHTML. methodsMethods in org.apache.bcel.util with parameters of type Method Modifier and Type Method Description voidBCELifier. visitMethod(Method method)private voidCodeHTML. writeMethod(Method method, int methodNumber)Write a single method with the byte code associated with it.private voidMethodHTML. writeMethod(Method method, int methodNumber)Constructors in org.apache.bcel.util with parameters of type Method Constructor Description CodeHTML(java.lang.String dir, java.lang.String className, Method[] methods, ConstantPool constantPool, ConstantHTML constantHtml, java.nio.charset.Charset charset)ConstantHTML(java.lang.String dir, java.lang.String className, java.lang.String classPackage, Method[] methods, ConstantPool constantPool, java.nio.charset.Charset charset)MethodHTML(java.lang.String dir, java.lang.String className, Method[] methods, Field[] fields, ConstantHTML constantHtml, AttributeHTML attributeHtml, java.nio.charset.Charset charset) -
Uses of Method in org.apache.bcel.verifier.statics
Methods in org.apache.bcel.verifier.statics that return Method Modifier and Type Method Description private MethodPass3aVerifier.InstOperandConstraintVisitor. getMethod(JavaClass jc, InvokeInstruction invoke)Looks for the method referenced by the given invoke instruction in the given class.private MethodPass3aVerifier.InstOperandConstraintVisitor. getMethodRecursive(JavaClass jc, InvokeInstruction invoke)Looks for the method referenced by the given invoke instruction in the given class or its super classes and super interfaces.Methods in org.apache.bcel.verifier.statics with parameters of type Method Modifier and Type Method Description voidPass2Verifier.CPESSC_Visitor. visitMethod(Method obj)voidStringRepresentation. visitMethod(Method obj)
-