Uses of Class
javassist.bytecode.analysis.Type
Packages that use Type
-
Uses of Type in javassist.bytecode.analysis
Subclasses of Type in javassist.bytecode.analysisModifier and TypeClassDescriptionclass
Represents an array ofMultiType
instances.class
MultiType represents an unresolved type.Fields in javassist.bytecode.analysis declared as TypeModifier and TypeFieldDescriptionstatic final Type
Type.BOGUS
Represents a non-accessible value.static final Type
Type.BOOLEAN
Represents the boolean primitive typestatic final Type
Type.BYTE
Represents the byte primitive typestatic final Type
Type.CHAR
Represents the char primitive typeprivate final Type
Executor.CLASS_TYPE
static final Type
Type.CLONEABLE
Represents the java.lang.Coneable reference typestatic final Type
Type.DOUBLE
Represents the double primitive typestatic final Type
Type.FLOAT
Represents the float primitive typestatic final Type
Type.INTEGER
Represents the integer primitive typeprivate Type[]
Frame.locals
static final Type
Type.LONG
Represents the long primitive typestatic final Type
Type.OBJECT
Represents the java.lang.Object reference typeprivate Type
MultiType.potentialClass
private Type
MultiType.resolved
static final 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 final Type
Type.SERIALIZABLE
Represents the java.io.Serializable reference typestatic final Type
Type.SHORT
Represents the short primitive typeprivate Type[]
Frame.stack
private final Type
Executor.STRING_TYPE
static final Type
Type.THROWABLE
Represents the java.lang.Throwable reference typeprivate final Type
Executor.THROWABLE_TYPE
static final Type
Type.TOP
A placeholder used by the analyzer for the second word position of a double-word typeprivate Type
Analyzer.ExceptionInfo.type
static final Type
Type.UNINIT
Represents an unknown, or null type.static final Type
Type.VOID
Represents the void primitive typeFields in javassist.bytecode.analysis with type parameters of type TypeMethods in javassist.bytecode.analysis that return TypeModifier and TypeMethodDescriptionprivate Type
Type.createArray
(Type rootComponent, int dims) static Type
Obtain the Type for a given class.MultiArrayType.getComponent()
MultiType.getComponent()
Always returns null since this type is never used for an array.Type.getComponent()
Returns the array component if this type is an array.Frame.getLocal
(int index) Returns the local varaible table entry at index.(package private) Type
Type.getRootComponent
(Type type) Frame.getStack
(int index) Returns the type on the stack at the specified index.private Type
private static Type
Type.lookupType
(String name) Finds the common base type, or interface which both this and the specified type can be assigned.private Type
Type.mergeArray
(Type type) private Type
Type.mergeClasses
(Type type) private Type[]
Executor.paramTypesFromDesc
(String desc) Frame.peek()
Gets the top of the stack without altering itFrame.pop()
Alters the stack to contain one less element and return it.private Type
Executor.resolveClassInfo
(String info) private Type
Executor.returnTypeFromDesc
(String desc) private Type
Executor.simplePeek
(Frame frame) private Type
private Type
Executor.typeFromDesc
(String desc) private Type
Analyzer.zeroExtend
(Type type) private Type
Executor.zeroExtend
(Type type) Methods in javassist.bytecode.analysis with parameters of type TypeModifier and TypeMethodDescriptionprivate 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
private void
Executor.evalStore
(Type expected, int index, Frame frame, Subroutine subroutine) Type.findCommonInterfaces
(Type type) Type.findExclusiveDeclaredInterfaces
(Type type, CtClass exclude) private ClassPool
Type.getClassPool
(Type rootComponent) (package private) Type
Type.getRootComponent
(Type type) 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) Finds the common base type, or interface which both this and the specified type can be assigned.private Type
Type.mergeArray
(Type type) private Type
Type.mergeClasses
(Type type) MultiType.mergeMultiAndSingle
(MultiType multi, Type single) void
Alters the stack by placing the passed type on the topvoid
Sets the local variable table entry at index to a type.void
Sets the type of the stack positionprivate 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
Analyzer.zeroExtend
(Type type) private Type
Executor.zeroExtend
(Type type) Constructors in javassist.bytecode.analysis with parameters of type Type