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 8597274cdfa5f2d8ed4db016e86d7aa26129d7da Author: Gary Gregory <[email protected]> AuthorDate: Sat Jan 10 13:09:40 2026 -0500 Javadoc --- .../java/org/apache/bcel/classfile/ConstantModule.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/bcel/classfile/ConstantModule.java b/src/main/java/org/apache/bcel/classfile/ConstantModule.java index c67cb9a0..72be14da 100644 --- a/src/main/java/org/apache/bcel/classfile/ConstantModule.java +++ b/src/main/java/org/apache/bcel/classfile/ConstantModule.java @@ -58,6 +58,8 @@ public final class ConstantModule extends Constant implements ConstantObject { } /** + * Constructs a ConstantModule. + * * @param nameIndex Name index in constant pool. Should refer to a ConstantUtf8. */ public ConstantModule(final int nameIndex) { @@ -89,14 +91,20 @@ public final class ConstantModule 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) { @@ -104,6 +112,8 @@ public final class ConstantModule extends Constant implements ConstantObject { } /** + * Gets the name index in constant pool of module name. + * * @return Name index in constant pool of module name. */ public int getNameIndex() { @@ -111,7 +121,9 @@ public final class ConstantModule extends Constant implements ConstantObject { } /** - * @param nameIndex the name index in the constant pool of this Constant Module + * Sets the name index in the constant pool. + * + * @param nameIndex the name index in the constant pool of this Constant Module. */ public void setNameIndex(final int nameIndex) { this.nameIndex = nameIndex;
