org.objectweb.asm.tree.analysis
public class SimpleVerifier extends BasicVerifier
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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) |
Value | newValue(Type type) |
void | setClassLoader(ClassLoader loader)
Set the ClassLoader which will be used to load referenced
classes. |
Parameters: 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.
Parameters: 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.
ClassLoader
which will be used to load referenced
classes. This is useful if you are verifying multiple interdependent
classes.
Parameters: loader a ClassLoader
to use