|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.bcel.verifier.Verifier
public class Verifier
A Verifier instance is there to verify a class file according to The Java Virtual Machine Specification, 2nd Edition. Pass-3b-verification includes pass-3a-verification; pass-3a-verification includes pass-2-verification; pass-2-verification includes pass-1-verification. A Verifier creates PassVerifier instances to perform the actual verification. Verifier instances are usually generated by the VerifierFactory.
VerifierFactory
,
PassVerifier
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |