- gen_locals(MethodGen, int) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Find the live range of the compiler temp(s) and/or user declared local(s) at the given offset
and create a LocalVariableGen for each.
- gen_locals_from_byte_codes(MethodGen, int) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Calculate the live range of a local variable (or variables).
- gen_locals_from_byte_codes(MethodGen, int, InstructionHandle) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Calculate the live range of a local variable starting from the given InstructionHandle.
- generate_StackMapType_from_Type(Type) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Convert a Type to a StackMapType.
- generate_Type_from_StackMapType(StackMapType) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Convert a StackMapType to a Type.
- get(int) - Method in class org.plumelib.bcelutil.StackTypes
-
Returns the stack contents at the specified offset.
- get_attribute_name(Attribute) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Return the attribute name for the specified attribute.
- get_local_variable_type_table_attribute(MethodGen) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Find the LocalVariableTypeTable attribute for a method.
- get_stack_map_table_attribute(MethodGen) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Find the StackMapTable attribute for a method.
- getConstantString(ConstantPool, int) - Static method in class org.plumelib.bcelutil.BcelUtil
-
Returns the constant string at the specified offset.
- getIndentString() - Method in class org.plumelib.bcelutil.SimpleLog
-
Return the current indentation string.
- getJavaVersion() - Static method in class org.plumelib.bcelutil.BcelUtil
-
Extract the major version number from the "java.version" system property.
- getSize(StackMapType) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Return the operand size of this type (2 for long and double, 1 otherwise).
- indent() - Method in class org.plumelib.bcelutil.SimpleLog
-
Increases indentation by one level.
- INDENT_STR_ONE_LEVEL - Variable in class org.plumelib.bcelutil.SimpleLog
-
Indentation string for one level of indentation.
- indentLevel - Variable in class org.plumelib.bcelutil.SimpleLog
-
The current indentation level.
- indentString - Variable in class org.plumelib.bcelutil.SimpleLog
-
Cache for the current indentation string, or null if needs to be recomputed.
- indentStrings - Variable in class org.plumelib.bcelutil.SimpleLog
-
Cache of indentation strings that have been computed so far.
- initial_locals_count - Variable in class org.plumelib.bcelutil.StackMapUtils
-
The number of local variables in the current method prior to any modifications.
- initial_type_list - Variable in class org.plumelib.bcelutil.StackMapUtils
-
Initial state of StackMapTypes for locals on method entry.
- 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).
- insert_at_method_start(MethodGen, InstructionList) - Method in class org.plumelib.bcelutil.InstructionListUtils
-
Inserts an instruction list at the beginning of a method.
- insert_before_handle(MethodGen, InstructionHandle, InstructionList, boolean) - Method in class org.plumelib.bcelutil.InstructionListUtils
-
Inserts a new instruction list into an existing instruction list just prior to the indicated
instruction handle (which must be a member of the existing instruction list).
- instructionListToString(InstructionList, ConstantPoolGen) - Static method in class org.plumelib.bcelutil.BcelUtil
-
Return a printed description of the given instructions.
- InstructionListUtils - Class in org.plumelib.bcelutil
-
This class provides utility methods to maintain and modify a method's InstructionList within a
Java class file.
- InstructionListUtils() - Constructor for class org.plumelib.bcelutil.InstructionListUtils
-
- is_local_variable_type_table(Attribute) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Returns whether or not the specified attribute is a LocalVariableTypeTable.
- is_stack_map_table(Attribute) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Returns whether or not the specified attribute is a StackMapTable.
- 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, void, name is 'main', and one
formal parameter: a string array).
- set(int, Frame) - Method in class org.plumelib.bcelutil.StackTypes
-
Sets the stack for the instruction at the specified offset to a copy of the information in the
given frame.
- set_current_stack_map_table(MethodGen, int) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Get existing StackMapTable from the MethodGen argument.
- set_method_stack_types(MethodGen) - Method in class org.plumelib.bcelutil.StackMapUtils
-
Calculates the stack types for each byte code offset of the current method, and stores them in
variable
StackMapUtils.stack_types.
- setConstantPoolGen(ConstantPoolGen) - Method in class org.plumelib.bcelutil.NoConstraintsVisitor
-
- setFrame(Frame) - Method in class org.plumelib.bcelutil.NoConstraintsVisitor
-
- setLogfile() - Method in class org.plumelib.bcelutil.SimpleLog
-
Set the private field logfile, based on the private field filename.
- setMethodGen(MethodGen) - Method in class org.plumelib.bcelutil.NoConstraintsVisitor
-
- SimpleLog - Class in org.plumelib.bcelutil
-
A logging class with the following features:
Can be enabled and disabled (when disabled, all operations are no-ops),
Can indent/exdent log output,
Writes to a file or to standard output, and
Can provide a stack trace.
- SimpleLog() - Constructor for class org.plumelib.bcelutil.SimpleLog
-
Create a new SimpleLog object with logging to standard out enabled.
- SimpleLog(boolean) - Constructor for class org.plumelib.bcelutil.SimpleLog
-
Create a new SimpleLog object with logging to standard out.
- SimpleLog(String) - Constructor for class org.plumelib.bcelutil.SimpleLog
-
Create a new SimpleLog object with logging to a file enabled.
- SimpleLog(String, boolean) - Constructor for class org.plumelib.bcelutil.SimpleLog
-
Create a new SimpleLog object with logging to a file.
- skipChecks - Static variable in class org.plumelib.bcelutil.BcelUtil
-
- smta - Variable in class org.plumelib.bcelutil.StackMapUtils
-
Original stack map table attribute; set by set_current_stack_map_table.
- stack_map_table - Variable in class org.plumelib.bcelutil.StackMapUtils
-
Working copy of StackMapTable; set by set_current_stack_map_table.
- stack_types - Variable in class org.plumelib.bcelutil.StackMapUtils
-
The types of elements on the operand stack for current method.
- StackMapUtils - Class in org.plumelib.bcelutil
-
This class provides utility methods to maintain and modify a method's StackMapTable within a Java
class file.
- StackMapUtils() - Constructor for class org.plumelib.bcelutil.StackMapUtils
-
- StackTypes - Class in org.plumelib.bcelutil
-
Stores the types on the stack at each instruction (identified by byte code offset) in a method.
- StackTypes(MethodGen) - Constructor for class org.plumelib.bcelutil.StackTypes
-
Create a record of the types on the stack at each instruction in a method.
- stringArray - Static variable in class org.plumelib.bcelutil.BcelUtil
-
The type that represents String[].