Package org.jboss.classfilewriter.code
Class CodeLocation
- java.lang.Object
-
- org.jboss.classfilewriter.code.CodeLocation
-
public class CodeLocation extends java.lang.ObjectRepresents a location in the bytecode.
-
-
Field Summary
Fields Modifier and Type Field Description private intlocationThe absolution location in the bytecode stream.private StackFramestackFrameThe stack frame at the given bytecode location
-
Constructor Summary
Constructors Constructor Description CodeLocation(int location, StackFrame stackFrame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intgetLocation()(package private) StackFramegetStackFrame()
-
-
-
Field Detail
-
location
private final int location
The absolution location in the bytecode stream. This will always point to a valid jump location
-
stackFrame
private final StackFrame stackFrame
The stack frame at the given bytecode location
-
-
Constructor Detail
-
CodeLocation
CodeLocation(int location, StackFrame stackFrame)
-
-
Method Detail
-
getLocation
int getLocation()
-
getStackFrame
StackFrame getStackFrame()
-
-