Package | Description |
---|---|
javassist.bytecode.analysis |
Bytecode Analysis API.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MultiArrayType |
Represents an array of
MultiType instances. |
class |
MultiType |
MultiType represents an unresolved type.
|
Modifier and Type | Field | 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
|
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
|
static Type |
Type.LONG |
Represents the long primitive type
|
static Type |
Type.OBJECT |
Represents the java.lang.Object reference type
|
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
|
static Type |
Type.THROWABLE |
Represents the java.lang.Throwable reference type
|
static Type |
Type.TOP |
A placeholder used by the analyzer for the second word position of a double-word type
|
static Type |
Type.UNINIT |
Represents an unknown, or null type.
|
static Type |
Type.VOID |
Represents the void primitive type
|
Modifier and Type | Method | Description |
---|---|---|
static Type |
Type.get(CtClass clazz) |
Obtain the Type for a given class.
|
Type |
MultiArrayType.getComponent() |
|
Type |
MultiType.getComponent() |
Always returns null since this type is never used for an array.
|
Type |
Type.getComponent() |
Returns the array component if this type is an array.
|
Type |
Frame.getLocal(int index) |
Returns the local varaible table entry at index.
|
Type |
Frame.getStack(int index) |
Returns the type on the stack at the specified index.
|
Type |
MultiType.merge(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 |
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.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
MultiArrayType.isAssignableFrom(Type type) |
|
boolean |
MultiType.isAssignableFrom(Type type) |
|
boolean |
Type.isAssignableFrom(Type type) |
Determines whether this type is assignable, to the passed type.
|
boolean |
MultiArrayType.isAssignableTo(Type type) |
|
boolean |
MultiType.isAssignableTo(Type type) |
|
Type |
MultiType.merge(Type type) |
|
Type |
Type.merge(Type type) |
Finds the common base type, or interface which both this and the specified
type can be assigned.
|
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
|
Constructor | Description |
---|---|
MultiType(Map interfaces,
Type potentialClass) |
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.