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 a7e37731fd4ef60f3ebdbe77e99a8571daa0f290 Author: Gary Gregory <[email protected]> AuthorDate: Sat Jan 10 13:09:39 2026 -0500 Javadoc --- .../java/org/apache/bcel/classfile/ConstantInvokeDynamic.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java b/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java index 82f6c45d..1034efc2 100644 --- a/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java +++ b/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java @@ -52,6 +52,12 @@ public final class ConstantInvokeDynamic extends ConstantCP { this(file.readUnsignedShort(), file.readUnsignedShort()); } + /** + * Constructs a ConstantInvokeDynamic. + * + * @param bootstrapMethodAttrIndex Index to the bootstrap method. + * @param nameAndTypeIndex Index to the name and type. + */ public ConstantInvokeDynamic(final int bootstrapMethodAttrIndex, final int nameAndTypeIndex) { super(Const.CONSTANT_InvokeDynamic, bootstrapMethodAttrIndex, nameAndTypeIndex); } @@ -68,6 +74,8 @@ public final class ConstantInvokeDynamic 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.
