|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.objectweb.asm.tree.analysis.BasicInterpreter
org.objectweb.asm.tree.analysis.BasicVerifier
org.objectweb.asm.tree.analysis.SimpleVerifier
public class SimpleVerifier
An extended BasicVerifier that performs more precise verifications.
This verifier computes exact class types, instead of using a single "object
reference" type (as done in the BasicVerifier).
| 字段摘要 |
|---|
| 构造方法摘要 | |
|---|---|
SimpleVerifier()
Constructs a new SimpleVerifier. |
|
SimpleVerifier(Type currentClass,
Type currentSuperClass,
boolean isInterface)
Constructs a new SimpleVerifier to verify a specific class. |
|
SimpleVerifier(Type currentClass,
Type currentSuperClass,
List currentClassInterfaces,
boolean isInterface)
Constructs a new SimpleVerifier to verify a specific class. |
|
| 方法摘要 | |
|---|---|
protected Class |
getClass(Type t)
|
protected Value |
getElementValue(Value objectArrayValue)
|
protected Type |
getSuperClass(Type t)
|
protected boolean |
isArrayValue(Value value)
|
protected boolean |
isAssignableFrom(Type t,
Type u)
|
protected boolean |
isInterface(Type t)
|
protected boolean |
isSubTypeOf(Value value,
Value expected)
|
Value |
merge(Value v,
Value w)
Merges two values. |
Value |
newValue(Type type)
Creates a new value that represents the given type. |
| 从类 org.objectweb.asm.tree.analysis.BasicVerifier 继承的方法 |
|---|
binaryOperation, copyOperation, naryOperation, ternaryOperation, unaryOperation |
| 从类 org.objectweb.asm.tree.analysis.BasicInterpreter 继承的方法 |
|---|
newOperation |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SimpleVerifier()
SimpleVerifier.
public SimpleVerifier(Type currentClass,
Type currentSuperClass,
boolean isInterface)
SimpleVerifier to verify a specific class. This
class will not be loaded into the JVM since it may be incorrect.
currentClass - the class that is verified.currentSuperClass - the super class of the class that is verified.isInterface - if the class that is verified is an interface.
public SimpleVerifier(Type currentClass,
Type currentSuperClass,
List currentClassInterfaces,
boolean isInterface)
SimpleVerifier to verify a specific class. This
class will not be loaded into the JVM since it may be incorrect.
currentClass - the class that is verified.currentSuperClass - the super class of the class that is verified.currentClassInterfaces - the interfaces implemented by the class
that is verified.isInterface - if the class that is verified is an interface.| 方法详细信息 |
|---|
public Value newValue(Type type)
Interpreter 复制的描述this),
exception handler variable and with null type
for variables reserved by long and double types.
Interpreter 中的 newValueBasicInterpreter 中的 newValuetype - a primitive or reference type, or null to
represent an uninitialized value.
protected boolean isArrayValue(Value value)
BasicVerifier 中的 isArrayValue
protected Value getElementValue(Value objectArrayValue)
throws AnalyzerException
BasicVerifier 中的 getElementValueAnalyzerException
protected boolean isSubTypeOf(Value value,
Value expected)
BasicVerifier 中的 isSubTypeOf
public Value merge(Value v,
Value w)
Interpreter 复制的描述
Interpreter 中的 mergeBasicInterpreter 中的 mergev - a value.w - another value.
protected boolean isInterface(Type t)
protected Type getSuperClass(Type t)
protected boolean isAssignableFrom(Type t,
Type u)
protected Class getClass(Type t)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||