Overview
Package
Class
Tree
Deprecated
Index
Help
TechTrader Bytecode Toolkit
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
_
R
read(Class)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Read the definition of the given class.
read(File)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Read the class definition from the given file.
read(InputStream)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Read the class definition from the given stream.
readAttributes(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
BCEntity
Clears the attribute list and rebuilds it from the given stream.
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
Instruction
Read the arguments for this opcode from the given stream.
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
ClassInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
InnerClass
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
ExceptionHandler
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
JumpInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
ConstantInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
MethodInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
StoreInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
LookupSwitchInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
FieldInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
LocalVariable
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
TableSwitchInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
LineNumber
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
LoadInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
RetInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
BCField
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
IIncInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
WideInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
MultiANewArrayInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.
NewArrayInstruction
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ComplexEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
IntEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
PlaceHolderEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ConstantPool
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
NameAndTypeEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ClassEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
FloatEntry
readData(DataInput)
- Method in interface com.techtrader.modules.tools.bytecode.lowlevel.
Entry
This is called by the ClassRep after reading the entry type.
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
LongEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
StringEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
DoubleEntry
readData(DataInput)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
UTF8Entry
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
Attribute
Should be overridden by subclasses to read their internal data from the given stream, up to length bytes, excluding the name index.
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
SourceFileAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
InnerClassesAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
LocalVariableTableAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
ExceptionsAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
Code
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
LineNumberTableAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
ConstantValueAttribute
readData(DataInput, int)
- Method in class com.techtrader.modules.tools.bytecode.
UnknownAttribute
rehash(Entry, int)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ConstantPool
Rehash the given entry after modification; this allows for quick lookups and guarantees that entries won't be repeated in the pool.
rem()
- Method in class com.techtrader.modules.tools.bytecode.
Code
This is a convenience method to invoke the proper math instruction if the type is not known at compile time.
remove()
- Method in class com.techtrader.modules.tools.bytecode.
Code
Remove the current instruction.
removeAttribute(Attribute)
- Method in class com.techtrader.modules.tools.bytecode.
BCEntity
Remove the given attribute.
removeAttribute(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCEntity
Remove all attributes with the given name from the list.
removeCode()
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
Remove the code from this method; note that this actually removes the Code attribute completely; if you want to make an empty code block use the Code.clear() method.
removeEntry(Entry)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ConstantPool
Remove the given entry from the pool.
removeEntry(int)
- Method in class com.techtrader.modules.tools.bytecode.lowlevel.
ConstantPool
Remove the entry at the given index.
removeExceptionHandler(Class)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Remove all exception handlers that catch the given type.
removeExceptionHandler(ExceptionHandler)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Remove an exception handler from this code block.
removeExceptionHandler(String)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Remove all exception handlers that catch the given type.
removeExceptionType(Class)
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
Remove the given exception type from those that this method declares in its throws clause.
removeExceptionType(Class)
- Method in class com.techtrader.modules.tools.bytecode.
ExceptionsAttribute
Remove an exception thrown by this method.
removeExceptionTypeName(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
Remove the given exception type from those that this method declares in its throws clause.
removeExceptionTypeName(String)
- Method in class com.techtrader.modules.tools.bytecode.
ExceptionsAttribute
Remove an exception thrown by this method.
removeField(BCField)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes a field from this class.
removeField(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes the field with the given name from this class.
removeInnerClass(InnerClass)
- Method in class com.techtrader.modules.tools.bytecode.
InnerClassesAttribute
Remove the given inner class.
removeInnerClass(String)
- Method in class com.techtrader.modules.tools.bytecode.
InnerClassesAttribute
Remove all inner classes with the given name from the list.
removeInterfaceName(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Remove an interface implmented by this class.
removeInterfaceType(Class)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Remove an interface implemented by this class.
removeLineNumber(LineNumber)
- Method in class com.techtrader.modules.tools.bytecode.
LineNumberTableAttribute
Remove the given LineNumber.
removeLocalVariable(LocalVariable)
- Method in class com.techtrader.modules.tools.bytecode.
LocalVariableTableAttribute
Removes a local from this method.
removeLocalVariable(String)
- Method in class com.techtrader.modules.tools.bytecode.
LocalVariableTableAttribute
Removes the local with the given name from this method.
removeMethod(BCMethod)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes a method from this class.
removeMethod(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes the method with the given name from the class.
removeMethod(String, Class[])
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes the method with the given signature.
removeMethod(String, String[])
- Method in class com.techtrader.modules.tools.bytecode.
BCClass
Removes the method with the given signature.
removeParamType(Class)
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
Remove a parameter from this method.
removeParamTypeName(String)
- Method in class com.techtrader.modules.tools.bytecode.
BCMethod
Remove a parameter from this method.
replaceAll(Instruction[], Instruction[])
- Method in class com.techtrader.modules.tools.bytecode.
Code
Equivalent to looping over each given template/replacement pair and calling replaceAll(Instruction, Instruction) for each.
replaceAll(Instruction, Instruction)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Replaces all the Instructions in this code block that match the given template with the given Instruction.
replaceNext(Instruction)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Replaces the next Instruction with the given one.
replacePrevious(Instruction)
- Method in class com.techtrader.modules.tools.bytecode.
Code
Replaces the previous Instruction with the given one.
RET
- Static variable in interface com.techtrader.modules.tools.bytecode.
Constants
ret()
- Method in class com.techtrader.modules.tools.bytecode.
Code
ret()
- Method in class com.techtrader.modules.tools.bytecode.
WideInstruction
Set the type of instruction this wide instruction modifies.
RetInstruction
- class com.techtrader.modules.tools.bytecode.
RetInstruction
.
Represents the RET instruction used in the implementation of finally.
RetInstruction(Code)
- Constructor for class com.techtrader.modules.tools.bytecode.
RetInstruction
RETURN
- Static variable in interface com.techtrader.modules.tools.bytecode.
Constants
returnins()
- Method in class com.techtrader.modules.tools.bytecode.
Code
This is a convenience method to invoke the proper return instruction if the type is not known at compile time.
ReturnInstruction
- class com.techtrader.modules.tools.bytecode.
ReturnInstruction
.
Represents a return instruction.
ReturnInstruction(Code)
- Constructor for class com.techtrader.modules.tools.bytecode.
ReturnInstruction
ReturnInstruction(Code, int, Class)
- Constructor for class com.techtrader.modules.tools.bytecode.
ReturnInstruction
Overview
Package
Class
Tree
Deprecated
Index
Help
TechTrader Bytecode Toolkit
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
_