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 Source Code Files
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.6.1-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.6.1 in \Users\fyicenter\bcel-6.6.1\src:
✍: FYIcenter
⏎ org/apache/bcel/verifier/PassVerifier.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; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.ArrayUtils; /** * A PassVerifier actually verifies a class file; it is instantiated by a Verifier. The verification should conform with * a certain pass as described in The Java Virtual Machine Specification, 2nd edition. This book describes four passes. * Pass one means loading the class and verifying a few static constraints. Pass two actually verifies some other * constraints that could enforce loading in referenced class files. Pass three is the first pass that actually checks * constraints in the code array of a method in the class file; it has two parts with the first verifying static * constraints and the second part verifying structural constraints (where a data flow analysis is used for). The fourth * pass, finally, performs checks that can only be done at run-time. JustIce does not have a run-time pass, but certain * constraints that are usually delayed until run-time for performance reasons are also checked during the second part * of pass three. PassVerifier instances perform caching. That means, if you really want a new verification run of a * certain pass you must use a new instance of a given PassVerifier. * * @see Verifier * @see #verify() */ public abstract class PassVerifier { /** The (warning) messages. */ private final List<String> messages = new ArrayList<>(); /** The VerificationResult cache. */ private VerificationResult verificationResult; /** * 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. * * @param message message to be appended to the message list. * @see #getMessages() */ public void addMessage(final String message) { messages.add(message); } /** * Verifies, not cached. * * @return The VerificationResult */ public abstract VerificationResult do_verify(); /** * Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work. * * @return the (warning) messages. * @see #addMessage(String) * @see #do_verify() */ public String[] getMessages() { return getMessagesList().toArray(ArrayUtils.EMPTY_STRING_ARRAY); } /** * Returns the (warning) messages that this PassVerifier accumulated during its do_verify()ing work. * * @see #addMessage(String) * @see #do_verify() */ public List<String> getMessagesList() { verify(); // create messages if not already done (cached!) return messages; } /** * 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(). * * @return a VerificationResult. * @see #getMessages() * @see #addMessage(String) */ public VerificationResult verify() { if (verificationResult == null) { verificationResult = do_verify(); } return verificationResult; } }
⏎ org/apache/bcel/verifier/PassVerifier.java
Or download all of them as a single archive file:
File name: bcel-6.6.1-sources.jar File size: 688374 bytes Release date: 2022-09-18 Download
⇒ Install Apache BCEL 6.5.0 Binary Package
⇐ Download and Install Apache BCEL Source Package
2021-08-21, 71708👍, 0💬
Popular Posts:
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
Apache Log4j Core Implementation provides the functional components of the logging system. Users are...
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...