Package | Description |
---|---|
javassist.bytecode.analysis |
Bytecode Analysis API.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiArrayType
Represents an array of
MultiType instances. |
class |
MultiType
MultiType represents an unresolved type.
|
Modifier and Type | Field and Description |
---|---|
static Type |
Type.BOGUS
Represents a non-accessible value.
|
static Type |
Type.BOOLEAN
Represents the boolean primitive type
|
static Type |
Type.BYTE
Represents the byte primitive type
|
static Type |
Type.CHAR
Represents the char primitive type
|
private Type |
Executor.CLASS_TYPE |
static Type |
Type.CLONEABLE
Represents the java.lang.Coneable reference type
|
static Type |
Type.DOUBLE
Represents the double primitive type
|
static Type |
Type.FLOAT
Represents the float primitive type
|
static Type |
Type.INTEGER
Represents the integer primitive type
|
private Type[] |
Frame.locals |
static Type |
Type.LONG
Represents the long primitive type
|
static Type |
Type.OBJECT
Represents the java.lang.Object reference type
|
private Type |
MultiType.potentialClass |
private Type |
MultiType.resolved |
static Type |
Type.RETURN_ADDRESS
Represents an internal JVM return address, which is used by the RET
instruction to return to a JSR that invoked the subroutine.
|
static Type |
Type.SERIALIZABLE
Represents the java.io.Serializable reference type
|
static Type |
Type.SHORT
Represents the short primitive type
|
private Type[] |
Frame.stack |
private Type |
Executor.STRING_TYPE |
static Type |
Type.THROWABLE
Represents the java.lang.Throwable reference type
|
private Type |
Executor.THROWABLE_TYPE |
static Type |
Type.TOP
A placeholder used by the analyzer for the second word position of a double-word type
|
private Type |
Analyzer.ExceptionInfo.type |
static Type |
Type.UNINIT
Represents an unknown, or null type.
|
static Type |
Type.VOID
Represents the void primitive type
|
Modifier and Type | Method and Description |
---|---|
private Type |
Type.createArray(Type rootComponent,
int dims) |
static Type |
Type.get(CtClass clazz)
Obtain the Type for a given class.
|
Type |
Type.getComponent()
Returns the array component if this type is an array.
|
Type |
MultiArrayType.getComponent() |
Type |
MultiType.getComponent()
Always returns null since this type is never used for an array.
|
Type |
Frame.getLocal(int index)
Returns the local varaible table entry at index.
|
(package private) Type |
Type.getRootComponent(Type type) |
Type |
Frame.getStack(int index)
Returns the type on the stack at the specified index.
|
private Type |
Executor.getType(java.lang.String name) |
private static Type |
Type.lookupType(java.lang.String name) |
Type |
Type.merge(Type type)
Finds the common base type, or interface which both this and the specified
type can be assigned.
|
Type |
MultiType.merge(Type type) |
private Type |
Type.mergeArray(Type type) |
private Type |
Type.mergeClasses(Type type) |
private Type[] |
Executor.paramTypesFromDesc(java.lang.String desc) |
Type |
Frame.peek()
Gets the top of the stack without altering it
|
Type |
Frame.pop()
Alters the stack to contain one less element and return it.
|
private Type |
Executor.resolveClassInfo(java.lang.String info) |
private Type |
Executor.returnTypeFromDesc(java.lang.String desc) |
private Type |
Executor.simplePeek(Frame frame) |
private Type |
Executor.simplePop(Frame frame) |
private Type |
Executor.typeFromDesc(java.lang.String desc) |
private Type |
Executor.zeroExtend(Type type) |
private Type |
Analyzer.zeroExtend(Type type) |
Modifier and Type | Method and Description |
---|---|
private void |
Executor.access(int index,
Type type,
Subroutine subroutine) |
private Type |
Type.createArray(Type rootComponent,
int dims) |
private void |
Executor.evalArrayLoad(Type expectedComponent,
Frame frame) |
private void |
Executor.evalArrayStore(Type expectedComponent,
Frame frame) |
private void |
Executor.evalBinaryMath(Type expected,
Frame frame) |
private void |
Executor.evalLoad(Type expected,
int index,
Frame frame,
Subroutine subroutine) |
private void |
Executor.evalShift(Type expected,
Frame frame) |
private void |
Executor.evalStore(Type expected,
int index,
Frame frame,
Subroutine subroutine) |
private java.util.Map |
Type.findCommonInterfaces(Type type) |
private java.util.Map |
Type.findExclusiveDeclaredInterfaces(Type type,
CtClass exclude) |
private ClassPool |
Type.getClassPool(Type rootComponent) |
(package private) Type |
Type.getRootComponent(Type type) |
boolean |
Type.isAssignableFrom(Type type)
Determines whether this type is assignable, to the passed type.
|
boolean |
MultiArrayType.isAssignableFrom(Type type) |
boolean |
MultiType.isAssignableFrom(Type type) |
boolean |
MultiArrayType.isAssignableTo(Type type) |
boolean |
MultiType.isAssignableTo(Type type) |
Type |
Type.merge(Type type)
Finds the common base type, or interface which both this and the specified
type can be assigned.
|
Type |
MultiType.merge(Type type) |
private Type |
Type.mergeArray(Type type) |
private Type |
Type.mergeClasses(Type type) |
private java.util.Map |
MultiType.mergeMultiAndSingle(MultiType multi,
Type single) |
void |
Frame.push(Type type)
Alters the stack by placing the passed type on the top
|
void |
Frame.setLocal(int index,
Type type)
Sets the local variable table entry at index to a type.
|
void |
Frame.setStack(int index,
Type type)
Sets the type of the stack position
|
private void |
Executor.simplePush(Type type,
Frame frame) |
private void |
Executor.simpleSetLocal(int index,
Type type,
Frame frame) |
private void |
Executor.verifyAssignable(Type expected,
Type type) |
private Type |
Executor.zeroExtend(Type type) |
private Type |
Analyzer.zeroExtend(Type type) |
Constructor and Description |
---|
ExceptionInfo(int start,
int end,
int handler,
Type type) |
MultiType(java.util.Map interfaces,
Type potentialClass) |