public class Verifier
extends java.lang.Object
VerifierFactory,
PassVerifier| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
classname
The name of the class this verifier operates on.
|
private Pass1Verifier |
p1v
A Pass1Verifier for this Verifier instance.
|
private Pass2Verifier |
p2v
A Pass2Verifier for this Verifier instance.
|
private java.util.Map<java.lang.String,Pass3aVerifier> |
p3avs
The Pass3aVerifiers for this Verifier instance.
|
private java.util.Map<java.lang.String,Pass3bVerifier> |
p3bvs
The Pass3bVerifiers for this Verifier instance.
|
| Constructor and Description |
|---|
Verifier(java.lang.String fully_qualified_classname)
Instantiation is done by the VerifierFactory.
|
| Modifier and Type | Method and Description |
|---|---|
VerificationResult |
doPass1()
Returns the VerificationResult for the given pass.
|
VerificationResult |
doPass2()
Returns the VerificationResult for the given pass.
|
VerificationResult |
doPass3a(int method_no)
Returns the VerificationResult for the given pass.
|
VerificationResult |
doPass3b(int method_no)
Returns the VerificationResult for the given pass.
|
void |
flush()
Forget everything known about the class file; that means, really
start a new verification of a possibly different class file from
BCEL's repository.
|
java.lang.String |
getClassName()
Returns the name of the class this verifier operates on.
|
java.lang.String[] |
getMessages()
This returns all the (warning) messages collected during verification.
|
static void |
main(java.lang.String[] args)
Verifies class files.
|
private final java.lang.String classname
private Pass1Verifier p1v
private Pass2Verifier p2v
private final java.util.Map<java.lang.String,Pass3aVerifier> p3avs
private final java.util.Map<java.lang.String,Pass3bVerifier> p3bvs
Verifier(java.lang.String fully_qualified_classname)
VerifierFactorypublic VerificationResult doPass1()
public VerificationResult doPass2()
public VerificationResult doPass3a(int method_no)
public VerificationResult doPass3b(int method_no)
public final java.lang.String getClassName()
VerifierFactorypublic void flush()
public java.lang.String[] getMessages()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic static void main(java.lang.String[] args)