You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/11 03:50:46 UTC

(commons-bcel) branch master updated (2110eb85 -> 79558970)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


    from 2110eb85 Javadoc
     new 3d47c7d7 Javadoc
     new 8a1f208f Javadoc
     new fe73ee8e Javadoc
     new b7439623 Javadoc
     new 19f90e50 Javadoc
     new 260c6fd3 Javadoc
     new b2efa3a5 Javadoc
     new 230db77e Javadoc
     new 78ec6406 Javadoc
     new 0e5efa76 Javadoc
     new dcb1ba2f Javadoc
     new 7e210598 Javadoc
     new 6433cc13 Javadoc
     new 6579cc9b Javadoc
     new 2a984aa3 Javadoc
     new ecc90ca6 Javadoc
     new 1519e127 Javadoc
     new db6cab21 Javadoc
     new a32cd2a7 Javadoc
     new 0ecd1dd3 Javadoc
     new dc7ce762 Javadoc
     new 544c344e Javadoc
     new bcbcb00c Javadoc
     new ae1b46d1 Javadoc
     new c25a2875 Javadoc
     new 14e24faa Javadoc
     new 33d0033d Javadoc
     new 635ee599 Javadoc
     new 4228d487 Javadoc
     new a61c8fcf Javadoc
     new 5ac9fa78 Javadoc
     new cf6f3f0b Javadoc
     new faacc746 Javadoc
     new bc4a6f8d Javadoc
     new 1c5fd4e2 Javadoc
     new b4255eb3 Javadoc
     new 1fa5afc3 Javadoc
     new 697cafc1 Javadoc
     new a6fa3e14 Javadoc
     new 6c2909a8 Javadoc
     new 952e958a Javadoc
     new 2035f85d Javadoc
     new 55e8e3d0 Javadoc
     new 3a351aea Javadoc
     new ea5b62e5 Javadoc
     new a6cb5fee Javadoc
     new 79558970 Javadoc

The 47 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/examples/ListClass.java                        |   4 +-
 src/main/java/org/apache/bcel/Constants.java       |  30 +
 src/main/java/org/apache/bcel/ExceptionConst.java  |  39 +-
 .../java/org/apache/bcel/ExceptionConstants.java   |  31 +-
 .../org/apache/bcel/classfile/BootstrapMethod.java |   2 +-
 .../apache/bcel/classfile/BootstrapMethods.java    |   2 +-
 src/main/java/org/apache/bcel/classfile/Code.java  |  64 +-
 .../java/org/apache/bcel/classfile/ConstantCP.java |   2 +-
 .../org/apache/bcel/classfile/ConstantDouble.java  |   2 +-
 .../org/apache/bcel/classfile/ConstantFloat.java   |   2 +-
 .../org/apache/bcel/classfile/ConstantInteger.java |   2 +-
 .../org/apache/bcel/classfile/ConstantLong.java    |   2 +-
 .../bcel/classfile/ConstantMethodHandle.java       |   2 +-
 .../apache/bcel/classfile/ConstantMethodType.java  |   2 +-
 .../org/apache/bcel/classfile/ConstantModule.java  |   2 +-
 .../apache/bcel/classfile/ConstantNameAndType.java |  30 +-
 .../org/apache/bcel/classfile/ConstantPackage.java |   2 +-
 .../org/apache/bcel/classfile/ConstantPool.java    |  27 +-
 .../org/apache/bcel/classfile/ConstantString.java  |  22 +-
 .../org/apache/bcel/classfile/ConstantUtf8.java    |   6 +-
 .../org/apache/bcel/classfile/ConstantValue.java   |  23 +-
 .../java/org/apache/bcel/classfile/Deprecated.java |  18 +-
 .../apache/bcel/classfile/DescendingVisitor.java   |  20 +-
 .../org/apache/bcel/classfile/ElementValue.java    |  25 +
 .../apache/bcel/classfile/ElementValuePair.java    |  33 +
 .../org/apache/bcel/classfile/EmptyVisitor.java    |   2 +
 .../org/apache/bcel/classfile/EnclosingMethod.java |  31 +-
 .../apache/bcel/classfile/EnumElementValue.java    |  28 +
 .../org/apache/bcel/classfile/ExceptionTable.java  |  32 +-
 .../org/apache/bcel/classfile/FieldOrMethod.java   |   2 +-
 .../java/org/apache/bcel/classfile/InnerClass.java |   2 +-
 .../org/apache/bcel/classfile/InnerClasses.java    |   2 +-
 .../java/org/apache/bcel/classfile/JavaClass.java  |   8 +-
 .../java/org/apache/bcel/classfile/LineNumber.java |   2 +-
 .../org/apache/bcel/classfile/LineNumberTable.java |   2 +-
 .../apache/bcel/classfile/LocalVariableTable.java  |   2 +-
 .../apache/bcel/classfile/MethodParameters.java    |   2 +-
 .../java/org/apache/bcel/classfile/Module.java     |   2 +-
 .../org/apache/bcel/classfile/ModuleExports.java   |   2 +-
 .../org/apache/bcel/classfile/ModuleMainClass.java |   2 +-
 .../org/apache/bcel/classfile/ModuleOpens.java     |   2 +-
 .../org/apache/bcel/classfile/ModulePackages.java  |   2 +-
 .../org/apache/bcel/classfile/ModuleProvides.java  |   2 +-
 .../org/apache/bcel/classfile/ModuleRequires.java  |   2 +-
 .../org/apache/bcel/classfile/NestMembers.java     |   2 +-
 .../java/org/apache/bcel/classfile/PMGClass.java   |   2 +-
 .../java/org/apache/bcel/classfile/Signature.java  |   2 +-
 .../java/org/apache/bcel/classfile/SourceFile.java |   2 +-
 .../java/org/apache/bcel/classfile/StackMap.java   |   2 +-
 .../org/apache/bcel/classfile/StackMapEntry.java   |   2 +-
 .../org/apache/bcel/classfile/StackMapType.java    |   2 +-
 .../java/org/apache/bcel/classfile/Synthetic.java  |   2 +-
 .../java/org/apache/bcel/classfile/Visitor.java    | 165 +++++
 src/main/java/org/apache/bcel/generic/BIPUSH.java  |   2 +-
 .../org/apache/bcel/generic/BranchInstruction.java |   2 +-
 .../org/apache/bcel/generic/CPInstruction.java     |   2 +-
 .../org/apache/bcel/generic/ConstantPoolGen.java   |  43 +-
 .../apache/bcel/generic/ConversionInstruction.java |   4 +-
 src/main/java/org/apache/bcel/generic/DCMPG.java   |   1 +
 src/main/java/org/apache/bcel/generic/DCMPL.java   |   3 +-
 src/main/java/org/apache/bcel/generic/DCONST.java  |   6 +
 src/main/java/org/apache/bcel/generic/DNEG.java    |   1 +
 src/main/java/org/apache/bcel/generic/DUP.java     |   1 +
 src/main/java/org/apache/bcel/generic/DUP2.java    |   1 +
 src/main/java/org/apache/bcel/generic/DUP2_X1.java |   1 +
 src/main/java/org/apache/bcel/generic/DUP2_X2.java |   1 +
 src/main/java/org/apache/bcel/generic/DUP_X1.java  |   1 +
 src/main/java/org/apache/bcel/generic/DUP_X2.java  |   1 +
 .../org/apache/bcel/generic/ElementValueGen.java   |  38 +
 .../apache/bcel/generic/ElementValuePairGen.java   |  46 +-
 .../java/org/apache/bcel/generic/EmptyVisitor.java |   4 +
 .../apache/bcel/generic/EnumElementValueGen.java   |  61 +-
 src/main/java/org/apache/bcel/generic/FCMPG.java   |   1 +
 src/main/java/org/apache/bcel/generic/FCMPL.java   |   1 +
 src/main/java/org/apache/bcel/generic/FCONST.java  |   5 +
 src/main/java/org/apache/bcel/generic/GOTO.java    |   2 +-
 src/main/java/org/apache/bcel/generic/GOTO_W.java  |   2 +-
 .../org/apache/bcel/generic/INVOKEDYNAMIC.java     |   2 +-
 .../org/apache/bcel/generic/INVOKEINTERFACE.java   |   2 +-
 .../org/apache/bcel/generic/INVOKESPECIAL.java     |   2 +-
 .../java/org/apache/bcel/generic/INVOKESTATIC.java |   2 +-
 .../org/apache/bcel/generic/INVOKEVIRTUAL.java     |   2 +-
 .../apache/bcel/generic/IndexedInstruction.java    |  10 +
 src/main/java/org/apache/bcel/generic/JSR.java     |   2 +-
 src/main/java/org/apache/bcel/generic/JSR_W.java   |   2 +-
 src/main/java/org/apache/bcel/generic/LDC.java     |   2 +-
 .../java/org/apache/bcel/generic/LOOKUPSWITCH.java |   2 +-
 .../bcel/generic/LocalVariableInstruction.java     |   2 +-
 .../org/apache/bcel/generic/MULTIANEWARRAY.java    |   2 +-
 .../java/org/apache/bcel/generic/NEWARRAY.java     |   2 +-
 src/main/java/org/apache/bcel/generic/RET.java     |   2 +-
 src/main/java/org/apache/bcel/generic/SIPUSH.java  |   2 +-
 src/main/java/org/apache/bcel/generic/Select.java  |   2 +-
 .../org/apache/bcel/generic/StackInstruction.java  |   9 +-
 .../java/org/apache/bcel/generic/TABLESWITCH.java  |   2 +-
 src/main/java/org/apache/bcel/generic/Visitor.java | 805 +++++++++++++++++++++
 src/main/java/org/apache/bcel/util/ClassPath.java  |  21 +-
 .../verifier/structurals/ControlFlowGraph.java     |  11 +
 .../verifier/structurals/ExceptionHandler.java     |   4 +
 .../verifier/structurals/ExceptionHandlers.java    |   5 +
 .../verifier/structurals/ExecutionVisitor.java     |   9 +-
 .../java/org/apache/bcel/data/ConstantPoolX.java   |   2 +-
 102 files changed, 1679 insertions(+), 163 deletions(-)


(commons-bcel) 12/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 7e21059854ea8873969a7d6a131e8d93da5883c3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DCONST.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/DCONST.java b/src/main/java/org/apache/bcel/generic/DCONST.java
index cee2d608..1f5f327d 100644
--- a/src/main/java/org/apache/bcel/generic/DCONST.java
+++ b/src/main/java/org/apache/bcel/generic/DCONST.java
@@ -36,6 +36,12 @@ public class DCONST extends Instruction implements ConstantPushInstruction {
         this(0);
     }
 
