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 d3237d0b5e1d613777325cd063a2ad6d11bf1cf3
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jan 10 13:09:38 2026 -0500

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

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java 
b/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
index 2c16d54a..4346fbeb 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
@@ -53,6 +53,12 @@ public final class ConstantDynamic extends ConstantCP {
         this(file.readShort(), file.readShort());
     }
 
+    /**
+     * Constructs a ConstantDynamic.
+     *
+     * @param bootstrapMethodAttrIndex Index to the bootstrap method.
+     * @param nameAndTypeIndex Index to the name and type.
+     */
     public ConstantDynamic(final int bootstrapMethodAttrIndex, final int 
nameAndTypeIndex) {
         super(Const.CONSTANT_Dynamic, bootstrapMethodAttrIndex, 
nameAndTypeIndex);
     }
@@ -69,6 +75,8 @@ public final class ConstantDynamic extends ConstantCP {
     }
 
     /**
+     * Gets the reference (index) to bootstrap method this constant refers to.
+     *
      * @return Reference (index) to bootstrap method this constant refers to.
      *
      *         Note that this method is a functional duplicate of 
getClassIndex for use by ConstantInvokeDynamic.

Reply via email to