public class ObjectType extends VerificationType
| Modifier and Type | Field and Description |
|---|---|
int |
u2classIndex |
DOUBLE_TYPE, FLOAT_TYPE, INTEGER_TYPE, LONG_TYPE, NULL_TYPE, OBJECT_TYPE, TOP_TYPE, UNINITIALIZED_THIS_TYPE, UNINITIALIZED_TYPE, visitorInfo| Constructor and Description |
|---|
ObjectType()
Creates an uninitialized ObjectType.
|
ObjectType(int u2classIndex)
Creates an ObjectType that points to the given class constant.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int instructionOffset,
VerificationTypeVisitor verificationTypeVisitor)
Accepts the given visitor in the context of a method's code, either on
a stack or as a variable.
|
boolean |
equals(Object object) |
int |
getTag()
Returns the tag of the verification type.
|
int |
hashCode() |
void |
stackAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int instructionOffset,
int stackIndex,
VerificationTypeVisitor verificationTypeVisitor)
Accepts the given visitor in the context of a stack in a method's code .
|
String |
toString() |
void |
variablesAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int instructionOffset,
int variableIndex,
VerificationTypeVisitor verificationTypeVisitor)
Accepts the given visitor in the context of a variable in a method's code.
|
getVisitorInfo, setVisitorInfopublic ObjectType()
public ObjectType(int u2classIndex)
public int getTag()
VerificationTypegetTag in class VerificationTypepublic void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
VerificationTypeaccept in class VerificationTypepublic void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
VerificationTypestackAccept in class VerificationTypepublic void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor)
VerificationTypevariablesAccept in class VerificationTypepublic boolean equals(Object object)
equals in class VerificationTypepublic int hashCode()
hashCode in class VerificationTypeCopyright © 2015. All Rights Reserved.