Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Apache BCEL 6.5.0 Source Code Files
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip. Unzip the source package file and go to the "src/main" sub-directory, you will see source code files.
Here is the list of Java source code files of the Apache BCEL 6.5.0 in \Users\fyicenter\bcel-6.5.0\src:
✍: FYIcenter.com
⏎ org/apache/bcel/verifier/VerificationResult.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package org.apache.bcel.verifier; /** * A VerificationResult is what a PassVerifier returns * after verifying. * */ public class VerificationResult { /** * Constant to indicate verification has not been tried yet. * This happens if some earlier verification pass did not return VERIFIED_OK. */ public static final int VERIFIED_NOTYET = 0; /** Constant to indicate verification was passed. */ public static final int VERIFIED_OK = 1; /** Constant to indicate verfication failed. */ public static final int VERIFIED_REJECTED = 2; /** * This string is the canonical message for verifications that have not been tried yet. * This happens if some earlier verification pass did not return {@link #VERIFIED_OK}. */ private static final String VERIFIED_NOTYET_MSG = "Not yet verified."; /** This string is the canonical message for passed verification passes. */ private static final String VERIFIED_OK_MSG = "Passed verification."; /** * Canonical VerificationResult for not-yet-tried verifications. * This happens if some earlier verification pass did not return {@link #VERIFIED_OK}. */ public static final VerificationResult VR_NOTYET = new VerificationResult(VERIFIED_NOTYET, VERIFIED_NOTYET_MSG); /** Canonical VerificationResult for passed verifications. */ public static final VerificationResult VR_OK = new VerificationResult(VERIFIED_OK, VERIFIED_OK_MSG); /** The numeric status. */ private final int numeric; /** The detailed message. */ private final String detailMessage; /** The usual constructor. */ public VerificationResult(final int status, final String message) { numeric = status; detailMessage = message; } /** * Returns one of the {@link #VERIFIED_OK}, {@link #VERIFIED_NOTYET}, * {@link #VERIFIED_REJECTED} constants. */ public int getStatus() { return numeric; } /** Returns a detailed message. */ public String getMessage() { return detailMessage; } /** * @return a hash code value for the object. */ @Override public int hashCode() { return numeric ^ detailMessage.hashCode(); } /** * Returns if two VerificationResult instances are equal. */ @Override public boolean equals( final Object o ) { if (!(o instanceof VerificationResult)) { return false; } final VerificationResult other = (VerificationResult) o; return (other.numeric == this.numeric) && other.detailMessage.equals(this.detailMessage); } /** * Returns a String representation of the VerificationResult. */ @Override public String toString() { String ret = ""; if (numeric == VERIFIED_NOTYET) { ret = "VERIFIED_NOTYET"; } if (numeric == VERIFIED_OK) { ret = "VERIFIED_OK"; } if (numeric == VERIFIED_REJECTED) { ret = "VERIFIED_REJECTED"; } ret += "\n" + detailMessage + "\n"; return ret; } }
⏎ org/apache/bcel/verifier/VerificationResult.java
Or download all of them as a single archive file:
File name: bcel-6.5.0-fyi.zip File size: 706792 bytes Release date: 2020-07-03 Download
⇐ Install Apache BCEL 6.5.0 Binary Package
2023-04-03, 28775👍, 5💬
Popular Posts:
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
JAX-RPC is an API for building Web services and clients that used remote procedure calls (RPC) and X...