public class Verifier extends Object
VerifierFactory
,
PassVerifier
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 methodNo)
Returns the VerificationResult for the given pass.
|
VerificationResult |
doPass3b(int methodNo)
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.
|
public static void main(String[] args)
public VerificationResult doPass1()
public VerificationResult doPass2()
public VerificationResult doPass3a(int methodNo)
methodNo
- The method to verifypublic VerificationResult doPass3b(int methodNo)
methodNo
- The method to verifypublic void flush()
public final String getClassName()
VerifierFactory
public String[] getMessages() throws ClassNotFoundException
ClassNotFoundException
- if this class can't be found.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.