A B C D E F G I J L O P R S T 

A

addLineNumbers(MethodGen, InstructionList) - Static method in class org.plumelib.bcelutil.BcelUtil
Builds an array of line numbers for the specified instruction list.
addToStart(MethodGen, InstructionList) - Static method in class org.plumelib.bcelutil.BcelUtil
Adds code in nl to start of method mg.
addType(Type[], Type) - Static method in class org.plumelib.bcelutil.BcelUtil
arglistFromJvm(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert an argument list from JVML format to Java format.
arglistToJvm(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert a fully-qualified argument list from Java format to JVML format.

B

BcelUtil - Class in org.plumelib.bcelutil
Static utility methods for working with BCEL.
binaryNameToClassGetName(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert from a BinaryName to the format of Class.getName().
binaryNameToFieldDescriptor(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert a binary name to a field descriptor.

C

checkMgen(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Checks the specific method for consistency.
checkMgens(ClassGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Checks all of the methods in gen for consistency.
classForName(String) - Static method in class org.plumelib.bcelutil.BcelUtil
Like Class.forName(String), but also works when the string represents a primitive type or a fully-qualified name (as opposed to a binary name).
classnameToType(String) - Static method in class org.plumelib.bcelutil.BcelUtil
Return the type corresponding to a given fully-qualified class name.

D

dump(JavaClass, String) - Static method in class org.plumelib.bcelutil.BcelUtil
Dumps the contents of the specified class to the specified directory.
dump(JavaClass, File) - Static method in class org.plumelib.bcelutil.BcelUtil
Dumps the contents of the specified class to the specified directory.

E

emptyMethod(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Empties the method of all code (except for a return).

F

fieldDescriptorToBinaryName(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert a field descriptor to a binary name.
fieldDescriptorToClassGetName(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert from a FieldDescriptor to the format of Class.getName().

G

getAttributeName(Attribute) - Static method in class org.plumelib.bcelutil.BcelUtil
Return the attribute name for the specified attribute.
getAttributeName(Attribute, ConstantPoolGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Return the attribute name for the specified attribute.
getConstantStr(ConstantPool, int) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns the constant string at the specified offset.
getMethodDeclaration(Method) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns a string describing a method declaration.

I

inJdk(ClassGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the class is part of the JDK (rt.jar).
inJdk(String) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the class is part of the JDK (rt.jar).
inJdkInternalform(String) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the class is part of the JDK (rt.jar).
insertType(Type, Type[]) - Static method in class org.plumelib.bcelutil.BcelUtil
instructionDescr(InstructionList, ConstantPoolGen) - Static method in class org.plumelib.bcelutil.BcelUtil
 
isClinit(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the method is a class initializer.
isClinit(Method) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the method is a class initializer.
isConstructor(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the method is a constructor.
isConstructor(Method) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the method is a constructor.
isLocalVariableTypeTable(Attribute, ConstantPoolGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not the specified attribute is a local variable type table.
isMain(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns whether or not this is a standard main method (static, name is 'main', and one argument of string array).

J

JvmUtil - Class in org.plumelib.bcelutil
Utility functions for working with the JVM.
JvmUtil() - Constructor for class org.plumelib.bcelutil.JvmUtil
 

L

localVarDescr(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Return a description of the local variables (one per line).

O

org.plumelib.bcelutil - package org.plumelib.bcelutil
 

P

postpendToArray(Type[], Type) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns a copy of the given type array, with newType added to the end.
prependToArray(Type, Type[]) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns a copy of the given type array, with newType inserted at the beginning.
primitiveTypeNameToFieldDescriptor(String) - Static method in class org.plumelib.bcelutil.JvmUtil
Convert a primitive java type name (e.g., "int", "double", etc.) to a field descriptor (e.g., "I", "D", etc.).

R

removeLocalVariableTypeTables(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Remove the local variable type table attribute (LVTT) from mg.

S

setupInitLocals(MethodGen) - Static method in class org.plumelib.bcelutil.BcelUtil
Sets the locals to 'this' and each of the arguments.
skipChecks - Static variable in class org.plumelib.bcelutil.BcelUtil
Controls whether the checks in checkMgen are actually performed.

T

typeToClass(Type) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns the class that corresponds to type.
typeToClassgetname(Type) - Static method in class org.plumelib.bcelutil.BcelUtil
Returns the Java class name, in the format of Class.getName(), that corresponds to type.
A B C D E F G I J L O P R S T