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/classfile/AccessFlags.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.classfile; import org.apache.bcel.Const; /** * Super class for all objects that have modifiers like private, final, ... I.e. classes, fields, and methods. */ public abstract class AccessFlags { /** * @deprecated (since 6.0) will be made private; do not access directly, use getter/setter */ @java.lang.Deprecated protected int access_flags; // TODO not used externally at present public AccessFlags() { } /** * @param a initial access flags */ public AccessFlags(final int a) { access_flags = a; } /** * @return Access flags of the object aka. "modifiers". */ public final int getAccessFlags() { return access_flags; } /** * @return Access flags of the object aka. "modifiers". */ public final int getModifiers() { return access_flags; } public final boolean isAbstract() { return (access_flags & Const.ACC_ABSTRACT) != 0; } public final void isAbstract(final boolean flag) { setFlag(Const.ACC_ABSTRACT, flag); } public final boolean isAnnotation() { return (access_flags & Const.ACC_ANNOTATION) != 0; } public final void isAnnotation(final boolean flag) { setFlag(Const.ACC_ANNOTATION, flag); } public final boolean isEnum() { return (access_flags & Const.ACC_ENUM) != 0; } public final void isEnum(final boolean flag) { setFlag(Const.ACC_ENUM, flag); } public final boolean isFinal() { return (access_flags & Const.ACC_FINAL) != 0; } public final void isFinal(final boolean flag) { setFlag(Const.ACC_FINAL, flag); } public final boolean isInterface() { return (access_flags & Const.ACC_INTERFACE) != 0; } public final void isInterface(final boolean flag) { setFlag(Const.ACC_INTERFACE, flag); } public final boolean isNative() { return (access_flags & Const.ACC_NATIVE) != 0; } public final void isNative(final boolean flag) { setFlag(Const.ACC_NATIVE, flag); } public final boolean isPrivate() { return (access_flags & Const.ACC_PRIVATE) != 0; } public final void isPrivate(final boolean flag) { setFlag(Const.ACC_PRIVATE, flag); } public final boolean isProtected() { return (access_flags & Const.ACC_PROTECTED) != 0; } public final void isProtected(final boolean flag) { setFlag(Const.ACC_PROTECTED, flag); } public final boolean isPublic() { return (access_flags & Const.ACC_PUBLIC) != 0; } public final void isPublic(final boolean flag) { setFlag(Const.ACC_PUBLIC, flag); } public final boolean isStatic() { return (access_flags & Const.ACC_STATIC) != 0; } public final void isStatic(final boolean flag) { setFlag(Const.ACC_STATIC, flag); } public final boolean isStrictfp() { return (access_flags & Const.ACC_STRICT) != 0; } public final void isStrictfp(final boolean flag) { setFlag(Const.ACC_STRICT, flag); } public final boolean isSynchronized() { return (access_flags & Const.ACC_SYNCHRONIZED) != 0; } public final void isSynchronized(final boolean flag) { setFlag(Const.ACC_SYNCHRONIZED, flag); } public final boolean isSynthetic() { return (access_flags & Const.ACC_SYNTHETIC) != 0; } public final void isSynthetic(final boolean flag) { setFlag(Const.ACC_SYNTHETIC, flag); } public final boolean isTransient() { return (access_flags & Const.ACC_TRANSIENT) != 0; } public final void isTransient(final boolean flag) { setFlag(Const.ACC_TRANSIENT, flag); } public final boolean isVarArgs() { return (access_flags & Const.ACC_VARARGS) != 0; } public final void isVarArgs(final boolean flag) { setFlag(Const.ACC_VARARGS, flag); } public final boolean isVolatile() { return (access_flags & Const.ACC_VOLATILE) != 0; } public final void isVolatile(final boolean flag) { setFlag(Const.ACC_VOLATILE, flag); } /** * Set access flags aka "modifiers". * * @param accessFlags Access flags of the object. */ public final void setAccessFlags(final int accessFlags) { this.access_flags = accessFlags; } private void setFlag(final int flag, final boolean set) { if ((access_flags & flag) != 0) { // Flag is set already if (!set) { access_flags ^= flag; } } else if (set) { access_flags |= flag; } } /** * Set access flags aka "modifiers". * * @param accessFlags Access flags of the object. */ public final void setModifiers(final int accessFlags) { setAccessFlags(accessFlags); } }
⏎ org/apache/bcel/classfile/AccessFlags.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, 65272👍, 0💬
Popular Posts:
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...