+    /**
+     * Constructs a DCONST instruction.
+     *
+     * @param f the constant value (must be 0.0 or 1.0).
+     * @throws ClassGenException if f is not 0.0 or 1.0.
+     */
     public DCONST(final double f) {
         super(org.apache.bcel.Const.DCONST_0, (short) 1);
         if (f == 0.0) {


(commons-bcel) 14/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 6579cc9bf0df7cd281c7a21d5d350dbc07c69f6f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500

    Javadoc
---
 .../apache/bcel/verifier/structurals/ControlFlowGraph.java    | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java b/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java
index ba433f13..0cc582a3 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java
@@ -391,6 +391,9 @@ public class ControlFlowGraph {
 
     /**
      * Returns the InstructionContext of a given instruction.
+     *
+     * @param inst the instruction handle.
+     * @return the InstructionContext of the given instruction.
      */
     public InstructionContext contextOf(final InstructionHandle inst) {
         final InstructionContext ic = instructionContexts.get(inst);
@@ -402,6 +405,9 @@ public class ControlFlowGraph {
 
     /**
      * Returns the InstructionContext[] of a given InstructionHandle[], in a naturally ordered manner.
+     *
+     * @param insts the instruction handles.
+     * @return the InstructionContext array of the given instruction handles.
      */
     public InstructionContext[] contextsOf(final InstructionHandle[] insts) {
         final InstructionContext[] ret = new InstructionContext[insts.length];
@@ -412,6 +418,8 @@ public class ControlFlowGraph {
     /**
      * Returns an InstructionContext[] with all the InstructionContext instances for the method whose control flow is
      * represented by this ControlFlowGraph <strong>(NOT ORDERED!)</strong>.
+     *
+     * @return array of InstructionContext instances.
      */
     public InstructionContext[] getInstructionContexts() {
         final InstructionContext[] ret = new InstructionContext[instructionContexts.size()];
@@ -421,6 +429,9 @@ public class ControlFlowGraph {
     /**
      * Returns true, if and only if the said instruction is not reachable; that means, if it is not part of this
      * ControlFlowGraph.
+     *
+     * @param i the instruction handle.
+     * @return true if the instruction is not reachable, false otherwise.
      */
     public boolean isDead(final InstructionHandle i) {
         return subroutines.subroutineOf(i) == null;


(commons-bcel) 19/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit a32cd2a7c120b1a18b8e535253c067d5221b9eb3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:20 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/ElementValue.java    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/ElementValue.java b/src/main/java/org/apache/bcel/classfile/ElementValue.java
index f5d9c4d8..64627619 100644
--- a/src/main/java/org/apache/bcel/classfile/ElementValue.java
+++ b/src/main/java/org/apache/bcel/classfile/ElementValue.java
@@ -53,19 +53,33 @@ import org.apache.bcel.Const;
  */
 public abstract class ElementValue {
 
+    /** Element value type: string. */
     public static final byte STRING = 's';
+    /** Element value type: enum constant. */
     public static final byte ENUM_CONSTANT = 'e';
+    /** Element value type: class. */
     public static final byte CLASS = 'c';
+    /** Element value type: annotation. */
     public static final byte ANNOTATION = '@';
+    /** Element value type: array. */
     public static final byte ARRAY = '[';
+    /** Element value type: primitive int. */
     public static final byte PRIMITIVE_INT = 'I';
+    /** Element value type: primitive byte. */
     public static final byte PRIMITIVE_BYTE = 'B';
+    /** Element value type: primitive char. */
     public static final byte PRIMITIVE_CHAR = 'C';
+    /** Element value type: primitive double. */
     public static final byte PRIMITIVE_DOUBLE = 'D';
+    /** Element value type: primitive float. */
     public static final byte PRIMITIVE_FLOAT = 'F';
+    /** Element value type: primitive long. */
     public static final byte PRIMITIVE_LONG = 'J';
+    /** Element value type: primitive short. */
     public static final byte PRIMITIVE_SHORT = 'S';
+    /** Element value type: primitive boolean. */
     public static final byte PRIMITIVE_BOOLEAN = 'Z';
+    /** Empty array constant. */
     static final ElementValue[] EMPTY_ARRAY = {};
 
     /**
@@ -145,6 +159,12 @@ public abstract class ElementValue {
     @java.lang.Deprecated
     protected ConstantPool cpool; // TODO should be final
 
+    /**
+     * Constructs an ElementValue.
+     *
+     * @param type the element value type.
+     * @param cpool the constant pool.
+     */
     protected ElementValue(final int type, final ConstantPool cpool) {
         this.type = type;
         this.cpool = cpool;
@@ -168,6 +188,11 @@ public abstract class ElementValue {
         return cpool;
     }
 
+    /**
+     * Gets the element value type.
+     *
+     * @return the element value type.
+     */
     public int getElementValueType() {
         return type;
     }


(commons-bcel) 20/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 0ecd1dd356016320f47d9c9e8a36ee23497b3fa9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 .../apache/bcel/classfile/ElementValuePair.java    | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/ElementValuePair.java b/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
index ec57d33b..fa0dac79 100644
--- a/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
+++ b/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
@@ -36,29 +36,62 @@ public class ElementValuePair {
 
     private final int elementNameIndex;
 
+    /**
+     * Constructs an ElementValuePair.
+     *
+     * @param elementNameIndex the element name index.
+     * @param elementValue the element value.
+     * @param constantPool the constant pool.
+     */
     public ElementValuePair(final int elementNameIndex, final ElementValue elementValue, final ConstantPool constantPool) {
         this.elementValue = elementValue;
         this.elementNameIndex = elementNameIndex;
         this.constantPool = constantPool;
     }
 
+    /**
+     * Dumps this element value pair to a DataOutputStream.
+     *
+     * @param dos the output stream.
+     * @throws IOException if an I/O error occurs.
+     */
     protected void dump(final DataOutputStream dos) throws IOException {
         dos.writeShort(elementNameIndex); // u2 name of the element
         elementValue.dump(dos);
     }
 
+    /**
+     * Gets the name index.
+     *
+     * @return the name index.
+     */
     public int getNameIndex() {
         return elementNameIndex;
     }
 
+    /**
+     * Gets the name string.
+     *
+     * @return the name string.
+     */
     public String getNameString() {
         return constantPool.getConstantUtf8(elementNameIndex).getBytes();
     }
 
+    /**
+     * Gets the value.
+     *
+     * @return the element value.
+     */
     public final ElementValue getValue() {
         return elementValue;
     }
 
+    /**
+     * Gets a short string representation.
+     *
+     * @return a short string representation.
+     */
     public String toShortString() {
         final StringBuilder result = new StringBuilder();
         result.append(getNameString()).append("=").append(getValue().toShortString());


(commons-bcel) 38/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 697cafc11b509f5a5c6b036155b05ba0a9d55d96
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/ExceptionTable.java  | 30 +++++++++++++++-------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
index 36857373..682aa23a 100644
--- a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
+++ b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
@@ -78,10 +78,12 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
-     * @param nameIndex Index in constant pool
-     * @param length Content length in bytes
-     * @param exceptionIndexTable Table of indices in constant pool
-     * @param constantPool Array of constants
+     * Constructs an ExceptionTable.
+     *
+     * @param nameIndex Index in constant pool.
+     * @param length Content length in bytes.
+     * @param exceptionIndexTable Table of indices in constant pool.
+     * @param constantPool Array of constants.
      */
     public ExceptionTable(final int nameIndex, final int length, final int[] exceptionIndexTable, final ConstantPool constantPool) {
         super(Const.ATTR_EXCEPTIONS, nameIndex, length, constantPool);
@@ -91,9 +93,9 @@ public final class ExceptionTable extends Attribute {
 
     /**
      * Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
-     * I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
+     * That is, the hierarchy of methods, fields, attributes, and so on spawns a tree of objects.
      *
-     * @param v Visitor object
+     * @param v Visitor object.
      */
     @Override
     public void accept(final Visitor v) {
@@ -101,7 +103,9 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
-     * @return deep copy of this attribute
+     * Creates a deep copy of this attribute.
+     *
+     * @return deep copy of this attribute.
      */
     @Override
     public Attribute copy(final ConstantPool constantPool) {
@@ -116,7 +120,7 @@ public final class ExceptionTable extends Attribute {
     /**
      * Dumps exceptions attribute to file stream in binary format.
      *
-     * @param file Output file stream
+     * @param file Output file stream.
      * @throws IOException if an I/O error occurs.
      */
     @Override
@@ -129,6 +133,8 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
+     * Gets the array of indices into constant pool of thrown exceptions.
+     *
      * @return Array of indices into constant pool of thrown exceptions.
      */
     public int[] getExceptionIndexTable() {
@@ -136,7 +142,9 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
-     * @return class names of thrown exceptions
+     * Gets the class names of thrown exceptions.
+     *
+     * @return class names of thrown exceptions.
      */
     public String[] getExceptionNames() {
         final String[] names = new String[exceptionIndexTable.length];
@@ -145,6 +153,8 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
+     * Gets the length of exception table.
+     *
      * @return Length of exception table.
      */
     public int getNumberOfExceptions() {
@@ -152,6 +162,8 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
+     * Sets the exception index table.
+     *
      * @param exceptionIndexTable the list of exception indexes Also redefines number_of_exceptions according to table
      *        length.
      */


(commons-bcel) 13/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 6433cc13c29c355b8a6f4cb094deb7ff0136e40b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/IndexedInstruction.java | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/IndexedInstruction.java b/src/main/java/org/apache/bcel/generic/IndexedInstruction.java
index df43dea3..f15eb576 100644
--- a/src/main/java/org/apache/bcel/generic/IndexedInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/IndexedInstruction.java
@@ -23,7 +23,17 @@ package org.apache.bcel.generic;
  */
 public interface IndexedInstruction {
 
+    /**
+     * Gets the index.
+     *
+     * @return the index.
+     */
     int getIndex();
 
+    /**
+     * Sets the index.
+     *
+     * @param index the index.
+     */
     void setIndex(int index);
 }


(commons-bcel) 43/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 55e8e3d07cedaed289bc7887b647078e356ab877
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/FCONST.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/FCONST.java b/src/main/java/org/apache/bcel/generic/FCONST.java
index a4e87c60..8dac2023 100644
--- a/src/main/java/org/apache/bcel/generic/FCONST.java
+++ b/src/main/java/org/apache/bcel/generic/FCONST.java
@@ -36,6 +36,11 @@ public class FCONST extends Instruction implements ConstantPushInstruction {
         this(0);
     }
 
+    /**
+     * Constructs an FCONST instruction.
+     *
+     * @param f the float value.
+     */
     public FCONST(final float f) {
         super(org.apache.bcel.Const.FCONST_0, (short) 1);
         if (f == 0.0) {


(commons-bcel) 41/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 952e958a4f3ff060d27435577e82fb11d4d17ecb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/FCMPG.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/FCMPG.java b/src/main/java/org/apache/bcel/generic/FCMPG.java
index b95e743f..ea420932 100644
--- a/src/main/java/org/apache/bcel/generic/FCMPG.java
+++ b/src/main/java/org/apache/bcel/generic/FCMPG.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class FCMPG extends Instruction implements TypedInstruction, StackProducer, StackConsumer {
 
+    /** Constructs an FCMPG instruction. */
     public FCMPG() {
         super(org.apache.bcel.Const.FCMPG, (short) 1);
     }


(commons-bcel) 25/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit c25a287566f7a3d7ce7d68e2192ca6782d265a14
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP2_X1.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP2_X1.java b/src/main/java/org/apache/bcel/generic/DUP2_X1.java
index 5b1d18f6..994bef19 100644
--- a/src/main/java/org/apache/bcel/generic/DUP2_X1.java
+++ b/src/main/java/org/apache/bcel/generic/DUP2_X1.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP2_X1 extends StackInstruction {
 
+    /** Constructs a DUP2_X1 instruction. */
     public DUP2_X1() {
         super(org.apache.bcel.Const.DUP2_X1);
     }


(commons-bcel) 39/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit a6fa3e14f8d27c6907837af97f1584a620f3143c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../java/org/apache/bcel/classfile/Visitor.java    | 165 +++++++++++++++++++++
 1 file changed, 165 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/Visitor.java b/src/main/java/org/apache/bcel/classfile/Visitor.java
index 3dff5274..c5fe1a9f 100644
--- a/src/main/java/org/apache/bcel/classfile/Visitor.java
+++ b/src/main/java/org/apache/bcel/classfile/Visitor.java
@@ -44,12 +44,32 @@ public interface Visitor {
      */
     void visitBootstrapMethods(BootstrapMethods obj);
 
+    /**
+     * Visits a Code attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitCode(Code obj);
 
+    /**
+     * Visits a CodeException.
+     *
+     * @param obj the exception.
+     */
     void visitCodeException(CodeException obj);
 
+    /**
+     * Visits a ConstantClass.
+     *
+     * @param obj the constant.
+     */
     void visitConstantClass(ConstantClass obj);
 
+    /**
+     * Visits a ConstantDouble.
+     *
+     * @param obj the constant.
+     */
     void visitConstantDouble(ConstantDouble obj);
 
     /**
@@ -59,16 +79,46 @@ public interface Visitor {
         // empty
     }
 
+    /**
+     * Visits a ConstantFieldref.
+     *
+     * @param obj the constant.
+     */
     void visitConstantFieldref(ConstantFieldref obj);
 
+    /**
+     * Visits a ConstantFloat.
+     *
+     * @param obj the constant.
+     */
     void visitConstantFloat(ConstantFloat obj);
 
+    /**
+     * Visits a ConstantInteger.
+     *
+     * @param obj the constant.
+     */
     void visitConstantInteger(ConstantInteger obj);
 
+    /**
+     * Visits a ConstantInterfaceMethodref.
+     *
+     * @param obj the constant.
+     */
     void visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj);
 
+    /**
+     * Visits a ConstantInvokeDynamic.
+     *
+     * @param obj the constant.
+     */
     void visitConstantInvokeDynamic(ConstantInvokeDynamic obj);
 
+    /**
+     * Visits a ConstantLong.
+     *
+     * @param obj the constant.
+     */
     void visitConstantLong(ConstantLong obj);
 
     /**
@@ -76,6 +126,11 @@ public interface Visitor {
      */
     void visitConstantMethodHandle(ConstantMethodHandle obj);
 
+    /**
+     * Visits a ConstantMethodref.
+     *
+     * @param obj the constant.
+     */
     void visitConstantMethodref(ConstantMethodref obj);
 
     /**
@@ -88,6 +143,11 @@ public interface Visitor {
      */
     void visitConstantModule(ConstantModule constantModule);
 
+    /**
+     * Visits a ConstantNameAndType.
+     *
+     * @param obj the constant.
+     */
     void visitConstantNameAndType(ConstantNameAndType obj);
 
     /**
@@ -95,14 +155,39 @@ public interface Visitor {
      */
     void visitConstantPackage(ConstantPackage constantPackage);
 
+    /**
+     * Visits a ConstantPool.
+     *
+     * @param obj the constant pool.
+     */
     void visitConstantPool(ConstantPool obj);
 
+    /**
+     * Visits a ConstantString.
+     *
+     * @param obj the constant.
+     */
     void visitConstantString(ConstantString obj);
 
+    /**
+     * Visits a ConstantUtf8.
+     *
+     * @param obj the constant.
+     */
     void visitConstantUtf8(ConstantUtf8 obj);
 
+    /**
+     * Visits a ConstantValue attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitConstantValue(ConstantValue obj);
 
+    /**
+     * Visits a Deprecated attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitDeprecated(Deprecated obj);
 
     /**
@@ -110,22 +195,67 @@ public interface Visitor {
      */
     void visitEnclosingMethod(EnclosingMethod obj);
 
+    /**
+     * Visits an ExceptionTable attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitExceptionTable(ExceptionTable obj);
 
+    /**
+     * Visits a Field.
+     *
+     * @param obj the field.
+     */
     void visitField(Field obj);
 
+    /**
+     * Visits an InnerClass.
+     *
+     * @param obj the inner class.
+     */
     void visitInnerClass(InnerClass obj);
 
+    /**
+     * Visits an InnerClasses attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitInnerClasses(InnerClasses obj);
 
+    /**
+     * Visits a JavaClass.
+     *
+     * @param obj the class.
+     */
     void visitJavaClass(JavaClass obj);
 
+    /**
+     * Visits a LineNumber.
+     *
+     * @param obj the line number.
+     */
     void visitLineNumber(LineNumber obj);
 
+    /**
+     * Visits a LineNumberTable attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitLineNumberTable(LineNumberTable obj);
 
+    /**
+     * Visits a LocalVariable.
+     *
+     * @param obj the local variable.
+     */
     void visitLocalVariable(LocalVariable obj);
 
+    /**
+     * Visits a LocalVariableTable attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitLocalVariableTable(LocalVariableTable obj);
 
     /**
@@ -133,6 +263,11 @@ public interface Visitor {
      */
     void visitLocalVariableTypeTable(LocalVariableTypeTable obj);
 
+    /**
+     * Visits a Method.
+     *
+     * @param obj the method.
+     */
     void visitMethod(Method obj);
 
     /**
@@ -240,12 +375,32 @@ public interface Visitor {
      // noop
     }
 
+    /**
+     * Visits a Signature attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitSignature(Signature obj);
 
+    /**
+     * Visits a SourceFile attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitSourceFile(SourceFile obj);
 
+    /**
+     * Visits a StackMap attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitStackMap(StackMap obj);
 
+    /**
+     * Visits a StackMapEntry.
+     *
+     * @param obj the entry.
+     */
     void visitStackMapEntry(StackMapEntry obj);
 
     /**
@@ -258,8 +413,18 @@ public interface Visitor {
       // empty
     }
 
+    /**
+     * Visits a Synthetic attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitSynthetic(Synthetic obj);
 
+    /**
+     * Visits an Unknown attribute.
+     *
+     * @param obj the attribute.
+     */
     void visitUnknown(Unknown obj);
 
 }


(commons-bcel) 10/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 0e5efa76e2e97f1531f299ff2de1a22ddb9c79be
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DCMPG.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DCMPG.java b/src/main/java/org/apache/bcel/generic/DCMPG.java
index 340a8781..3516bd5c 100644
--- a/src/main/java/org/apache/bcel/generic/DCMPG.java
+++ b/src/main/java/org/apache/bcel/generic/DCMPG.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DCMPG extends Instruction implements TypedInstruction, StackProducer, StackConsumer {
 
+    /** Constructs a DCMPG instruction. */
     public DCMPG() {
         super(org.apache.bcel.Const.DCMPG, (short) 1);
     }


(commons-bcel) 30/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit a61c8fcf0da8369efc1bc077503c4614d26def08
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 .../apache/bcel/generic/ElementValuePairGen.java   | 46 +++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java b/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
index ab01cb81..58e46745 100644
--- a/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
+++ b/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
@@ -37,6 +37,13 @@ public class ElementValuePairGen {
 
     private final ConstantPoolGen constantPoolGen;
 
+    /**
+     * Constructs an ElementValuePairGen from an ElementValuePair.
+     *
+     * @param nvp the element value pair.
+     * @param cpool the constant pool.
+     * @param copyPoolEntries whether to copy pool entries.
+     */
     public ElementValuePairGen(final ElementValuePair nvp, final ConstantPoolGen cpool, final boolean copyPoolEntries) {
         this.constantPoolGen = cpool;
         // J5ASSERT:
@@ -55,40 +62,77 @@ public class ElementValuePairGen {
         value = ElementValueGen.copy(nvp.getValue(), cpool, copyPoolEntries);
     }
 
+    /**
+     * Constructs an ElementValuePairGen.
+     *
+     * @param idx the name index.
+     * @param value the element value.
+     * @param cpool the constant pool.
+     */
     protected ElementValuePairGen(final int idx, final ElementValueGen value, final ConstantPoolGen cpool) {
         this.nameIdx = idx;
         this.value = value;
         this.constantPoolGen = cpool;
     }
 
+    /**
+     * Constructs an ElementValuePairGen.
+     *
+     * @param name the name.
+     * @param value the element value.
+     * @param cpool the constant pool.
+     */
     public ElementValuePairGen(final String name, final ElementValueGen value, final ConstantPoolGen cpool) {
         this.nameIdx = cpool.addUtf8(name);
         this.value = value;
         this.constantPoolGen = cpool;
     }
 
+    /**
+     * Dumps this element value pair to a DataOutputStream.
+     *
+     * @param dos the output stream.
+     * @throws IOException if an I/O error occurs.
+     */
     protected void dump(final DataOutputStream dos) throws IOException {
         dos.writeShort(nameIdx); // u2 name of the element
         value.dump(dos);
     }
 
     /**
-     * Retrieve an immutable version of this ElementNameValuePairGen
+     * Retrieves an immutable version of this ElementValuePairGen.
+     *
+     * @return an immutable ElementValuePair.
      */
     public ElementValuePair getElementNameValuePair() {
         final ElementValue immutableValue = value.getElementValue();
         return new ElementValuePair(nameIdx, immutableValue, constantPoolGen.getConstantPool());
     }
 
+    /**
+     * Gets the name index.
+     *
+     * @return the name index.
+     */
     public int getNameIndex() {
         return nameIdx;
     }
 
+    /**
+     * Gets the name string.
+     *
+     * @return the name string.
+     */
     public final String getNameString() {
         // ConstantString cu8 = (ConstantString) constantPoolGen.getConstant(nameIdx);
         return ((ConstantUtf8) constantPoolGen.getConstant(nameIdx)).getBytes();
     }
 
+    /**
+     * Gets the value.
+     *
+     * @return the element value.
+     */
     public final ElementValueGen getValue() {
         return value;
     }


(commons-bcel) 03/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit fe73ee8e6ba534a88158ca6c23ffeb018db7a519
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 15:53:34 2026 -0500

    Javadoc
---
 .../org/apache/bcel/generic/ConstantPoolGen.java   | 43 +++++++++++++++++++---
 1 file changed, 38 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/ConstantPoolGen.java b/src/main/java/org/apache/bcel/generic/ConstantPoolGen.java
index daf406c4..530919d7 100644
--- a/src/main/java/org/apache/bcel/generic/ConstantPoolGen.java
+++ b/src/main/java/org/apache/bcel/generic/ConstantPoolGen.java
@@ -402,6 +402,12 @@ public class ConstantPoolGen {
         return ret;
     }
 
+    /**
+     * Adds a new InterfaceMethodref constant to the ConstantPool.
+     *
+     * @param method the method to add.
+     * @return index of entry.
+     */
     public int addInterfaceMethodref(final MethodGen method) {
         return addInterfaceMethodref(method.getClassName(), method.getName(), method.getSignature());
     }
@@ -444,6 +450,13 @@ public class ConstantPoolGen {
         index += 2; // Wastes one entry according to spec
         return ret;
     }
+
+    /**
+     * Adds a new Methodref constant to the ConstantPool.
+     *
+     * @param method the method to add.
+     * @return index of entry.
+     */
     public int addMethodref(final MethodGen method) {
         return addMethodref(method.getClassName(), method.getName(), method.getSignature());
     }
@@ -551,22 +564,28 @@ public class ConstantPoolGen {
     }
 
     /**
-     * @param i index in constant pool
-     * @return constant pool entry at index i
+     * Gets a constant pool entry at the specified index.
+     *
+     * @param i index in constant pool.
+     * @return constant pool entry at index i.
      */
     public Constant getConstant(final int i) {
         return constants[i];
     }
 
     /**
-     * @return intermediate constant pool
+     * Gets the intermediate constant pool.
+     *
+     * @return intermediate constant pool.
      */
     public ConstantPool getConstantPool() {
         return new ConstantPool(constants);
     }
 
     /**
-     * @return constant pool with proper length
+     * Gets the constant pool with proper length.
+     *
+     * @return constant pool with proper length.
      */
     public ConstantPool getFinalConstantPool() {
         return new ConstantPool(Arrays.copyOf(constants, index));
@@ -577,7 +596,9 @@ public class ConstantPoolGen {
     }
 
     /**
-     * @return current size of constant pool
+     * Gets the current size of constant pool.
+     *
+     * @return current size of constant pool.
      */
     public int getSize() {
         return index;
@@ -661,6 +682,12 @@ public class ConstantPoolGen {
         return -1;
     }
 
+    /**
+     * Looks up an InterfaceMethodref in the ConstantPool.
+     *
+     * @param method the method to look for.
+     * @return index on success, -1 otherwise.
+     */
     public int lookupInterfaceMethodref(final MethodGen method) {
         return lookupInterfaceMethodref(method.getClassName(), method.getName(), method.getSignature());
     }
@@ -695,6 +722,12 @@ public class ConstantPoolGen {
         return -1;
     }
 
+    /**
+     * Looks up a Methodref in the ConstantPool.
+     *
+     * @param method the method to look for.
+     * @return index on success, -1 otherwise.
+     */
     public int lookupMethodref(final MethodGen method) {
         return lookupMethodref(method.getClassName(), method.getName(), method.getSignature());
     }


(commons-bcel) 45/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit ea5b62e54f763651123fd500880c920733b65655
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 .../java/org/apache/bcel/verifier/structurals/ExceptionHandler.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandler.java b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandler.java
index a8be210a..881f1d88 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandler.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandler.java
@@ -43,6 +43,8 @@ public class ExceptionHandler {
 
     /**
      * Returns the type of the exception that's handled. <strong>'null' means 'ANY'.</strong>
+     *
+     * @return the exception type.
      */
     public ObjectType getExceptionType() {
         return catchType;
@@ -50,6 +52,8 @@ public class ExceptionHandler {
 
     /**
      * Returns the InstructionHandle where the handler starts off.
+     *
+     * @return the handler start instruction.
      */
     public InstructionHandle getHandlerStart() {
         return handlerPc;


(commons-bcel) 09/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 78ec64065a89bddb4414ac1cd16d837c8aa0fc41
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:47 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/ConversionInstruction.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/generic/ConversionInstruction.java b/src/main/java/org/apache/bcel/generic/ConversionInstruction.java
index 41ccfbec..ab4123d3 100644
--- a/src/main/java/org/apache/bcel/generic/ConversionInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/ConversionInstruction.java
@@ -32,7 +32,9 @@ public abstract class ConversionInstruction extends Instruction implements Typed
     }
 
     /**
-     * @param opcode opcode of instruction
+     * Constructs a ConversionInstruction.
+     *
+     * @param opcode opcode of instruction.
      */
     protected ConversionInstruction(final short opcode) {
         super(opcode, (short) 1);


(commons-bcel) 27/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 33d0033d07b4bd98cba6f3c6e809bf3cf60837c5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP_X1.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP_X1.java b/src/main/java/org/apache/bcel/generic/DUP_X1.java
index 15e52758..72c44b86 100644
--- a/src/main/java/org/apache/bcel/generic/DUP_X1.java
+++ b/src/main/java/org/apache/bcel/generic/DUP_X1.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP_X1 extends StackInstruction {
 
+    /** Constructs a DUP_X1 instruction. */
     public DUP_X1() {
         super(org.apache.bcel.Const.DUP_X1);
     }


(commons-bcel) 15/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 2a984aa3ef29ba9d6ed1af92b66e1773914323e8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:19 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/Constants.java | 30 ++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/src/main/java/org/apache/bcel/Constants.java b/src/main/java/org/apache/bcel/Constants.java
index 8b01139a..bc31cd32 100644
--- a/src/main/java/org/apache/bcel/Constants.java
+++ b/src/main/java/org/apache/bcel/Constants.java
@@ -2399,28 +2399,48 @@ public interface Constants {
     /**
      * Attributes and their corresponding names.
      */
+    /** Attribute constant: Unknown. */
     byte ATTR_UNKNOWN = Const.ATTR_UNKNOWN;
+    /** Attribute constant: SourceFile. */
     byte ATTR_SOURCE_FILE = Const.ATTR_SOURCE_FILE;
+    /** Attribute constant: ConstantValue. */
     byte ATTR_CONSTANT_VALUE = Const.ATTR_CONSTANT_VALUE;
+    /** Attribute constant: Code. */
     byte ATTR_CODE = Const.ATTR_CODE;
+    /** Attribute constant: Exceptions. */
     byte ATTR_EXCEPTIONS = Const.ATTR_EXCEPTIONS;
+    /** Attribute constant: LineNumberTable. */
     byte ATTR_LINE_NUMBER_TABLE = Const.ATTR_LINE_NUMBER_TABLE;
+    /** Attribute constant: LocalVariableTable. */
     byte ATTR_LOCAL_VARIABLE_TABLE = Const.ATTR_LOCAL_VARIABLE_TABLE;
+    /** Attribute constant: InnerClasses. */
     byte ATTR_INNER_CLASSES = Const.ATTR_INNER_CLASSES;
+    /** Attribute constant: Synthetic. */
     byte ATTR_SYNTHETIC = Const.ATTR_SYNTHETIC;
+    /** Attribute constant: Deprecated. */
     byte ATTR_DEPRECATED = Const.ATTR_DEPRECATED;
+    /** Attribute constant: PMG. */
     byte ATTR_PMG = Const.ATTR_PMG;
+    /** Attribute constant: Signature. */
     byte ATTR_SIGNATURE = Const.ATTR_SIGNATURE;
+    /** Attribute constant: StackMap. */
     byte ATTR_STACK_MAP = Const.ATTR_STACK_MAP;
+    /** Attribute constant for runtime visible annotations. */
     byte ATTR_RUNTIMEVISIBLE_ANNOTATIONS = 12;
+    /** Attribute constant for runtime invisible annotations. */
     byte ATTR_RUNTIMEINVISIBLE_ANNOTATIONS = 13;
+    /** Attribute constant for runtime visible parameter annotations. */
     byte ATTR_RUNTIMEVISIBLE_PARAMETER_ANNOTATIONS = 14;
+    /** Attribute constant for runtime invisible parameter annotations. */
     byte ATTR_RUNTIMEINVISIBLE_PARAMETER_ANNOTATIONS = 15;
+    /** Attribute constant for annotation default. */
     byte ATTR_ANNOTATION_DEFAULT = 16;
 
+    /** Count of known attributes. */
     short KNOWN_ATTRIBUTES = 12; // should be 17
 
     // TODO: mutable public array!!
+    /** Array of attribute names. */
     String[] ATTRIBUTE_NAMES = {"SourceFile", "ConstantValue", "Code", "Exceptions", "LineNumberTable", "LocalVariableTable", "InnerClasses", "Synthetic",
         "Deprecated", "PMGClass", "Signature", "StackMap", "RuntimeVisibleAnnotations", "RuntimeInvisibleAnnotations", "RuntimeVisibleParameterAnnotations",
         "RuntimeInvisibleParameterAnnotations", "AnnotationDefault"};
@@ -2428,16 +2448,26 @@ public interface Constants {
     /**
      * Constants used in the StackMap attribute.
      */
+    /** Item type: Bogus. */
     byte ITEM_Bogus = Const.ITEM_Bogus;
+    /** Item type: Integer. */
     byte ITEM_Integer = Const.ITEM_Integer;
+    /** Item type: Float. */
     byte ITEM_Float = Const.ITEM_Float;
+    /** Item type: Double. */
     byte ITEM_Double = Const.ITEM_Double;
+    /** Item type: Long. */
     byte ITEM_Long = Const.ITEM_Long;
+    /** Item type: Null. */
     byte ITEM_Null = Const.ITEM_Null;
+    /** Item type: InitObject. */
     byte ITEM_InitObject = Const.ITEM_InitObject;
+    /** Item type: Object. */
     byte ITEM_Object = Const.ITEM_Object;
+    /** Item type: NewObject. */
     byte ITEM_NewObject = Const.ITEM_NewObject;
 
+    /** Array of item type names. */
     String[] ITEM_NAMES = {"Bogus", "Integer", "Float", "Double", "Long", "Null", "InitObject", "Object", "NewObject"};
 
 }


(commons-bcel) 11/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit dcb1ba2f4fe061ba323f1f4b474dda2052aef015
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:34:48 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DCMPL.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/generic/DCMPL.java b/src/main/java/org/apache/bcel/generic/DCMPL.java
index 48e2b10a..a8951a6e 100644
--- a/src/main/java/org/apache/bcel/generic/DCMPL.java
+++ b/src/main/java/org/apache/bcel/generic/DCMPL.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DCMPL extends Instruction implements TypedInstruction, StackProducer, StackConsumer {
 
+    /** Constructs a DCMPL instruction. */
     public DCMPL() {
         super(org.apache.bcel.Const.DCMPL, (short) 1);
     }
@@ -35,7 +36,7 @@ public class DCMPL extends Instruction implements TypedInstruction, StackProduce
      * Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call
      * methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.
      *
-     * @param v Visitor object
+     * @param v Visitor object.
      */
     @Override
     public void accept(final Visitor v) {


(commons-bcel) 32/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit cf6f3f0bf904adc87c1d6dd877d65e84bf193f53
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/StackInstruction.java | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/StackInstruction.java b/src/main/java/org/apache/bcel/generic/StackInstruction.java
index e676d312..917eb046 100644
--- a/src/main/java/org/apache/bcel/generic/StackInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/StackInstruction.java
@@ -30,14 +30,19 @@ public abstract class StackInstruction extends Instruction {
     }
 
     /**
-     * @param opcode instruction opcode
+     * Constructs a StackInstruction.
+     *
+     * @param opcode instruction opcode.
      */
     protected StackInstruction(final short opcode) {
         super(opcode, (short) 1);
     }
 
     /**
-     * @return Type.UNKNOWN
+     * Gets the type.
+     *
+     * @param cp the constant pool.
+     * @return Type.UNKNOWN.
      */
     public Type getType(final ConstantPoolGen cp) {
         return Type.UNKNOWN;


(commons-bcel) 23/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit bcbcb00ca9627e142bfdee6e0a96b92bc8612f71
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP.java b/src/main/java/org/apache/bcel/generic/DUP.java
index 42de1acc..40d673f3 100644
--- a/src/main/java/org/apache/bcel/generic/DUP.java
+++ b/src/main/java/org/apache/bcel/generic/DUP.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP extends StackInstruction implements PushInstruction {
 
+    /** Constructs a DUP instruction. */
     public DUP() {
         super(org.apache.bcel.Const.DUP);
     }


(commons-bcel) 05/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 19f90e50a0682afc4ec63f9cefa73b184973ba1a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:22:32 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/ConstantString.java    | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantString.java b/src/main/java/org/apache/bcel/classfile/ConstantString.java
index 3368b218..83017391 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantString.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantString.java
@@ -53,7 +53,9 @@ public final class ConstantString extends Constant implements ConstantObject {
     }
 
     /**
-     * @param stringIndex Index of Constant_Utf8 in constant pool
+     * Constructs a ConstantString.
+     *
+     * @param stringIndex Index of Constant_Utf8 in constant pool.
      */
     public ConstantString(final int stringIndex) {
         super(Const.CONSTANT_String);
@@ -84,14 +86,20 @@ public final class ConstantString extends Constant implements ConstantObject {
     }
 
     /**
-     * @return dereferenced string
+     * Gets the dereferenced string.
+     *
+     * @param cp the constant pool.
+     * @return dereferenced string.
      */
     public String getBytes(final ConstantPool cp) {
         return (String) getConstantValue(cp);
     }
 
     /**
-     * @return String object
+     * Gets the String object.
+     *
+     * @param cp the constant pool.
+     * @return String object.
      */
     @Override
     public Object getConstantValue(final ConstantPool cp) {
@@ -99,6 +107,8 @@ public final class ConstantString extends Constant implements ConstantObject {
     }
 
     /**
+     * Gets the index in constant pool of the string.
+     *
      * @return Index in constant pool of the string (ConstantUtf8).
      */
     public int getStringIndex() {
@@ -106,7 +116,9 @@ public final class ConstantString extends Constant implements ConstantObject {
     }
 
     /**
-     * @param stringIndex the index into the constant of the string value
+     * Sets the string index.
+     *
+     * @param stringIndex the index into the constant of the string value.
      */
     public void setStringIndex(final int stringIndex) {
         this.stringIndex = stringIndex;


(commons-bcel) 17/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 1519e127c52e779ce5094b5a11618c21caa005fe
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:20 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/classfile/Deprecated.java | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/Deprecated.java b/src/main/java/org/apache/bcel/classfile/Deprecated.java
index d8c34dd7..901f7cb8 100644
--- a/src/main/java/org/apache/bcel/classfile/Deprecated.java
+++ b/src/main/java/org/apache/bcel/classfile/Deprecated.java
@@ -46,10 +46,12 @@ public final class Deprecated extends Attribute {
     }
 
     /**
-     * @param nameIndex Index in constant pool to CONSTANT_Utf8
-     * @param length Content length in bytes
-     * @param bytes Attribute contents
-     * @param constantPool Array of constants
+     * Constructs a Deprecated attribute.
+     *
+     * @param nameIndex Index in constant pool to CONSTANT_Utf8.
+     * @param length Content length in bytes.
+     * @param bytes Attribute contents.
+     * @param constantPool Array of constants.
      */
     public Deprecated(final int nameIndex, final int length, final byte[] bytes, final ConstantPool constantPool) {
         super(Const.ATTR_DEPRECATED, nameIndex, Args.require0(length, "Deprecated attribute length"), constantPool);
@@ -113,6 +115,8 @@ public final class Deprecated extends Attribute {
     }
 
     /**
+     * Gets the data bytes.
+     *
      * @return data bytes.
      */
     public byte[] getBytes() {
@@ -120,7 +124,9 @@ public final class Deprecated extends Attribute {
     }
 
     /**
-     * @param bytes the raw bytes that represents this byte array
+     * Sets the data bytes.
+     *
+     * @param bytes the raw bytes that represents this byte array.
      */
     public void setBytes(final byte[] bytes) {
         this.bytes = bytes;


(commons-bcel) 42/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 2035f85dada23351654a48cb75237bdf3511b55e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/FCMPL.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/FCMPL.java b/src/main/java/org/apache/bcel/generic/FCMPL.java
index e0a8452a..7fe2bcc9 100644
--- a/src/main/java/org/apache/bcel/generic/FCMPL.java
+++ b/src/main/java/org/apache/bcel/generic/FCMPL.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class FCMPL extends Instruction implements TypedInstruction, StackProducer, StackConsumer {
 
+    /** Constructs an FCMPL instruction. */
     public FCMPL() {
         super(org.apache.bcel.Const.FCMPL, (short) 1);
     }


(commons-bcel) 26/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 14e24faa0878cf2d5b9ad73d9f1cc77e464b3b4d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP2_X2.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP2_X2.java b/src/main/java/org/apache/bcel/generic/DUP2_X2.java
index 799a52f8..13d2aed2 100644
--- a/src/main/java/org/apache/bcel/generic/DUP2_X2.java
+++ b/src/main/java/org/apache/bcel/generic/DUP2_X2.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP2_X2 extends StackInstruction {
 
+    /** Constructs a DUP2_X2 instruction. */
     public DUP2_X2() {
         super(org.apache.bcel.Const.DUP2_X2);
     }


(commons-bcel) 16/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit ecc90ca6764bcabc5bbc5818df36e30ae66bf272
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:20 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/classfile/Code.java | 62 ++++++++++++++++-------
 1 file changed, 45 insertions(+), 17 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/Code.java b/src/main/java/org/apache/bcel/classfile/Code.java
index c5fdbd1f..9bad7f84 100644
--- a/src/main/java/org/apache/bcel/classfile/Code.java
+++ b/src/main/java/org/apache/bcel/classfile/Code.java
@@ -116,14 +116,16 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @param nameIndex Index pointing to the name <em>Code</em>
-     * @param length Content length in bytes
-     * @param maxStack Maximum size of stack
-     * @param maxLocals Number of local variables
-     * @param code Actual byte code
-     * @param exceptionTable of handled exceptions
-     * @param attributes Attributes of code: LineNumber or LocalVariable
-     * @param constantPool Array of constants
+     * Constructs a Code attribute.
+     *
+     * @param nameIndex Index pointing to the name <em>Code</em>.
+     * @param length Content length in bytes.
+     * @param maxStack Maximum size of stack.
+     * @param maxLocals Number of local variables.
+     * @param code Actual byte code.
+     * @param exceptionTable of handled exceptions.
+     * @param attributes Attributes of code: LineNumber or LocalVariable.
+     * @param constantPool Array of constants.
      */
     public Code(final int nameIndex, final int length, final int maxStack, final int maxLocals, final byte[] code, final CodeException[] exceptionTable,
         final Attribute[] attributes, final ConstantPool constantPool) {
@@ -163,8 +165,10 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @return deep copy of this attribute
-     * @param constantPool the constant pool to duplicate
+     * Creates a deep copy of this attribute.
+     *
+     * @param constantPool the constant pool to duplicate.
+     * @return deep copy of this attribute.
      */
     @Override
     public Attribute copy(final ConstantPool constantPool) {
@@ -204,6 +208,8 @@ public final class Code extends Attribute {
     }
 
     /**
+     * Gets the collection of code attributes.
+     *
      * @return Collection of code attributes.
      * @see Attribute
      */
@@ -212,6 +218,8 @@ public final class Code extends Attribute {
     }
 
     /**
+     * Gets the actual byte code of the method.
+     *
      * @return Actual byte code of the method.
      */
     public byte[] getCode() {
@@ -219,6 +227,8 @@ public final class Code extends Attribute {
     }
 
     /**
+     * Gets the table of handled exceptions.
+     *
      * @return Table of handled exceptions.
      * @see CodeException
      */
@@ -238,7 +248,9 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @return LineNumberTable of Code, if it has one
+     * Gets the LineNumberTable of Code, if it has one.
+     *
+     * @return LineNumberTable of Code, if it has one.
      */
     public LineNumberTable getLineNumberTable() {
         for (final Attribute attribute : attributes) {
@@ -250,7 +262,9 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @return LocalVariableTable of Code, if it has one
+     * Gets the LocalVariableTable of Code, if it has one.
+     *
+     * @return LocalVariableTable of Code, if it has one.
      */
     public LocalVariableTable getLocalVariableTable() {
         for (final Attribute attribute : attributes) {
@@ -277,6 +291,8 @@ public final class Code extends Attribute {
     }
 
     /**
+     * Gets the number of local variables.
+     *
      * @return Number of local variables.
      */
     public int getMaxLocals() {
@@ -284,6 +300,8 @@ public final class Code extends Attribute {
     }
 
     /**
+     * Gets the maximum size of stack used by this method.
+     *
      * @return Maximum size of stack used by this method.
      */
     public int getMaxStack() {
@@ -306,7 +324,9 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @param attributes the attributes to set for this Code
+     * Sets the attributes for this Code.
+     *
+     * @param attributes the attributes to set for this Code.
      */
     public void setAttributes(final Attribute[] attributes) {
         this.attributes = attributes != null ? attributes : EMPTY_ARRAY;
@@ -314,7 +334,9 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @param code byte code
+     * Sets the byte code.
+     *
+     * @param code byte code.
      */
     public void setCode(final byte[] code) {
         this.code = ArrayUtils.nullToEmpty(code);
@@ -322,7 +344,9 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @param exceptionTable exception table
+     * Sets the exception table.
+     *
+     * @param exceptionTable exception table.
      */
     public void setExceptionTable(final CodeException[] exceptionTable) {
         this.exceptionTable = exceptionTable != null ? exceptionTable : CodeException.EMPTY_ARRAY;
@@ -330,14 +354,18 @@ public final class Code extends Attribute {
     }
 
     /**
-     * @param maxLocals maximum number of local variables
+     * Sets the maximum number of local variables.
+     *
+     * @param maxLocals maximum number of local variables.
      */
     public void setMaxLocals(final int maxLocals) {
         this.maxLocals = maxLocals;
     }
 
     /**
-     * @param maxStack maximum stack size
+     * Sets the maximum stack size.
+     *
+     * @param maxStack maximum stack size.
      */
     public void setMaxStack(final int maxStack) {
         this.maxStack = maxStack;


(commons-bcel) 34/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit bc4a6f8d99d1e917aa3c60f0601455429b8e7967
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/ExceptionConst.java | 39 ++++++++++++++++++++---
 1 file changed, 35 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/ExceptionConst.java b/src/main/java/org/apache/bcel/ExceptionConst.java
index 14ce5ff1..1bcbc6d1 100644
--- a/src/main/java/org/apache/bcel/ExceptionConst.java
+++ b/src/main/java/org/apache/bcel/ExceptionConst.java
@@ -29,10 +29,23 @@ public final class ExceptionConst {
 
     /**
      * Enum corresponding to the various Exception Class arrays, used by
-     * {@link ExceptionConst#createExceptions(EXCS, Class...)}
+     * {@link ExceptionConst#createExceptions(EXCS, Class...)}.
      */
     public enum EXCS {
-        EXCS_CLASS_AND_INTERFACE_RESOLUTION, EXCS_FIELD_AND_METHOD_RESOLUTION, EXCS_INTERFACE_METHOD_RESOLUTION, EXCS_STRING_RESOLUTION, EXCS_ARRAY_EXCEPTION,
+        /** Exception class and interface resolution. */
+        EXCS_CLASS_AND_INTERFACE_RESOLUTION,
+        /** Exception field and method resolution. */
+        EXCS_FIELD_AND_METHOD_RESOLUTION,
+        /** Exception interface method resolution. */
+        EXCS_INTERFACE_METHOD_RESOLUTION,
+        /** Exception string resolution. */
+        EXCS_STRING_RESOLUTION,
+        /** Exception array exception. */
+        EXCS_ARRAY_EXCEPTION,
+    }
+
+    /** Private constructor - utility class. */
+    public ExceptionConst() {
     }
 
     /**
@@ -51,33 +64,51 @@ public final class ExceptionConst {
     public static final Class<LinkageError> LINKING_EXCEPTION = LinkageError.class;
 
     /**
-     * Linking Exceptions
+     * Linking Exceptions.
      */
+    /** Exception class: ClassCircularityError. */
     public static final Class<ClassCircularityError> CLASS_CIRCULARITY_ERROR = ClassCircularityError.class;
+    /** Exception class: ClassFormatError. */
     public static final Class<ClassFormatError> CLASS_FORMAT_ERROR = ClassFormatError.class;
+    /** Exception class: ExceptionInInitializerError. */
     public static final Class<ExceptionInInitializerError> EXCEPTION_IN_INITIALIZER_ERROR = ExceptionInInitializerError.class;
+    /** Exception class: IncompatibleClassChangeError. */
     public static final Class<IncompatibleClassChangeError> INCOMPATIBLE_CLASS_CHANGE_ERROR = IncompatibleClassChangeError.class;
+    /** Exception class: AbstractMethodError. */
     public static final Class<AbstractMethodError> ABSTRACT_METHOD_ERROR = AbstractMethodError.class;
+    /** Exception class: IllegalAccessError. */
     public static final Class<IllegalAccessError> ILLEGAL_ACCESS_ERROR = IllegalAccessError.class;
+    /** Exception class: InstantiationError. */
     public static final Class<InstantiationError> INSTANTIATION_ERROR = InstantiationError.class;
+    /** Exception class: NoSuchFieldError. */
     public static final Class<NoSuchFieldError> NO_SUCH_FIELD_ERROR = NoSuchFieldError.class;
+    /** Exception class: NoSuchMethodError. */
     public static final Class<NoSuchMethodError> NO_SUCH_METHOD_ERROR = NoSuchMethodError.class;
+    /** Exception class: NoClassDefFoundError. */
     public static final Class<NoClassDefFoundError> NO_CLASS_DEF_FOUND_ERROR = NoClassDefFoundError.class;
+    /** Exception class: UnsatisfiedLinkError. */
     public static final Class<UnsatisfiedLinkError> UNSATISFIED_LINK_ERROR = UnsatisfiedLinkError.class;
 
+    /** Exception class: VerifyError. */
     public static final Class<VerifyError> VERIFY_ERROR = VerifyError.class;
     /* UnsupportedClassVersionError is new in JDK 1.2 */
 //    public static final Class UnsupportedClassVersionError = UnsupportedClassVersionError.class;
 
     /**
-     * Run-Time Exceptions
+     * Run-Time Exceptions.
      */
+    /** Exception class: NullPointerException. */
     public static final Class<NullPointerException> NULL_POINTER_EXCEPTION = NullPointerException.class;
+    /** Exception class: ArrayIndexOutOfBoundsException. */
     public static final Class<ArrayIndexOutOfBoundsException> ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION = ArrayIndexOutOfBoundsException.class;
+    /** Exception class: ArithmeticException. */
     public static final Class<ArithmeticException> ARITHMETIC_EXCEPTION = ArithmeticException.class;
+    /** Exception class: NegativeArraySizeException. */
     public static final Class<NegativeArraySizeException> NEGATIVE_ARRAY_SIZE_EXCEPTION = NegativeArraySizeException.class;
+    /** Exception class: ClassCastException. */
     public static final Class<ClassCastException> CLASS_CAST_EXCEPTION = ClassCastException.class;
 
+    /** Exception class: IllegalMonitorStateException. */
     public static final Class<IllegalMonitorStateException> ILLEGAL_MONITOR_STATE = IllegalMonitorStateException.class;
 
     /**


(commons-bcel) 01/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 3d47c7d72bcc5bfaccc21b01c77c05cc674bcc07
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 15:53:33 2026 -0500

    Javadoc
---
 .../apache/bcel/classfile/ConstantNameAndType.java | 28 +++++++++++++++++-----
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
index a4fd36ee..21f34871 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
@@ -55,8 +55,10 @@ public final class ConstantNameAndType extends Constant {
     }
 
     /**
-     * @param nameIndex Name of field/method
-     * @param signatureIndex and its signature
+     * Constructs a ConstantNameAndType.
+     *
+     * @param nameIndex Name of field/method.
+     * @param signatureIndex and its signature.
      */
     public ConstantNameAndType(final int nameIndex, final int signatureIndex) {
         super(Const.CONSTANT_NameAndType);
@@ -89,13 +91,18 @@ public final class ConstantNameAndType extends Constant {
     }
 
     /**
-     * @return name
+     * Gets the name.
+     *
+     * @param cp the constant pool.
+     * @return name.
      */
     public String getName(final ConstantPool cp) {
         return cp.constantToString(getNameIndex(), Const.CONSTANT_Utf8);
     }
 
     /**
+     * Gets the name index in constant pool of field/method name.
+     *
      * @return Name index in constant pool of field/method name.
      */
     public int getNameIndex() {
@@ -103,13 +110,18 @@ public final class ConstantNameAndType extends Constant {
     }
 
     /**
-     * @return signature
+     * Gets the signature.
+     *
+     * @param cp the constant pool.
+     * @return signature.
      */
     public String getSignature(final ConstantPool cp) {
         return cp.constantToString(getSignatureIndex(), Const.CONSTANT_Utf8);
     }
 
     /**
+     * Gets the index in constant pool of field/method signature.
+     *
      * @return Index in constant pool of field/method signature.
      */
     public int getSignatureIndex() {
@@ -117,14 +129,18 @@ public final class ConstantNameAndType extends Constant {
     }
 
     /**
-     * @param nameIndex the name index of this constant
+     * Sets the name index.
+     *
+     * @param nameIndex the name index of this constant.
      */
     public void setNameIndex(final int nameIndex) {
         this.nameIndex = nameIndex;
     }
 
     /**
-     * @param signatureIndex the signature index in the constant pool of this type
+     * Sets the signature index.
+     *
+     * @param signatureIndex the signature index in the constant pool of this type.
      */
     public void setSignatureIndex(final int signatureIndex) {
         this.signatureIndex = signatureIndex;


(commons-bcel) 28/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 635ee599f62959f9cc14b43f6f70c76b2ad85f68
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP_X2.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP_X2.java b/src/main/java/org/apache/bcel/generic/DUP_X2.java
index 1d0ac844..3f9b8277 100644
--- a/src/main/java/org/apache/bcel/generic/DUP_X2.java
+++ b/src/main/java/org/apache/bcel/generic/DUP_X2.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP_X2 extends StackInstruction {
 
+    /** Constructs a DUP_X2 instruction. */
     public DUP_X2() {
         super(org.apache.bcel.Const.DUP_X2);
     }


(commons-bcel) 40/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 6c2909a8f819a6deba3f2064988d9866d5634e91
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../apache/bcel/generic/EnumElementValueGen.java   | 61 ++++++++++++++++------
 1 file changed, 46 insertions(+), 15 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java b/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java
index 2220a9d5..70e710f1 100644
--- a/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java
+++ b/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java
@@ -36,6 +36,13 @@ public class EnumElementValueGen extends ElementValueGen {
 
     private final int valueIdx;
 
+    /**
+     * Constructs an EnumElementValueGen from an EnumElementValue.
+     *
+     * @param value the enum element value.
+     * @param cpool the constant pool.
+     * @param copyPoolEntries whether to copy pool entries.
+     */
     public EnumElementValueGen(final EnumElementValue value, final ConstantPoolGen cpool, final boolean copyPoolEntries) {
         super(ENUM_CONSTANT, cpool);
         if (copyPoolEntries) {
@@ -48,8 +55,12 @@ public class EnumElementValueGen extends ElementValueGen {
     }
 
     /**
-     * This ctor assumes the constant pool already contains the right type and value - as indicated by typeIdx and valueIdx.
-     * This ctor is used for deserialization
+     * This constructor assumes the constant pool already contains the right type and value - as indicated by typeIdx and valueIdx.
+     * This constructor is used for deserialization.
+     *
+     * @param typeIdx the type index.
+     * @param valueIdx the value index.
+     * @param cpool the constant pool.
      */
     protected EnumElementValueGen(final int typeIdx, final int valueIdx, final ConstantPoolGen cpool) {
         super(ENUM_CONSTANT, cpool);
@@ -60,6 +71,13 @@ public class EnumElementValueGen extends ElementValueGen {
         this.valueIdx = valueIdx;
     }
 
+    /**
+     * Constructs an EnumElementValueGen.
+     *
+     * @param t the object type.
+     * @param value the value.
+     * @param cpool the constant pool.
+     */
     public EnumElementValueGen(final ObjectType t, final String value, final ConstantPoolGen cpool) {
         super(ENUM_CONSTANT, cpool);
         typeIdx = cpool.addUtf8(t.getSignature()); // was addClass(t);
@@ -74,7 +92,9 @@ public class EnumElementValueGen extends ElementValueGen {
     }
 
     /**
-     * Return immutable variant of this EnumElementValue
+     * Returns immutable variant of this EnumElementValueGen.
+     *
+     * @return immutable variant.
      */
     @Override
     public ElementValue getElementValue() {
@@ -82,30 +102,41 @@ public class EnumElementValueGen extends ElementValueGen {
         return new EnumElementValue(super.getElementValueType(), typeIdx, valueIdx, getConstantPool().getConstantPool());
     }
 
-    // BCELBUG: Should we need to call utility.signatureToString() on the output
-    // here?
+    /**
+     * Gets the enum type string.
+     *
+     * @return the enum type string.
+     */
     public String getEnumTypeString() {
-        // Constant cc = getConstantPool().getConstant(typeIdx);
-        // ConstantClass cu8 =
-        // (ConstantClass) getConstantPool().getConstant(typeIdx);
-        // return
-        // ((ConstantUtf8) getConstantPool().getConstant(cu8.getNameIndex())).getBytes();
+        // ...existing code...
         return ((ConstantUtf8) getConstantPool().getConstant(typeIdx)).getBytes();
-        // return Utility.signatureToString(cu8.getBytes());
+        // ...existing code...
     }
 
+    /**
+     * Gets the enum value string.
+     *
+     * @return the enum value string.
+     */
     public String getEnumValueString() {
         return ((ConstantUtf8) getConstantPool().getConstant(valueIdx)).getBytes();
-        // ConstantString cu8 =
-        // (ConstantString) getConstantPool().getConstant(valueIdx);
-        // return
-        // ((ConstantUtf8) getConstantPool().getConstant(cu8.getStringIndex())).getBytes();
+        // ...existing code...
     }
 
+    /**
+     * Gets the type index.
+     *
+     * @return the type index.
+     */
     public int getTypeIndex() {
         return typeIdx;
     }
 
+    /**
+     * Gets the value index.
+     *
+     * @return the value index.
+     */
     public int getValueIndex() {
         return valueIdx;
     }


(commons-bcel) 33/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit faacc746bd3ea0b9b1f5faea98c4945ccd879b42
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/Visitor.java | 175 +++++++++++++++++++++
 1 file changed, 175 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/Visitor.java b/src/main/java/org/apache/bcel/generic/Visitor.java
index a55daa9a..f6ac0e96 100644
--- a/src/main/java/org/apache/bcel/generic/Visitor.java
+++ b/src/main/java/org/apache/bcel/generic/Visitor.java
@@ -24,74 +24,239 @@ package org.apache.bcel.generic;
  */
 public interface Visitor {
 
+    /**
+     * Visits an AALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitAALOAD(AALOAD obj);
 
+    /**
+     * Visits an AASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitAASTORE(AASTORE obj);
 
+    /**
+     * Visits an ACONST_NULL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitACONST_NULL(ACONST_NULL obj);
 
+    /**
+     * Visits an AllocationInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitAllocationInstruction(AllocationInstruction obj);
 
+    /**
+     * Visits an ALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitALOAD(ALOAD obj);
 
+    /**
+     * Visits an ANEWARRAY instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitANEWARRAY(ANEWARRAY obj);
 
+    /**
+     * Visits an ARETURN instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitARETURN(ARETURN obj);
 
+    /**
+     * Visits an ArithmeticInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitArithmeticInstruction(ArithmeticInstruction obj);
 
+    /**
+     * Visits an ArrayInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitArrayInstruction(ArrayInstruction obj);
 
+    /**
+     * Visits an ARRAYLENGTH instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitARRAYLENGTH(ARRAYLENGTH obj);
 
+    /**
+     * Visits an ASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitASTORE(ASTORE obj);
 
+    /**
+     * Visits an ATHROW instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitATHROW(ATHROW obj);
 
+    /**
+     * Visits a BALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitBALOAD(BALOAD obj);
 
     void visitBASTORE(BASTORE obj);
 
+    /**
+     * Visits a BIPUSH instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitBIPUSH(BIPUSH obj);
 
+    /**
+     * Visits a BranchInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitBranchInstruction(BranchInstruction obj);
 
+    /**
+     * Visits a BREAKPOINT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitBREAKPOINT(BREAKPOINT obj);
 
+    /**
+     * Visits a CALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitCALOAD(CALOAD obj);
 
+    /**
+     * Visits a CASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitCASTORE(CASTORE obj);
 
+    /**
+     * Visits a CHECKCAST instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitCHECKCAST(CHECKCAST obj);
 
+    /**
+     * Visits a ConstantPushInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitConstantPushInstruction(ConstantPushInstruction obj);
 
+    /**
+     * Visits a ConversionInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitConversionInstruction(ConversionInstruction obj);
 
+    /**
+     * Visits a CPInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitCPInstruction(CPInstruction obj);
 
+    /**
+     * Visits a D2F instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitD2F(D2F obj);
 
+    /**
+     * Visits a D2I instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitD2I(D2I obj);
 
+    /**
+     * Visits a D2L instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitD2L(D2L obj);
 
+    /**
+     * Visits a DADD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDADD(DADD obj);
 
+    /**
+     * Visits a DALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDALOAD(DALOAD obj);
 
+    /**
+     * Visits a DASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDASTORE(DASTORE obj);
 
+    /**
+     * Visits a DCMPG instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDCMPG(DCMPG obj);
 
+    /**
+     * Visits a DCMPL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDCMPL(DCMPL obj);
 
+    /**
+     * Visits a DCONST instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDCONST(DCONST obj);
 
     void visitDDIV(DDIV obj);
 
+    /**
+     * Visits a DLOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDLOAD(DLOAD obj);
 
+    /**
+     * Visits a DMUL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDMUL(DMUL obj);
 
     void visitDNEG(DNEG obj);
@@ -234,8 +399,18 @@ public interface Visitor {
 
     void visitIMUL(IMUL obj);
 
+    /**
+     * Visits an INEG instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINEG(INEG obj);
 
+    /**
+     * Visits an INSTANCEOF instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINSTANCEOF(INSTANCEOF obj);
 
     /**


(commons-bcel) 37/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 1fa5afc32da2c1fbd7c5288aa6d4fb282b5ee1eb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../apache/bcel/classfile/EnumElementValue.java    | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/EnumElementValue.java b/src/main/java/org/apache/bcel/classfile/EnumElementValue.java
index 0fafd791..7924ef10 100644
--- a/src/main/java/org/apache/bcel/classfile/EnumElementValue.java
+++ b/src/main/java/org/apache/bcel/classfile/EnumElementValue.java
@@ -32,6 +32,14 @@ public class EnumElementValue extends ElementValue {
 
     private final int valueIdx;
 
+    /**
+     * Constructs an EnumElementValue.
+     *
+     * @param type the element value type.
+     * @param typeIdx the type index.
+     * @param valueIdx the value index.
+     * @param cpool the constant pool.
+     */
     public EnumElementValue(final int type, final int typeIdx, final int valueIdx, final ConstantPool cpool) {
         super(type, cpool);
         if (type != ENUM_CONSTANT) {
@@ -48,18 +56,38 @@ public class EnumElementValue extends ElementValue {
         dos.writeShort(valueIdx); // u2
     }
 
+    /**
+     * Gets the enum type string.
+     *
+     * @return the enum type string.
+     */
     public String getEnumTypeString() {
         return super.getConstantPool().getConstantUtf8(typeIdx).getBytes();
     }
 
+    /**
+     * Gets the enum value string.
+     *
+     * @return the enum value string.
+     */
     public String getEnumValueString() {
         return super.getConstantPool().getConstantUtf8(valueIdx).getBytes();
     }
 
+    /**
+     * Gets the type index.
+     *
+     * @return the type index.
+     */
     public int getTypeIndex() {
         return typeIdx;
     }
 
+    /**
+     * Gets the value index.
+     *
+     * @return the value index.
+     */
     public int getValueIndex() {
         return valueIdx;
     }


(commons-bcel) 22/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 544c344ea59a02afebaff8cee0cd5c5bf424ad74
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DNEG.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DNEG.java b/src/main/java/org/apache/bcel/generic/DNEG.java
index 834d5a2d..f41ffc35 100644
--- a/src/main/java/org/apache/bcel/generic/DNEG.java
+++ b/src/main/java/org/apache/bcel/generic/DNEG.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DNEG extends ArithmeticInstruction {
 
+    /** Constructs a DNEG instruction. */
     public DNEG() {
         super(org.apache.bcel.Const.DNEG);
     }


(commons-bcel) 44/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 3a351aea98e2ffe9ec788f321680308f14779b9e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/Visitor.java | 630 +++++++++++++++++++++
 1 file changed, 630 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/Visitor.java b/src/main/java/org/apache/bcel/generic/Visitor.java
index f6ac0e96..b574ed67 100644
--- a/src/main/java/org/apache/bcel/generic/Visitor.java
+++ b/src/main/java/org/apache/bcel/generic/Visitor.java
@@ -115,6 +115,11 @@ public interface Visitor {
      */
     void visitBALOAD(BALOAD obj);
 
+    /**
+     * Visits a BASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitBASTORE(BASTORE obj);
 
     /**
@@ -243,6 +248,11 @@ public interface Visitor {
      */
     void visitDCONST(DCONST obj);
 
+    /**
+     * Visits a DDIV instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDDIV(DDIV obj);
 
     /**
@@ -259,144 +269,494 @@ public interface Visitor {
      */
     void visitDMUL(DMUL obj);
 
+    /**
+     * Visits a DNEG instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDNEG(DNEG obj);
 
+    /**
+     * Visits a DREM instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDREM(DREM obj);
 
+    /**
+     * Visits a DRETURN instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDRETURN(DRETURN obj);
 
+    /**
+     * Visits a DSTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDSTORE(DSTORE obj);
 
+    /**
+     * Visits a DSUB instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDSUB(DSUB obj);
 
+    /**
+     * Visits a DUP instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP(DUP obj);
 
+    /**
+     * Visits a DUP_X1 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP_X1(DUP_X1 obj);
 
+    /**
+     * Visits a DUP_X2 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP_X2(DUP_X2 obj);
 
+    /**
+     * Visits a DUP2 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP2(DUP2 obj);
 
+    /**
+     * Visits a DUP2_X1 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP2_X1(DUP2_X1 obj);
 
+    /**
+     * Visits a DUP2_X2 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitDUP2_X2(DUP2_X2 obj);
 
+    /**
+     * Visits an ExceptionThrower.
+     *
+     * @param obj the instruction.
+     */
     void visitExceptionThrower(ExceptionThrower obj);
 
+    /**
+     * Visits an F2D instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitF2D(F2D obj);
 
+    /**
+     * Visits an F2I instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitF2I(F2I obj);
 
+    /**
+     * Visits an F2L instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitF2L(F2L obj);
 
+    /**
+     * Visits an FADD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFADD(FADD obj);
 
+    /**
+     * Visits an FALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFALOAD(FALOAD obj);
 
+    /**
+     * Visits an FASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFASTORE(FASTORE obj);
 
+    /**
+     * Visits an FCMPG instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFCMPG(FCMPG obj);
 
+    /**
+     * Visits an FCMPL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFCMPL(FCMPL obj);
 
+    /**
+     * Visits an FCONST instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFCONST(FCONST obj);
 
+    /**
+     * Visits an FDIV instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFDIV(FDIV obj);
 
+    /**
+     * Visits a FieldInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFieldInstruction(FieldInstruction obj);
 
+    /**
+     * Visits a FieldOrMethod.
+     *
+     * @param obj the instruction.
+     */
     void visitFieldOrMethod(FieldOrMethod obj);
 
+    /**
+     * Visits an FLOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFLOAD(FLOAD obj);
 
+    /**
+     * Visits an FMUL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFMUL(FMUL obj);
 
+    /**
+     * Visits an FNEG instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFNEG(FNEG obj);
 
+    /**
+     * Visits an FREM instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFREM(FREM obj);
 
+    /**
+     * Visits an FRETURN instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFRETURN(FRETURN obj);
 
+    /**
+     * Visits an FSTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFSTORE(FSTORE obj);
 
+    /**
+     * Visits an FSUB instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitFSUB(FSUB obj);
 
+    /**
+     * Visits a GETFIELD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitGETFIELD(GETFIELD obj);
 
+    /**
+     * Visits a GETSTATIC instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitGETSTATIC(GETSTATIC obj);
 
+    /**
+     * Visits a GOTO instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitGOTO(GOTO obj);
 
+    /**
+     * Visits a GOTO_W instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitGOTO_W(GOTO_W obj);
 
+    /**
+     * Visits a GotoInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitGotoInstruction(GotoInstruction obj);
 
+    /**
+     * Visits an I2B instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2B(I2B obj);
 
+    /**
+     * Visits an I2C instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2C(I2C obj);
 
+    /**
+     * Visits an I2D instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2D(I2D obj);
 
+    /**
+     * Visits an I2F instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2F(I2F obj);
 
+    /**
+     * Visits an I2L instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2L(I2L obj);
 
+    /**
+     * Visits an I2S instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitI2S(I2S obj);
 
+    /**
+     * Visits an IADD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIADD(IADD obj);
 
+    /**
+     * Visits an IALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIALOAD(IALOAD obj);
 
+    /**
+     * Visits an IAND instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIAND(IAND obj);
 
+    /**
+     * Visits an IASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIASTORE(IASTORE obj);
 
+    /**
+     * Visits an ICONST instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitICONST(ICONST obj);
 
+    /**
+     * Visits an IDIV instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIDIV(IDIV obj);
 
+    /**
+     * Visits an IF_ACMPEQ instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ACMPEQ(IF_ACMPEQ obj);
 
+    /**
+     * Visits an IF_ACMPNE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ACMPNE(IF_ACMPNE obj);
 
+    /**
+     * Visits an IF_ICMPEQ instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPEQ(IF_ICMPEQ obj);
 
+    /**
+     * Visits an IF_ICMPGE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPGE(IF_ICMPGE obj);
 
+    /**
+     * Visits an IF_ICMPGT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPGT(IF_ICMPGT obj);
 
+    /**
+     * Visits an IF_ICMPLE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPLE(IF_ICMPLE obj);
 
+    /**
+     * Visits an IF_ICMPLT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPLT(IF_ICMPLT obj);
 
+    /**
+     * Visits an IF_ICMPNE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIF_ICMPNE(IF_ICMPNE obj);
 
+    /**
+     * Visits an IFEQ instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFEQ(IFEQ obj);
 
+    /**
+     * Visits an IFGE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFGE(IFGE obj);
 
+    /**
+     * Visits an IFGT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFGT(IFGT obj);
 
+    /**
+     * Visits an IfInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIfInstruction(IfInstruction obj);
 
+    /**
+     * Visits an IFLE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFLE(IFLE obj);
 
+    /**
+     * Visits an IFLT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFLT(IFLT obj);
 
+    /**
+     * Visits an IFNE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFNE(IFNE obj);
 
+    /**
+     * Visits an IFNONNULL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFNONNULL(IFNONNULL obj);
 
+    /**
+     * Visits an IFNULL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIFNULL(IFNULL obj);
 
+    /**
+     * Visits an IINC instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIINC(IINC obj);
 
+    /**
+     * Visits an ILOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitILOAD(ILOAD obj);
 
+    /**
+     * Visits an IMPDEP1 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIMPDEP1(IMPDEP1 obj);
 
+    /**
+     * Visits an IMPDEP2 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIMPDEP2(IMPDEP2 obj);
 
+    /**
+     * Visits an IMUL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIMUL(IMUL obj);
 
     /**
@@ -418,56 +778,186 @@ public interface Visitor {
      */
     void visitINVOKEDYNAMIC(INVOKEDYNAMIC obj);
 
+    /**
+     * Visits an InvokeInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitInvokeInstruction(InvokeInstruction obj);
 
+    /**
+     * Visits an INVOKEINTERFACE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINVOKEINTERFACE(INVOKEINTERFACE obj);
 
+    /**
+     * Visits an INVOKESPECIAL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINVOKESPECIAL(INVOKESPECIAL obj);
 
+    /**
+     * Visits an INVOKESTATIC instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINVOKESTATIC(INVOKESTATIC obj);
 
+    /**
+     * Visits an INVOKEVIRTUAL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitINVOKEVIRTUAL(INVOKEVIRTUAL obj);
 
+    /**
+     * Visits an IOR instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIOR(IOR obj);
 
+    /**
+     * Visits an IREM instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIREM(IREM obj);
 
+    /**
+     * Visits an IRETURN instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIRETURN(IRETURN obj);
 
+    /**
+     * Visits an ISHL instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitISHL(ISHL obj);
 
+    /**
+     * Visits an ISHR instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitISHR(ISHR obj);
 
+    /**
+     * Visits an ISTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitISTORE(ISTORE obj);
 
+    /**
+     * Visits an ISUB instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitISUB(ISUB obj);
 
+    /**
+     * Visits an IUSHR instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIUSHR(IUSHR obj);
 
+    /**
+     * Visits an IXOR instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitIXOR(IXOR obj);
 
+    /**
+     * Visits a JSR instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitJSR(JSR obj);
 
+    /**
+     * Visits a JSR_W instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitJSR_W(JSR_W obj);
 
+    /**
+     * Visits a JsrInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitJsrInstruction(JsrInstruction obj);
 
+    /**
+     * Visits an L2D instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitL2D(L2D obj);
 
+    /**
+     * Visits an L2F instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitL2F(L2F obj);
 
+    /**
+     * Visits an L2I instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitL2I(L2I obj);
 
+    /**
+     * Visits an LADD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLADD(LADD obj);
 
+    /**
+     * Visits an LALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLALOAD(LALOAD obj);
 
+    /**
+     * Visits an LAND instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLAND(LAND obj);
 
+    /**
+     * Visits an LASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLASTORE(LASTORE obj);
 
+    /**
+     * Visits an LCMP instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLCMP(LCMP obj);
 
+    /**
+     * Visits an LCONST instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitLCONST(LCONST obj);
 
     void visitLDC(LDC obj);
@@ -508,59 +998,199 @@ public interface Visitor {
 
     void visitLXOR(LXOR obj);
 
+    /**
+     * Visits a MONITORENTER instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitMONITORENTER(MONITORENTER obj);
 
+    /**
+     * Visits a MONITOREXIT instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitMONITOREXIT(MONITOREXIT obj);
 
+    /**
+     * Visits a MULTIANEWARRAY instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitMULTIANEWARRAY(MULTIANEWARRAY obj);
 
+    /**
+     * Visits a NEW instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitNEW(NEW obj);
 
+    /**
+     * Visits a NEWARRAY instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitNEWARRAY(NEWARRAY obj);
 
+    /**
+     * Visits a NOP instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitNOP(NOP obj);
 
+    /**
+     * Visits a POP instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPOP(POP obj);
 
+    /**
+     * Visits a POP2 instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPOP2(POP2 obj);
 
+    /**
+     * Visits a PopInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPopInstruction(PopInstruction obj);
 
+    /**
+     * Visits a PushInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPushInstruction(PushInstruction obj);
 
+    /**
+     * Visits a PUTFIELD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPUTFIELD(PUTFIELD obj);
 
+    /**
+     * Visits a PUTSTATIC instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitPUTSTATIC(PUTSTATIC obj);
 
+    /**
+     * Visits a RET instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitRET(RET obj);
 
+    /**
+     * Visits a RETURN instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitRETURN(RETURN obj);
 
+    /**
+     * Visits a ReturnInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitReturnInstruction(ReturnInstruction obj);
 
+    /**
+     * Visits a SALOAD instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitSALOAD(SALOAD obj);
 
+    /**
+     * Visits a SASTORE instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitSASTORE(SASTORE obj);
 
+    /**
+     * Visits a Select instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitSelect(Select obj);
 
+    /**
+     * Visits a SIPUSH instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitSIPUSH(SIPUSH obj);
 
+    /**
+     * Visits a StackConsumer.
+     *
+     * @param obj the instruction.
+     */
     void visitStackConsumer(StackConsumer obj);
 
+    /**
+     * Visits a StackInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitStackInstruction(StackInstruction obj);
 
+    /**
+     * Visits a StackProducer.
+     *
+     * @param obj the instruction.
+     */
     void visitStackProducer(StackProducer obj);
 
+    /**
+     * Visits a StoreInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitStoreInstruction(StoreInstruction obj);
 
+    /**
+     * Visits a SWAP instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitSWAP(SWAP obj);
 
+    /**
+     * Visits a TABLESWITCH instruction.
+     *
+     * @param obj the instruction.
+     */
     void visitTABLESWITCH(TABLESWITCH obj);
 
+    /**
+     * Visits a TypedInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitTypedInstruction(TypedInstruction obj);
 
+    /**
+     * Visits an UnconditionalBranch.
+     *
+     * @param obj the instruction.
+     */
     void visitUnconditionalBranch(UnconditionalBranch obj);
 
+    /**
+     * Visits a VariableLengthInstruction.
+     *
+     * @param obj the instruction.
+     */
     void visitVariableLengthInstruction(VariableLengthInstruction obj);
 }


(commons-bcel) 47/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 79558970e1f0d4e185803629f2a1110e3ae55e9f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:24 2026 -0500

    Javadoc
---
 .../org/apache/bcel/verifier/structurals/ExecutionVisitor.java   | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
index 6afb1afe..46e74a47 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
@@ -89,6 +89,8 @@ public class ExecutionVisitor extends EmptyVisitor {
 
     /**
      * Sets the ConstantPoolGen needed for symbolic execution.
+     *
+     * @param cpg the constant pool generator.
      */
     public void setConstantPoolGen(final ConstantPoolGen cpg) { // TODO could be package-protected?
         this.cpg = cpg;
@@ -98,6 +100,7 @@ public class ExecutionVisitor extends EmptyVisitor {
      * The only method granting access to the single instance of the ExecutionVisitor class. Before actively using this
      * instance, <strong>SET THE ConstantPoolGen FIRST</strong>.
      *
+     * @param f the frame.
      * @see #setConstantPoolGen(ConstantPoolGen)
      */
     public void setFrame(final Frame f) { // TODO could be package-protected?
@@ -1060,7 +1063,11 @@ public class ExecutionVisitor extends EmptyVisitor {
         }
     }
 
-    /** Symbolically executes the corresponding Java Virtual Machine instruction. */
+    /**
+     * Symbolically executes the corresponding Java Virtual Machine instruction.
+     *
+     * @param o the instruction.
+     */
     public void visitLDC_W(final LDC_W o) {
         final Constant c = cpg.getConstant(o.getIndex());
         if (c instanceof ConstantInteger) {


(commons-bcel) 07/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit b2efa3a51c2d1ba4e7e44887e0496ab229efbaa9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:22:33 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/ConstantValue.java    | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantValue.java b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
index 8b76b5ba..da8a6e83 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantValue.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
@@ -67,10 +67,12 @@ public final class ConstantValue extends Attribute {
     }
 
     /**
-     * @param nameIndex Name index in constant pool
-     * @param length Content length in bytes
-     * @param constantValueIndex Index in constant pool
-     * @param constantPool Array of constants
+     * Constructs a ConstantValue.
+     *
+     * @param nameIndex Name index in constant pool.
+     * @param length Content length in bytes.
+     * @param constantValueIndex Index in constant pool.
+     * @param constantPool Array of constants.
      */
     public ConstantValue(final int nameIndex, final int length, final int constantValueIndex, final ConstantPool constantPool) {
         super(Const.ATTR_CONSTANT_VALUE, nameIndex, Args.require(length, 2, "ConstantValue attribute length"), constantPool);
@@ -89,7 +91,10 @@ public final class ConstantValue extends Attribute {
     }
 
     /**
-     * @return deep copy of this attribute
+     * Creates a deep copy of this attribute.
+     *
+     * @param constantPool the constant pool.
+     * @return deep copy of this attribute.
      */
     @Override
     public Attribute copy(final ConstantPool constantPool) {
@@ -111,6 +116,8 @@ public final class ConstantValue extends Attribute {
     }
 
     /**
+     * Gets the index in constant pool of constant value.
+     *
      * @return Index in constant pool of constant value.
      */
     public int getConstantValueIndex() {
@@ -118,7 +125,9 @@ public final class ConstantValue extends Attribute {
     }
 
     /**
-     * @param constantValueIndex the index info the constant pool of this constant value
+     * Sets the constant value index.
+     *
+     * @param constantValueIndex the index info the constant pool of this constant value.
      */
     public void setConstantValueIndex(final int constantValueIndex) {
         this.constantValueIndex = constantValueIndex;


(commons-bcel) 31/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 5ac9fa78419580ef7ce30808925262ef1c7224fe
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/EmptyVisitor.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/EmptyVisitor.java b/src/main/java/org/apache/bcel/generic/EmptyVisitor.java
index 1b4c7207..97fae3e1 100644
--- a/src/main/java/org/apache/bcel/generic/EmptyVisitor.java
+++ b/src/main/java/org/apache/bcel/generic/EmptyVisitor.java
@@ -23,6 +23,10 @@ package org.apache.bcel.generic;
  */
 public abstract class EmptyVisitor implements Visitor {
 
+    /** Constructs an EmptyVisitor. */
+    public EmptyVisitor() {
+    }
+
     @Override
     public void visitAALOAD(final AALOAD obj) {
     }


(commons-bcel) 08/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 230db77e0ad1b87722ccc32933b1c52cc23cbc6d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:24:06 2026 -0500

    Javadoc
---
 src/examples/ListClass.java                                       | 4 ++--
 src/main/java/org/apache/bcel/classfile/BootstrapMethod.java      | 2 +-
 src/main/java/org/apache/bcel/classfile/BootstrapMethods.java     | 2 +-
 src/main/java/org/apache/bcel/classfile/Code.java                 | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantCP.java           | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantDouble.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantFloat.java        | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantInteger.java      | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantLong.java         | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantMethodType.java   | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantModule.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java  | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantPackage.java      | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantPool.java         | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantString.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/ConstantValue.java        | 2 +-
 src/main/java/org/apache/bcel/classfile/Deprecated.java           | 2 +-
 src/main/java/org/apache/bcel/classfile/ExceptionTable.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/FieldOrMethod.java        | 2 +-
 src/main/java/org/apache/bcel/classfile/InnerClass.java           | 2 +-
 src/main/java/org/apache/bcel/classfile/InnerClasses.java         | 2 +-
 src/main/java/org/apache/bcel/classfile/JavaClass.java            | 8 ++++----
 src/main/java/org/apache/bcel/classfile/LineNumber.java           | 2 +-
 src/main/java/org/apache/bcel/classfile/LineNumberTable.java      | 2 +-
 src/main/java/org/apache/bcel/classfile/LocalVariableTable.java   | 2 +-
 src/main/java/org/apache/bcel/classfile/MethodParameters.java     | 2 +-
 src/main/java/org/apache/bcel/classfile/Module.java               | 2 +-
 src/main/java/org/apache/bcel/classfile/ModuleExports.java        | 2 +-
 src/main/java/org/apache/bcel/classfile/ModuleMainClass.java      | 2 +-
 src/main/java/org/apache/bcel/classfile/ModuleOpens.java          | 2 +-
 src/main/java/org/apache/bcel/classfile/ModulePackages.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/ModuleProvides.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/ModuleRequires.java       | 2 +-
 src/main/java/org/apache/bcel/classfile/NestMembers.java          | 2 +-
 src/main/java/org/apache/bcel/classfile/PMGClass.java             | 2 +-
 src/main/java/org/apache/bcel/classfile/Signature.java            | 2 +-
 src/main/java/org/apache/bcel/classfile/SourceFile.java           | 2 +-
 src/main/java/org/apache/bcel/classfile/StackMap.java             | 2 +-
 src/main/java/org/apache/bcel/classfile/StackMapEntry.java        | 2 +-
 src/main/java/org/apache/bcel/classfile/StackMapType.java         | 2 +-
 src/main/java/org/apache/bcel/classfile/Synthetic.java            | 2 +-
 src/main/java/org/apache/bcel/generic/BIPUSH.java                 | 2 +-
 src/main/java/org/apache/bcel/generic/BranchInstruction.java      | 2 +-
 src/main/java/org/apache/bcel/generic/CPInstruction.java          | 2 +-
 src/main/java/org/apache/bcel/generic/GOTO.java                   | 2 +-
 src/main/java/org/apache/bcel/generic/GOTO_W.java                 | 2 +-
 src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java          | 2 +-
 src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java        | 2 +-
 src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java          | 2 +-
 src/main/java/org/apache/bcel/generic/INVOKESTATIC.java           | 2 +-
 src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java          | 2 +-
 src/main/java/org/apache/bcel/generic/JSR.java                    | 2 +-
 src/main/java/org/apache/bcel/generic/JSR_W.java                  | 2 +-
 src/main/java/org/apache/bcel/generic/LDC.java                    | 2 +-
 src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java           | 2 +-
 .../java/org/apache/bcel/generic/LocalVariableInstruction.java    | 2 +-
 src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java         | 2 +-
 src/main/java/org/apache/bcel/generic/NEWARRAY.java               | 2 +-
 src/main/java/org/apache/bcel/generic/RET.java                    | 2 +-
 src/main/java/org/apache/bcel/generic/SIPUSH.java                 | 2 +-
 src/main/java/org/apache/bcel/generic/Select.java                 | 2 +-
 src/main/java/org/apache/bcel/generic/TABLESWITCH.java            | 2 +-
 src/test/java/org/apache/bcel/data/ConstantPoolX.java             | 2 +-
 64 files changed, 68 insertions(+), 68 deletions(-)

diff --git a/src/examples/ListClass.java b/src/examples/ListClass.java
index 5cfc506d..84fe0885 100644
--- a/src/examples/ListClass.java
+++ b/src/examples/ListClass.java
@@ -199,7 +199,7 @@ public class ListClass {
     }
 
     /**
-     * Dump the list of classes this class is dependent on
+     * Dumps the list of classes this class is dependent on
      */
     public static void printClassDependencies(final ConstantPool pool) {
         System.out.println("Dependencies:");
@@ -209,7 +209,7 @@ public class ListClass {
     }
 
     /**
-     * Dump the disassembled code of all methods in the class.
+     * Dumps the disassembled code of all methods in the class.
      */
     public static void printCode(final Method[] methods, final boolean verbose) {
         Streams.of(methods).forEach(method -> {
diff --git a/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java b/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
index 74595d34..e54bc041 100644
--- a/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
+++ b/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
@@ -99,7 +99,7 @@ public class BootstrapMethod implements Cloneable {
     }
 
     /**
-     * Dump object to file stream in binary format.
+     * Dumps object to file stream in binary format.
      *
      * @param file Output file stream.
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java b/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
index 5a4b4272..e06392df 100644
--- a/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
+++ b/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
@@ -109,7 +109,7 @@ public class BootstrapMethods extends Attribute implements Iterable<BootstrapMet
     }
 
     /**
-     * Dump bootstrap methods attribute to file stream in binary format.
+     * Dumps bootstrap methods attribute to file stream in binary format.
      *
      * @param file Output file stream.
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/Code.java b/src/main/java/org/apache/bcel/classfile/Code.java
index 67fda0db..c5fdbd1f 100644
--- a/src/main/java/org/apache/bcel/classfile/Code.java
+++ b/src/main/java/org/apache/bcel/classfile/Code.java
@@ -181,7 +181,7 @@ public final class Code extends Attribute {
     }
 
     /**
-     * Dump code attribute to file stream in binary format.
+     * Dumps code attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantCP.java b/src/main/java/org/apache/bcel/classfile/ConstantCP.java
index 6f6bb1b4..21a19777 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantCP.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantCP.java
@@ -87,7 +87,7 @@ public abstract class ConstantCP extends Constant {
     }
 
     /**
-     * Dump constant field reference to file stream in binary format.
+     * Dumps constant field reference to file stream in binary format.
      *
      * @param file Output file stream.
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantDouble.java b/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
index d508ef90..06c02f0b 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
@@ -74,7 +74,7 @@ public final class ConstantDouble extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant double to file stream in binary format.
+     * Dumps constant double to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantFloat.java b/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
index d6497ddd..8b54dda8 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
@@ -75,7 +75,7 @@ public final class ConstantFloat extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant float to file stream in binary format.
+     * Dumps constant float to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantInteger.java b/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
index 8d14bd19..91c81f69 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
@@ -74,7 +74,7 @@ public final class ConstantInteger extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant integer to file stream in binary format.
+     * Dumps constant integer to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantLong.java b/src/main/java/org/apache/bcel/classfile/ConstantLong.java
index 5d5a44a6..0ad57bdc 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantLong.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantLong.java
@@ -74,7 +74,7 @@ public final class ConstantLong extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant long to file stream in binary format.
+     * Dumps constant long to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java b/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
index 4f312009..13dc0778 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
@@ -78,7 +78,7 @@ public final class ConstantMethodHandle extends Constant {
     }
 
     /**
-     * Dump method kind and index to file stream in binary format.
+     * Dumps method kind and index to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
index 697fbde5..20d6e047 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
@@ -75,7 +75,7 @@ public final class ConstantMethodType extends Constant {
     }
 
     /**
-     * Dump name and signature index to file stream in binary format.
+     * Dumps name and signature index to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantModule.java b/src/main/java/org/apache/bcel/classfile/ConstantModule.java
index 72be14da..b5fbde19 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantModule.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantModule.java
@@ -79,7 +79,7 @@ public final class ConstantModule extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant module to file stream in binary format.
+     * Dumps constant module to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
index 21f34871..48fc74ed 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
@@ -78,7 +78,7 @@ public final class ConstantNameAndType extends Constant {
     }
 
     /**
-     * Dump name and signature index to file stream in binary format.
+     * Dumps name and signature index to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPackage.java b/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
index 6fd892b7..5afb24fb 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
@@ -79,7 +79,7 @@ public final class ConstantPackage extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant package to file stream in binary format.
+     * Dumps constant package to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index d70e09ee..0375b6f4 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -230,7 +230,7 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     }
 
     /**
-     * Dump constant pool to file stream in binary format.
+     * Dumps constant pool to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if problem in writeShort or dump
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantString.java b/src/main/java/org/apache/bcel/classfile/ConstantString.java
index 83017391..570607d6 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantString.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantString.java
@@ -74,7 +74,7 @@ public final class ConstantString extends Constant implements ConstantObject {
     }
 
     /**
-     * Dump constant field reference to file stream in binary format.
+     * Dumps constant field reference to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantValue.java b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
index da8a6e83..d875bfb3 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantValue.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
@@ -104,7 +104,7 @@ public final class ConstantValue extends Attribute {
     }
 
     /**
-     * Dump constant value attribute to file stream on binary format.
+     * Dumps constant value attribute to file stream on binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/Deprecated.java b/src/main/java/org/apache/bcel/classfile/Deprecated.java
index 694a5f29..d8c34dd7 100644
--- a/src/main/java/org/apache/bcel/classfile/Deprecated.java
+++ b/src/main/java/org/apache/bcel/classfile/Deprecated.java
@@ -99,7 +99,7 @@ public final class Deprecated extends Attribute {
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
index eb7f244f..36857373 100644
--- a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
+++ b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
@@ -114,7 +114,7 @@ public final class ExceptionTable extends Attribute {
     }
 
     /**
-     * Dump exceptions attribute to file stream in binary format.
+     * Dumps exceptions attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
index 0366b108..df1bff79 100644
--- a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
+++ b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
@@ -139,7 +139,7 @@ public abstract class FieldOrMethod extends AccessFlags implements Cloneable, No
     }
 
     /**
-     * Dump object to file stream on binary format.
+     * Dumps object to file stream on binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/InnerClass.java b/src/main/java/org/apache/bcel/classfile/InnerClass.java
index e29ad07a..74d55c8c 100644
--- a/src/main/java/org/apache/bcel/classfile/InnerClass.java
+++ b/src/main/java/org/apache/bcel/classfile/InnerClass.java
@@ -93,7 +93,7 @@ public final class InnerClass implements Cloneable, Node {
     }
 
     /**
-     * Dump inner class attribute to file stream in binary format.
+     * Dumps inner class attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/InnerClasses.java b/src/main/java/org/apache/bcel/classfile/InnerClasses.java
index 5e00f3f4..68325b28 100644
--- a/src/main/java/org/apache/bcel/classfile/InnerClasses.java
+++ b/src/main/java/org/apache/bcel/classfile/InnerClasses.java
@@ -108,7 +108,7 @@ public final class InnerClasses extends Attribute implements Iterable<InnerClass
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/JavaClass.java b/src/main/java/org/apache/bcel/classfile/JavaClass.java
index 0bd51408..938bb034 100644
--- a/src/main/java/org/apache/bcel/classfile/JavaClass.java
+++ b/src/main/java/org/apache/bcel/classfile/JavaClass.java
@@ -324,7 +324,7 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
     }
 
     /**
-     * Dump Java class to output stream in binary format.
+     * Dumps Java class to output stream in binary format.
      *
      * @param file Output stream
      * @throws IOException if an I/O error occurs.
@@ -361,7 +361,7 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
     }
 
     /**
-     * Dump class to a file.
+     * Dumps class to a file.
      *
      * @param file Output file
      * @throws IOException if an I/O error occurs.
@@ -380,7 +380,7 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
     }
 
     /**
-     * Dump Java class to output stream in binary format.
+     * Dumps Java class to output stream in binary format.
      *
      * @param file Output stream
      * @throws IOException if an I/O error occurs.
@@ -390,7 +390,7 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
     }
 
     /**
-     * Dump class to a file named fileName.
+     * Dumps class to a file named fileName.
      *
      * @param fileName Output file name
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/LineNumber.java b/src/main/java/org/apache/bcel/classfile/LineNumber.java
index 70578ac6..633adb75 100644
--- a/src/main/java/org/apache/bcel/classfile/LineNumber.java
+++ b/src/main/java/org/apache/bcel/classfile/LineNumber.java
@@ -92,7 +92,7 @@ public final class LineNumber implements Cloneable, Node {
     }
 
     /**
-     * Dump line number/pc pair to file stream in binary format.
+     * Dumps line number/pc pair to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/LineNumberTable.java b/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
index bd7ca8a6..e89a788a 100644
--- a/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
+++ b/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
@@ -109,7 +109,7 @@ public final class LineNumberTable extends Attribute implements Iterable<LineNum
     }
 
     /**
-     * Dump line number table attribute to file stream in binary format.
+     * Dumps line number table attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java b/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
index 981cff19..d0e690b0 100644
--- a/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
+++ b/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
@@ -105,7 +105,7 @@ public class LocalVariableTable extends Attribute implements Iterable<LocalVaria
     }
 
     /**
-     * Dump local variable table attribute to file stream in binary format.
+     * Dumps local variable table attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/MethodParameters.java b/src/main/java/org/apache/bcel/classfile/MethodParameters.java
index 69d8e26a..ac1288b8 100644
--- a/src/main/java/org/apache/bcel/classfile/MethodParameters.java
+++ b/src/main/java/org/apache/bcel/classfile/MethodParameters.java
@@ -68,7 +68,7 @@ public class MethodParameters extends Attribute implements Iterable<MethodParame
     }
 
     /**
-     * Dump method parameters attribute to file stream in binary format.
+     * Dumps method parameters attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/Module.java b/src/main/java/org/apache/bcel/classfile/Module.java
index 3d62c187..4d0825d4 100644
--- a/src/main/java/org/apache/bcel/classfile/Module.java
+++ b/src/main/java/org/apache/bcel/classfile/Module.java
@@ -143,7 +143,7 @@ public final class Module extends Attribute {
     }
 
     /**
-     * Dump Module attribute to file stream in binary format.
+     * Dumps Module attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleExports.java b/src/main/java/org/apache/bcel/classfile/ModuleExports.java
index 2bca8228..9c2ac30f 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleExports.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleExports.java
@@ -83,7 +83,7 @@ public final class ModuleExports implements Cloneable, Node {
     }
 
     /**
-     * Dump table entry to file stream in binary format.
+     * Dumps table entry to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java b/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
index 3064e083..6ee95575 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
@@ -93,7 +93,7 @@ public final class ModuleMainClass extends Attribute {
     }
 
     /**
-     * Dump ModuleMainClass attribute to file stream in binary format.
+     * Dumps ModuleMainClass attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleOpens.java b/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
index a7cfe802..ab11d3ba 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
@@ -83,7 +83,7 @@ public final class ModuleOpens implements Cloneable, Node {
     }
 
     /**
-     * Dump table entry to file stream in binary format.
+     * Dumps table entry to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/ModulePackages.java b/src/main/java/org/apache/bcel/classfile/ModulePackages.java
index a340d2a6..27a7f8e0 100644
--- a/src/main/java/org/apache/bcel/classfile/ModulePackages.java
+++ b/src/main/java/org/apache/bcel/classfile/ModulePackages.java
@@ -103,7 +103,7 @@ public final class ModulePackages extends Attribute {
     }
 
     /**
-     * Dump ModulePackages attribute to file stream in binary format.
+     * Dumps ModulePackages attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleProvides.java b/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
index 6b9ddb55..6eef0e12 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
@@ -85,7 +85,7 @@ public final class ModuleProvides implements Cloneable, Node {
     }
 
     /**
-     * Dump table entry to file stream in binary format.
+     * Dumps table entry to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleRequires.java b/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
index 24a23514..e26da826 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
@@ -74,7 +74,7 @@ public final class ModuleRequires implements Cloneable, Node {
     }
 
     /**
-     * Dump table entry to file stream in binary format.
+     * Dumps table entry to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O Exception occurs in writeShort
diff --git a/src/main/java/org/apache/bcel/classfile/NestMembers.java b/src/main/java/org/apache/bcel/classfile/NestMembers.java
index 3408000e..042e25d0 100644
--- a/src/main/java/org/apache/bcel/classfile/NestMembers.java
+++ b/src/main/java/org/apache/bcel/classfile/NestMembers.java
@@ -104,7 +104,7 @@ public final class NestMembers extends Attribute {
     }
 
     /**
-     * Dump NestMembers attribute to file stream in binary format.
+     * Dumps NestMembers attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/PMGClass.java b/src/main/java/org/apache/bcel/classfile/PMGClass.java
index f9c6290f..9ef242c5 100644
--- a/src/main/java/org/apache/bcel/classfile/PMGClass.java
+++ b/src/main/java/org/apache/bcel/classfile/PMGClass.java
@@ -90,7 +90,7 @@ public final class PMGClass extends Attribute {
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/Signature.java b/src/main/java/org/apache/bcel/classfile/Signature.java
index 0d9621d2..6d85c23b 100644
--- a/src/main/java/org/apache/bcel/classfile/Signature.java
+++ b/src/main/java/org/apache/bcel/classfile/Signature.java
@@ -213,7 +213,7 @@ public final class Signature extends Attribute {
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/SourceFile.java b/src/main/java/org/apache/bcel/classfile/SourceFile.java
index 055e25b9..32232289 100644
--- a/src/main/java/org/apache/bcel/classfile/SourceFile.java
+++ b/src/main/java/org/apache/bcel/classfile/SourceFile.java
@@ -93,7 +93,7 @@ public final class SourceFile extends Attribute {
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/StackMap.java b/src/main/java/org/apache/bcel/classfile/StackMap.java
index b47cc199..3dded4e3 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMap.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMap.java
@@ -103,7 +103,7 @@ public final class StackMap extends Attribute {
     }
 
     /**
-     * Dump stack map table attribute to file stream in binary format.
+     * Dumps stack map table attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/StackMapEntry.java b/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
index 32a11d4c..67620912 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
@@ -175,7 +175,7 @@ public final class StackMapEntry implements Node, Cloneable {
     }
 
     /**
-     * Dump stack map entry
+     * Dumps stack map entry
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/StackMapType.java b/src/main/java/org/apache/bcel/classfile/StackMapType.java
index 6381af15..be0de5dc 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMapType.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMapType.java
@@ -95,7 +95,7 @@ public final class StackMapType implements Node, Cloneable {
     }
 
     /**
-     * Dump type entries to file.
+     * Dumps type entries to file.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/classfile/Synthetic.java b/src/main/java/org/apache/bcel/classfile/Synthetic.java
index 3eab9f22..de1f6c07 100644
--- a/src/main/java/org/apache/bcel/classfile/Synthetic.java
+++ b/src/main/java/org/apache/bcel/classfile/Synthetic.java
@@ -101,7 +101,7 @@ public final class Synthetic extends Attribute {
     }
 
     /**
-     * Dump source file attribute to file stream in binary format.
+     * Dumps source file attribute to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.
diff --git a/src/main/java/org/apache/bcel/generic/BIPUSH.java b/src/main/java/org/apache/bcel/generic/BIPUSH.java
index 40c9378f..6a99bab1 100644
--- a/src/main/java/org/apache/bcel/generic/BIPUSH.java
+++ b/src/main/java/org/apache/bcel/generic/BIPUSH.java
@@ -66,7 +66,7 @@ public class BIPUSH extends Instruction implements ConstantPushInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      */
     @Override
     public void dump(final DataOutputStream out) throws IOException {
diff --git a/src/main/java/org/apache/bcel/generic/BranchInstruction.java b/src/main/java/org/apache/bcel/generic/BranchInstruction.java
index b86463f9..922bd865 100644
--- a/src/main/java/org/apache/bcel/generic/BranchInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/BranchInstruction.java
@@ -97,7 +97,7 @@ public abstract class BranchInstruction extends Instruction implements Instructi
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/CPInstruction.java b/src/main/java/org/apache/bcel/generic/CPInstruction.java
index 321410e8..42b3ff05 100644
--- a/src/main/java/org/apache/bcel/generic/CPInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/CPInstruction.java
@@ -60,7 +60,7 @@ public abstract class CPInstruction extends Instruction implements TypedInstruct
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/GOTO.java b/src/main/java/org/apache/bcel/generic/GOTO.java
index 8bd9938f..28e0b927 100644
--- a/src/main/java/org/apache/bcel/generic/GOTO.java
+++ b/src/main/java/org/apache/bcel/generic/GOTO.java
@@ -52,7 +52,7 @@ public class GOTO extends GotoInstruction implements VariableLengthInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/GOTO_W.java b/src/main/java/org/apache/bcel/generic/GOTO_W.java
index 3fab7c30..3257448c 100644
--- a/src/main/java/org/apache/bcel/generic/GOTO_W.java
+++ b/src/main/java/org/apache/bcel/generic/GOTO_W.java
@@ -54,7 +54,7 @@ public class GOTO_W extends GotoInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java b/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java
index ce462d40..5db6f586 100644
--- a/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java
+++ b/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java
@@ -68,7 +68,7 @@ public class INVOKEDYNAMIC extends InvokeInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java b/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java
index 75cd8a23..1a68c8ab 100644
--- a/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java
+++ b/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java
@@ -80,7 +80,7 @@ public final class INVOKEINTERFACE extends InvokeInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java b/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java
index d2b62354..e2c71399 100644
--- a/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java
+++ b/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java
@@ -67,7 +67,7 @@ public class INVOKESPECIAL extends InvokeInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java b/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java
index 15a61c3e..9f249cf9 100644
--- a/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java
+++ b/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java
@@ -66,7 +66,7 @@ public class INVOKESTATIC extends InvokeInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java b/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java
index 59dd7cd9..950a6df3 100644
--- a/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java
+++ b/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java
@@ -66,7 +66,7 @@ public class INVOKEVIRTUAL extends InvokeInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/JSR.java b/src/main/java/org/apache/bcel/generic/JSR.java
index b54abf7d..778bf18e 100644
--- a/src/main/java/org/apache/bcel/generic/JSR.java
+++ b/src/main/java/org/apache/bcel/generic/JSR.java
@@ -52,7 +52,7 @@ public class JSR extends JsrInstruction implements VariableLengthInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/JSR_W.java b/src/main/java/org/apache/bcel/generic/JSR_W.java
index d1d8a11a..177c9b9e 100644
--- a/src/main/java/org/apache/bcel/generic/JSR_W.java
+++ b/src/main/java/org/apache/bcel/generic/JSR_W.java
@@ -54,7 +54,7 @@ public class JSR_W extends JsrInstruction {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/LDC.java b/src/main/java/org/apache/bcel/generic/LDC.java
index b3e18bf1..33389ec7 100644
--- a/src/main/java/org/apache/bcel/generic/LDC.java
+++ b/src/main/java/org/apache/bcel/generic/LDC.java
@@ -61,7 +61,7 @@ public class LDC extends CPInstruction implements PushInstruction, ExceptionThro
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java b/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java
index 21a72894..6bc1cfef 100644
--- a/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java
+++ b/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java
@@ -60,7 +60,7 @@ public class LOOKUPSWITCH extends Select {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
index 28cb6951..4b600e59 100644
--- a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
@@ -68,7 +68,7 @@ public abstract class LocalVariableInstruction extends Instruction implements Ty
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java b/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java
index 362178f4..052e4b0d 100644
--- a/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java
+++ b/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java
@@ -78,7 +78,7 @@ public class MULTIANEWARRAY extends CPInstruction implements LoadClass, Allocati
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/NEWARRAY.java b/src/main/java/org/apache/bcel/generic/NEWARRAY.java
index 3adf7151..3d32c7cf 100644
--- a/src/main/java/org/apache/bcel/generic/NEWARRAY.java
+++ b/src/main/java/org/apache/bcel/generic/NEWARRAY.java
@@ -67,7 +67,7 @@ public class NEWARRAY extends Instruction implements AllocationInstruction, Exce
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/RET.java b/src/main/java/org/apache/bcel/generic/RET.java
index 4b3ebd42..31c599ad 100644
--- a/src/main/java/org/apache/bcel/generic/RET.java
+++ b/src/main/java/org/apache/bcel/generic/RET.java
@@ -58,7 +58,7 @@ public class RET extends Instruction implements IndexedInstruction, TypedInstruc
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/SIPUSH.java b/src/main/java/org/apache/bcel/generic/SIPUSH.java
index f13d7acc..348ac3b8 100644
--- a/src/main/java/org/apache/bcel/generic/SIPUSH.java
+++ b/src/main/java/org/apache/bcel/generic/SIPUSH.java
@@ -61,7 +61,7 @@ public class SIPUSH extends Instruction implements ConstantPushInstruction {
     }
 
     /**
-     * Dump instruction as short code to stream out.
+     * Dumps instruction as short code to stream out.
      */
     @Override
     public void dump(final DataOutputStream out) throws IOException {
diff --git a/src/main/java/org/apache/bcel/generic/Select.java b/src/main/java/org/apache/bcel/generic/Select.java
index 8133aeb8..f73b4a48 100644
--- a/src/main/java/org/apache/bcel/generic/Select.java
+++ b/src/main/java/org/apache/bcel/generic/Select.java
@@ -137,7 +137,7 @@ public abstract class Select extends BranchInstruction implements VariableLength
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/main/java/org/apache/bcel/generic/TABLESWITCH.java b/src/main/java/org/apache/bcel/generic/TABLESWITCH.java
index b35461ec..42d1137e 100644
--- a/src/main/java/org/apache/bcel/generic/TABLESWITCH.java
+++ b/src/main/java/org/apache/bcel/generic/TABLESWITCH.java
@@ -65,7 +65,7 @@ public class TABLESWITCH extends Select {
     }
 
     /**
-     * Dump instruction as byte code to stream out.
+     * Dumps instruction as byte code to stream out.
      *
      * @param out Output stream
      */
diff --git a/src/test/java/org/apache/bcel/data/ConstantPoolX.java b/src/test/java/org/apache/bcel/data/ConstantPoolX.java
index 99778a63..c9a63feb 100644
--- a/src/test/java/org/apache/bcel/data/ConstantPoolX.java
+++ b/src/test/java/org/apache/bcel/data/ConstantPoolX.java
@@ -179,7 +179,7 @@ public abstract class ConstantPoolX implements Cloneable, Node {
     }
 
     /**
-     * Dump constant pool to file stream in binary format.
+     * Dumps constant pool to file stream in binary format.
      *
      * @param file Output file stream
      * @throws IOException if an I/O error occurs.


(commons-bcel) 35/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 1c5fd4e2224572f5e0d07c3e080a34d0dde1de1a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../java/org/apache/bcel/ExceptionConstants.java   | 31 ++++++++++++++++++----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/bcel/ExceptionConstants.java b/src/main/java/org/apache/bcel/ExceptionConstants.java
index 98d90b12..61c6edc9 100644
--- a/src/main/java/org/apache/bcel/ExceptionConstants.java
+++ b/src/main/java/org/apache/bcel/ExceptionConstants.java
@@ -42,41 +42,61 @@ public interface ExceptionConstants {
     Class<LinkageError> LINKING_EXCEPTION = LinkageError.class;
 
     /**
-     * Linking Exceptions
+     * Linking Exceptions.
      */
+    /** Exception class: ClassCircularityError. */
     Class<ClassCircularityError> CLASS_CIRCULARITY_ERROR = ClassCircularityError.class;
+    /** Exception class: ClassFormatError. */
     Class<ClassFormatError> CLASS_FORMAT_ERROR = ClassFormatError.class;
+    /** Exception class: ExceptionInInitializerError. */
     Class<ExceptionInInitializerError> EXCEPTION_IN_INITIALIZER_ERROR = ExceptionInInitializerError.class;
+    /** Exception class: IncompatibleClassChangeError. */
     Class<IncompatibleClassChangeError> INCOMPATIBLE_CLASS_CHANGE_ERROR = IncompatibleClassChangeError.class;
+    /** Exception class: AbstractMethodError. */
     Class<AbstractMethodError> ABSTRACT_METHOD_ERROR = AbstractMethodError.class;
+    /** Exception class: IllegalAccessError. */
     Class<IllegalAccessError> ILLEGAL_ACCESS_ERROR = IllegalAccessError.class;
+    /** Exception class: InstantiationError. */
     Class<InstantiationError> INSTANTIATION_ERROR = InstantiationError.class;
+    /** Exception class: NoSuchFieldError. */
     Class<NoSuchFieldError> NO_SUCH_FIELD_ERROR = NoSuchFieldError.class;
+    /** Exception class: NoSuchMethodError. */
     Class<NoSuchMethodError> NO_SUCH_METHOD_ERROR = NoSuchMethodError.class;
+    /** Exception class: NoClassDefFoundError. */
     Class<NoClassDefFoundError> NO_CLASS_DEF_FOUND_ERROR = NoClassDefFoundError.class;
+    /** Exception class: UnsatisfiedLinkError. */
     Class<UnsatisfiedLinkError> UNSATISFIED_LINK_ERROR = UnsatisfiedLinkError.class;
+    /** Exception class: VerifyError. */
     Class<VerifyError> VERIFY_ERROR = VerifyError.class;
     /* UnsupportedClassVersionError is new in JDK 1.2 */
 //    Class UnsupportedClassVersionError = UnsupportedClassVersionError.class;
 
     /**
-     * Run-Time Exceptions
+     * Run-Time Exceptions.
      */
+    /** Exception class: NullPointerException. */
     Class<NullPointerException> NULL_POINTER_EXCEPTION = NullPointerException.class;
+    /** Exception class: ArrayIndexOutOfBoundsException. */
     Class<ArrayIndexOutOfBoundsException> ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION = ArrayIndexOutOfBoundsException.class;
+    /** Exception class: ArithmeticException. */
     Class<ArithmeticException> ARITHMETIC_EXCEPTION = ArithmeticException.class;
+    /** Exception class: NegativeArraySizeException. */
     Class<NegativeArraySizeException> NEGATIVE_ARRAY_SIZE_EXCEPTION = NegativeArraySizeException.class;
+    /** Exception class: ClassCastException. */
     Class<ClassCastException> CLASS_CAST_EXCEPTION = ClassCastException.class;
+    /** Exception class: IllegalMonitorStateException. */
     Class<IllegalMonitorStateException> ILLEGAL_MONITOR_STATE = IllegalMonitorStateException.class;
 
     /**
-     * Pre-defined exception arrays according to chapters 5.1-5.4 of the Java Virtual Machine Specification
+     * Pre-defined exception arrays according to chapters 5.1-5.4 of the Java Virtual Machine Specification.
      *
-     * @deprecated Do not use these arrays, use the static methods in the ExceptionConst implementation class instead
+     * @deprecated Do not use these arrays, use the static methods in the ExceptionConst implementation class instead.
      */
     @Deprecated
     Class<?>[] EXCS_CLASS_AND_INTERFACE_RESOLUTION = {NO_CLASS_DEF_FOUND_ERROR, CLASS_FORMAT_ERROR, VERIFY_ERROR, ABSTRACT_METHOD_ERROR,
         EXCEPTION_IN_INITIALIZER_ERROR, ILLEGAL_ACCESS_ERROR}; // Chapter 5.1
+
+    /** Exception array for field and method resolution. @deprecated Do not use. */
     @Deprecated
     Class<?>[] EXCS_FIELD_AND_METHOD_RESOLUTION = {NO_SUCH_FIELD_ERROR, ILLEGAL_ACCESS_ERROR, NO_SUCH_METHOD_ERROR}; // Chapter 5.2
 
@@ -91,7 +111,8 @@ public interface ExceptionConstants {
      */
     @Deprecated
     Class<?>[] EXCS_STRING_RESOLUTION = new Class[0];
-    // Chapter 5.4 (no errors but the ones that _always_ could happen! How stupid.)
+
+    /** Exception array. @deprecated Do not use. */
     @Deprecated
     Class<?>[] EXCS_ARRAY_EXCEPTION = {NULL_POINTER_EXCEPTION, ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION};
 


(commons-bcel) 04/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit b74396238217ccc9eb0ae662dcfae3f3a8e35b28
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 15:53:34 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/util/ClassPath.java | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/util/ClassPath.java b/src/main/java/org/apache/bcel/util/ClassPath.java
index fc256c77..55d406c4 100644
--- a/src/main/java/org/apache/bcel/util/ClassPath.java
+++ b/src/main/java/org/apache/bcel/util/ClassPath.java
@@ -146,28 +146,38 @@ public class ClassPath implements Closeable {
     public interface ClassFile {
 
         /**
+         * Gets the base path of found class.
+         *
          * @return base path of found class, for example class is contained relative to that path, which may either denote a directory,
-         *         or ZIP file
+         *         or ZIP file.
          */
         String getBase();
 
         /**
+         * Gets the input stream for class file.
+         *
          * @return input stream for class file.
          * @throws IOException if an I/O error occurs.
          */
         InputStream getInputStream() throws IOException;
 
         /**
+         * Gets the canonical path to class file.
+         *
          * @return canonical path to class file.
          */
         String getPath();
 
         /**
+         * Gets the size of class file.
+         *
          * @return size of class file.
          */
         long getSize();
 
         /**
+         * Gets the modification time of class file.
+         *
          * @return modification time of class file.
          */
         long getTime();
@@ -430,16 +440,19 @@ public class ClassPath implements Closeable {
 
     }
 
+    /** Filter for archive files (.zip and .jar). */
     private static final FilenameFilter ARCHIVE_FILTER = (dir, name) -> {
         name = StringUtils.toRootLowerCase(name);
         return name.endsWith(".zip") || name.endsWith(".jar");
     };
 
+    /** Filter for module files. */
     private static final FilenameFilter MODULES_FILTER = (dir, name) -> {
         name = StringUtils.toRootLowerCase(name);
         return name.endsWith(org.apache.bcel.classfile.Module.EXTENSION);
     };
 
+    /** The system class path. */
     public static final ClassPath SYSTEM_CLASS_PATH = new ClassPath(getClassPath());
 
     private static void addJdkModules(final String javaHome, final List<String> list) {
@@ -531,6 +544,12 @@ public class ClassPath implements Closeable {
         this(getClassPath());
     }
 
+    /**
+     * Constructs a ClassPath with a parent and class path string.
+     *
+     * @param parent the parent ClassPath.
+     * @param classPathString the class path string.
+     */
     @SuppressWarnings("resource")
     public ClassPath(final ClassPath parent, final String classPathString) {
         this.parent = parent;


(commons-bcel) 36/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit b4255eb3f41d542e48ca456282154b339512905b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:22 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/EnclosingMethod.java | 31 +++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/classfile/EnclosingMethod.java b/src/main/java/org/apache/bcel/classfile/EnclosingMethod.java
index c8e22e11..7220d66d 100644
--- a/src/main/java/org/apache/bcel/classfile/EnclosingMethod.java
+++ b/src/main/java/org/apache/bcel/classfile/EnclosingMethod.java
@@ -74,15 +74,29 @@ public class EnclosingMethod extends Attribute {
         file.writeShort(methodIndex);
     }
 
+    /**
+     * Gets the enclosing class.
+     *
+     * @return the enclosing class.
+     */
     public final ConstantClass getEnclosingClass() {
         return super.getConstantPool().getConstant(classIndex, Const.CONSTANT_Class, ConstantClass.class);
     }
 
-    // Accessors
+    /**
+     * Gets the enclosing class index.
+     *
+     * @return the enclosing class index.
+     */
     public final int getEnclosingClassIndex() {
         return classIndex;
     }
 
+    /**
+     * Gets the enclosing method.
+     *
+     * @return the enclosing method.
+     */
     public final ConstantNameAndType getEnclosingMethod() {
         if (methodIndex == 0) {
             return null;
@@ -90,14 +104,29 @@ public class EnclosingMethod extends Attribute {
         return super.getConstantPool().getConstant(methodIndex, Const.CONSTANT_NameAndType, ConstantNameAndType.class);
     }
 
+    /**
+     * Gets the enclosing method index.
+     *
+     * @return the enclosing method index.
+     */
     public final int getEnclosingMethodIndex() {
         return methodIndex;
     }
 
+    /**
+     * Sets the enclosing class index.
+     *
+     * @param idx the index.
+     */
     public final void setEnclosingClassIndex(final int idx) {
         classIndex = idx;
     }
 
+    /**
+     * Sets the enclosing method index.
+     *
+     * @param idx the index.
+     */
     public final void setEnclosingMethodIndex(final int idx) {
         methodIndex = idx;
     }


(commons-bcel) 46/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit a6cb5fee7d4d9ebfe1b3f53f554a0df306a2e599
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:50:23 2026 -0500

    Javadoc
---
 .../java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
index da8d50dc..25d3c2d4 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
@@ -44,6 +44,8 @@ public class ExceptionHandlers {
 
     /**
      * Constructs a new ExceptionHandlers instance.
+     *
+     * @param mg the method generator.
      */
     public ExceptionHandlers(final MethodGen mg) {
         exceptionHandlers = new HashMap<>();
@@ -58,6 +60,9 @@ public class ExceptionHandlers {
 
     /**
      * Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.
+     *
+     * @param ih the instruction handle.
+     * @return array of exception handlers.
      */
     public ExceptionHandler[] getExceptionHandlers(final InstructionHandle ih) {
         final Set<ExceptionHandler> hsSet = exceptionHandlers.get(ih);


(commons-bcel) 06/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 260c6fd3f6c141640de46eeb9961e3653ee96c83
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 16:22:33 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/classfile/ConstantUtf8.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
index 0e56ce03..597e95bc 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
@@ -209,7 +209,9 @@ public final class ConstantUtf8 extends Constant {
     }
 
     /**
-     * @param value Data
+     * Constructs a ConstantUtf8.
+     *
+     * @param value Data.
      */
     public ConstantUtf8(final String value) {
         super(Const.CONSTANT_Utf8);
@@ -241,6 +243,8 @@ public final class ConstantUtf8 extends Constant {
     }
 
     /**
+     * Gets the data converted to string.
+     *
      * @return Data converted to string.
      */
     public String getBytes() {


(commons-bcel) 24/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit ae1b46d117944982945ea1f9cd92e518e7670d58
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/DUP2.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/DUP2.java b/src/main/java/org/apache/bcel/generic/DUP2.java
index 279f0550..6bb6e410 100644
--- a/src/main/java/org/apache/bcel/generic/DUP2.java
+++ b/src/main/java/org/apache/bcel/generic/DUP2.java
@@ -27,6 +27,7 @@ package org.apache.bcel.generic;
  */
 public class DUP2 extends StackInstruction implements PushInstruction {
 
+    /** Constructs a DUP2 instruction. */
     public DUP2() {
         super(org.apache.bcel.Const.DUP2);
     }


(commons-bcel) 29/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 4228d4878fefb42cf69b260b2d7ca8a7942f9e4e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:22 2026 -0500

    Javadoc
---
 .../org/apache/bcel/generic/ElementValueGen.java   | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/ElementValueGen.java b/src/main/java/org/apache/bcel/generic/ElementValueGen.java
index 635fda5e..1d6676bc 100644
--- a/src/main/java/org/apache/bcel/generic/ElementValueGen.java
+++ b/src/main/java/org/apache/bcel/generic/ElementValueGen.java
@@ -36,30 +36,44 @@ import org.apache.bcel.classfile.SimpleElementValue;
  * @since 6.0
  */
 public abstract class ElementValueGen {
+
+    /** Element value type: string. */
     public static final int STRING = 's';
 
+    /** Element value type: enum constant. */
     public static final int ENUM_CONSTANT = 'e';
 
+    /** Element value type: class. */
     public static final int CLASS = 'c';
 
+    /** Element value type: annotation. */
     public static final int ANNOTATION = '@';
 
+    /** Element value type: array. */
     public static final int ARRAY = '[';
 
+    /** Element value type: primitive int. */
     public static final int PRIMITIVE_INT = 'I';
 
+    /** Element value type: primitive byte. */
     public static final int PRIMITIVE_BYTE = 'B';
 
+    /** Element value type: primitive char. */
     public static final int PRIMITIVE_CHAR = 'C';
 
+    /** Element value type: primitive double. */
     public static final int PRIMITIVE_DOUBLE = 'D';
 
+    /** Element value type: primitive float. */
     public static final int PRIMITIVE_FLOAT = 'F';
 
+    /** Element value type: primitive long. */
     public static final int PRIMITIVE_LONG = 'J';
 
+    /** Element value type: primitive short. */
     public static final int PRIMITIVE_SHORT = 'S';
 
+    /** Element value type: primitive boolean. */
     public static final int PRIMITIVE_BOOLEAN = 'Z';
 
     /**
@@ -95,6 +109,14 @@ public abstract class ElementValueGen {
         }
     }
 
+    /**
+     * Reads an element value from a DataInput.
+     *
+     * @param dis the data input stream.
+     * @param cpGen the constant pool.
+     * @return the element value read.
+     * @throws IOException if an I/O error occurs.
+     */
     public static ElementValueGen readElementValue(final DataInput dis, final ConstantPoolGen cpGen) throws IOException {
         final int type = dis.readUnsignedByte();
         switch (type) {
@@ -149,6 +171,12 @@ public abstract class ElementValueGen {
     @Deprecated
     protected ConstantPoolGen cpGen;
 
+    /**
+     * Constructs an ElementValueGen.
+     *
+     * @param type the element value type.
+     * @param cpGen the constant pool.
+     */
     protected ElementValueGen(final int type, final ConstantPoolGen cpGen) {
         this.type = type;
         this.cpGen = cpGen;
@@ -162,6 +190,11 @@ public abstract class ElementValueGen {
      */
     public abstract void dump(DataOutputStream dos) throws IOException;
 
+    /**
+     * Gets the constant pool.
+     *
+     * @return the constant pool.
+     */
     protected ConstantPoolGen getConstantPool() {
         return cpGen;
     }
@@ -173,6 +206,11 @@ public abstract class ElementValueGen {
      */
     public abstract ElementValue getElementValue();
 
+    /**
+     * Gets the element value type.
+     *
+     * @return the element value type.
+     */
     public int getElementValueType() {
         return type;
     }


(commons-bcel) 02/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 8a1f208f2c8a9027f795e5bc4a661b89aac94a09
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 15:53:34 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/ConstantPool.java    | 25 ++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index 4664f99b..d70e09ee 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -67,7 +67,9 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     private Constant[] constantPool;
 
     /**
-     * @param constantPool Array of constants
+     * Constructs a ConstantPool.
+     *
+     * @param constantPool Array of constants.
      */
     public ConstantPool(final Constant[] constantPool) {
         setConstantPool(constantPool);
@@ -207,7 +209,9 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     }
 
     /**
-     * @return deep copy of this constant pool
+     * Creates a deep copy of this constant pool.
+     *
+     * @return deep copy of this constant pool.
      */
     public ConstantPool copy() {
         ConstantPool c = null;
@@ -249,6 +253,7 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     /**
      * Gets constant from constant pool.
      *
+     * @param <T> the type of the constant.
      * @param index Index in constant pool
      * @return Constant value
      * @see Constant
@@ -262,6 +267,7 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     /**
      * Gets constant from constant pool and check whether it has the expected type.
      *
+     * @param <T> the type of the constant.
      * @param index Index in constant pool
      * @param tag   Tag of expected constant, i.e., its type
      * @return Constant value
@@ -276,8 +282,10 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     /**
      * Gets constant from constant pool and check whether it has the expected type.
      *
+     * @param <T> the type of the constant.
      * @param index Index in constant pool
      * @param tag   Tag of expected constant, i.e., its type
+     * @param castTo the class to cast to.
      * @return Constant value
      * @see Constant
      * @throws ClassFormatException if constant type does not match tag
@@ -338,6 +346,8 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     }
 
     /**
+     * Gets the array of constants.
+     *
      * @return Array of constants.
      * @see Constant
      */
@@ -398,6 +408,8 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     }
 
     /**
+     * Gets the length of constant pool.
+     *
      * @return Length of constant pool.
      */
     public int getLength() {
@@ -410,14 +422,19 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     }
 
     /**
-     * @param constant Constant to set
+     * Sets a constant at the specified index.
+     *
+     * @param index the index in the constant pool.
+     * @param constant Constant to set.
      */
     public void setConstant(final int index, final Constant constant) {
         constantPool[index] = constant;
     }
 
     /**
-     * @param constantPool
+     * Sets the constant pool.
+     *
+     * @param constantPool the constant pool array.
      */
     public void setConstantPool(final Constant[] constantPool) {
         this.constantPool = constantPool != null ? constantPool : Constant.EMPTY_ARRAY;


(commons-bcel) 18/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit db6cab2182c715969800155d2d54a56f8fa14ba9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:20 2026 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/DescendingVisitor.java | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java b/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
index 770f547c..8bdeb8ac 100644
--- a/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
+++ b/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
@@ -36,8 +36,10 @@ public class DescendingVisitor implements Visitor {
     private final Stack<Object> stack = new Stack<>();
 
     /**
-     * @param clazz Class to traverse
-     * @param visitor visitor object to apply to all components
+     * Constructs a DescendingVisitor.
+     *
+     * @param clazz Class to traverse.
+     * @param visitor visitor object to apply to all components.
      */
     public DescendingVisitor(final JavaClass clazz, final Visitor visitor) {
         this.clazz = clazz;
@@ -49,22 +51,28 @@ public class DescendingVisitor implements Visitor {
     }
 
     /**
-     * @return current object
+     * Gets the current object.
+     *
+     * @return current object.
      */
     public Object current() {
         return stack.peek();
     }
 
     /**
-     * @return container of current entitity, i.e., predecessor during traversal
+     * Gets the container of current entity, that is, predecessor during traversal.
+     *
+     * @return container of current entity, that is, predecessor during traversal.
      */
     public Object predecessor() {
         return predecessor(0);
     }
 
     /**
-     * @param level nesting level, i.e., 0 returns the direct predecessor
-     * @return container of current entitity, i.e., predecessor during traversal
+     * Gets the container of current entity, that is, predecessor during traversal.
+     *
+     * @param level nesting level, that is, 0 returns the direct predecessor.
+     * @return container of current entity, that is, predecessor during traversal.
      */
     public Object predecessor(final int level) {
         final int size = stack.size();


(commons-bcel) 21/47: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit dc7ce7622a6cc1dcfc1bddc71a170ed9888e8931
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 22:01:21 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/classfile/EmptyVisitor.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/EmptyVisitor.java b/src/main/java/org/apache/bcel/classfile/EmptyVisitor.java
index 9a4c6188..c751fca2 100644
--- a/src/main/java/org/apache/bcel/classfile/EmptyVisitor.java
+++ b/src/main/java/org/apache/bcel/classfile/EmptyVisitor.java
@@ -25,6 +25,8 @@ package org.apache.bcel.classfile;
  * @see DescendingVisitor
  */
 public class EmptyVisitor implements Visitor {
+
+    /** Constructs an EmptyVisitor. */
     protected EmptyVisitor() {
     }