org.apache.bcel.verifier
public class Verifier extends Object
VerifierFactory
,
PassVerifier
Modifier and Type | Field and Description |
---|---|
private 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 Map |
p3avs
The Pass3aVerifiers for this Verifier instance.
|
private Map |
p3bvs
The Pass3bVerifiers for this Verifier instance.
|
Constructor and Description |
---|
Verifier(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.
|
String |
getClassName()
Returns the name of the class this verifier operates on.
|
String[] |
getMessages()
This returns all the (warning) messages collected during verification.
|
static void |
main(String[] args)
Verifies class files.
|
private final String classname
private Pass1Verifier p1v
private Pass2Verifier p2v
private Map p3avs
private Map p3bvs
Verifier(String fully_qualified_classname)
VerifierFactory
public VerificationResult doPass1()
public VerificationResult doPass2()
public VerificationResult doPass3a(int method_no)
public VerificationResult doPass3b(int method_no)
public final String getClassName()
VerifierFactory
public void flush()
public String[] getMessages() throws ClassNotFoundException
ClassNotFoundException
public static void main(String[] args)