Verifier, verify()
| Modifier and Type | Field and Description |
|---|---|
| private final List | messages
The (warning) messages. |
| private VerificationResult | verificationResult
The VerificationResult cache. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMessage(final String
message to be appended to the message list. message)This method adds a (warning) message to the message pool of this PassVerifier. |
| public abstract VerificationResult | |
| public String[] | Returns: the (warning) messages.Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work. |
| public List | getMessagesList()
Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work. |
| public VerificationResult | Returns: a VerificationResult.This method runs a verification pass conforming to the Java Virtual Machine Specification, 2nd edition, on a class file. |
| messages | back to summary |
|---|---|
| private final List<String> messages The (warning) messages. | |
| verificationResult | back to summary |
|---|---|
| private VerificationResult verificationResult The VerificationResult cache. | |
| PassVerifier | back to summary |
|---|---|
| public PassVerifier() | |
| addMessage | back to summary |
|---|---|
| public void addMessage(final String message) This method adds a (warning) message to the message pool of this PassVerifier. This method is normally only internally used by BCEL's class file verifier "JustIce" and should not be used from the outside.
| |
| do_verify | back to summary |
|---|---|
| public abstract VerificationResult do_verify() Verifies, not cached.
| |
| getMessages | back to summary |
|---|---|
| public String[] getMessages() Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work.
| |
| getMessagesList | back to summary |
|---|---|
| public List Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work.
| |
| verify | back to summary |
|---|---|
| public VerificationResult verify() This method runs a verification pass conforming to the Java Virtual Machine Specification, 2nd edition, on a class file. PassVerifier instances perform caching; i.e. if the verify() method once determined a VerificationResult, then this result may be returned after every invocation of this method instead of running the verification pass anew; likewise with the result of getMessages().
| |