Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute |
Modifier and Type | Class and Description |
---|---|
class |
ExceptionHandler<L extends Location>
This class corresponds to the exception_table structure as defined in The
Java Virtual Machine Specification.
|
interface |
LocationRange<L extends Location> |
Modifier and Type | Interface and Description |
---|---|
interface |
Label
A label is used to manipulate a branch instruction's branch location.
|
Modifier and Type | Class and Description |
---|---|
class |
FixedLocation
Implementation of a Location with a fixed, constant address.
|
Modifier and Type | Method and Description |
---|---|
Location |
LocationRangeImpl.getEndLocation() |
Location |
LocationRangeImpl.getStartLocation() |
Modifier and Type | Method and Description |
---|---|
void |
NullCodeAssembler.branch(Location location) |
void |
DelegatedCodeAssembler.branch(Location location) |
void |
CodeBuilder.branch(Location location) |
void |
CodeAssemblerPrinter.branch(Location location) |
void |
CodeAssembler.branch(Location location)
Generates code that performs an unconditional branch to the specified
location.
|
int |
FixedLocation.compareTo(Location other) |
void |
CodeDisassembler.disassemble(CodeAssembler assembler,
LocalVariable[] params,
Location returnLocation)
Disassemble the MethodInfo into the given assembler.
|
void |
NullCodeAssembler.exceptionHandler(Location startLocation,
Location endLocation,
String catchClassName) |
void |
DelegatedCodeAssembler.exceptionHandler(Location startLocation,
Location endLocation,
String catchClassName) |
void |
CodeBuilder.exceptionHandler(Location startLocation,
Location endLocation,
String catchClassName) |
void |
CodeAssemblerPrinter.exceptionHandler(Location startLocation,
Location endLocation,
String catchClassName) |
void |
CodeAssembler.exceptionHandler(Location startLocation,
Location endLocation,
String catchClassName)
Sets up an exception handler located here, the location of the next
code to be generated.
|
void |
NullCodeAssembler.ifComparisonBranch(Location location,
String choice) |
void |
DelegatedCodeAssembler.ifComparisonBranch(Location location,
String choice) |
void |
CodeBuilder.ifComparisonBranch(Location location,
String choice) |
void |
CodeAssemblerPrinter.ifComparisonBranch(Location location,
String choice) |
void |
CodeAssembler.ifComparisonBranch(Location location,
String choice)
Generates code the performs a conditional branch based on a comparison
between two int values on the stack.
|
void |
DelegatedCodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type) |
void |
CodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type)
Generates code the performs a conditional branch based on a comparison
between two values of the given type on the stack.
|
void |
AbstractCodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type) |
void |
NullCodeAssembler.ifEqualBranch(Location location,
boolean choice) |
void |
DelegatedCodeAssembler.ifEqualBranch(Location location,
boolean choice) |
void |
CodeBuilder.ifEqualBranch(Location location,
boolean choice) |
void |
CodeAssemblerPrinter.ifEqualBranch(Location location,
boolean choice) |
void |
CodeAssembler.ifEqualBranch(Location location,
boolean choice)
Generates code that performs a conditional branch based on the value of
two object references on the stack.
|
void |
NullCodeAssembler.ifNullBranch(Location location,
boolean choice) |
void |
DelegatedCodeAssembler.ifNullBranch(Location location,
boolean choice) |
void |
CodeBuilder.ifNullBranch(Location location,
boolean choice) |
void |
CodeAssemblerPrinter.ifNullBranch(Location location,
boolean choice) |
void |
CodeAssembler.ifNullBranch(Location location,
boolean choice)
Generates code that performs a conditional branch based on the
value of an object on the stack.
|
void |
NullCodeAssembler.ifZeroComparisonBranch(Location location,
String choice) |
void |
DelegatedCodeAssembler.ifZeroComparisonBranch(Location location,
String choice) |
void |
CodeBuilder.ifZeroComparisonBranch(Location location,
String choice) |
void |
CodeAssemblerPrinter.ifZeroComparisonBranch(Location location,
String choice) |
void |
CodeAssembler.ifZeroComparisonBranch(Location location,
String choice)
Generates code the performs a conditional branch based on a comparison
between an int value on the stack and zero.
|
void |
NullCodeAssembler.jsr(Location location) |
void |
DelegatedCodeAssembler.jsr(Location location) |
void |
CodeBuilder.jsr(Location location) |
void |
CodeAssemblerPrinter.jsr(Location location) |
void |
CodeAssembler.jsr(Location location)
Generates code that performs a subroutine branch to the specified
location.
|
void |
NullCodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
NullCodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
DelegatedCodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
DelegatedCodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
CodeBuilder.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
CodeBuilder.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
CodeAssemblerPrinter.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
CodeAssemblerPrinter.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation) |
void |
CodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation)
Generates code for a switch statement.
|
void |
CodeAssembler.switchBranch(int[] cases,
Location[] locations,
Location defaultLocation)
Generates code for a switch statement.
|
Constructor and Description |
---|
LocationRangeImpl(Location a,
Location b) |
Modifier and Type | Method and Description |
---|---|
void |
LineNumberTableAttr.addEntry(Location start,
int line_number) |
int |
LineNumberTableAttr.getLineNumber(Location start) |
int |
CodeAttr.getLineNumber(Location start)
Returns the line number in the source code from the given bytecode
address (start_pc).
|
LocalVariable |
LocalVariableTableAttr.getLocalVariable(Location useLocation,
int number) |
LocalVariable |
CodeAttr.getLocalVariable(Location useLocation,
int number)
Returns local variable info at the given location, for the given number.
|
void |
CodeAttr.mapLineNumber(Location start,
int line_number)
Map a bytecode address (start_pc) to a line number in the source code
as a debugging aid.
|
Copyright © 2004-2015 Cojen. All Rights Reserved.