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

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

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java 
b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
index a0de931d..697fbde5 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
@@ -53,6 +53,11 @@ public final class ConstantMethodType extends Constant {
         this(file.readUnsignedShort());
     }
 
+    /**
+     * Constructs a ConstantMethodType.
+     *
+     * @param descriptorIndex Index to the method descriptor.
+     */
     public ConstantMethodType(final int descriptorIndex) {
         super(Const.CONSTANT_MethodType);
         this.descriptorIndex = descriptorIndex;
@@ -81,10 +86,20 @@ public final class ConstantMethodType extends Constant {
         file.writeShort(descriptorIndex);
     }
 
+    /**
+     * Gets the descriptor index.
+     *
+     * @return the descriptor index.
+     */
     public int getDescriptorIndex() {
         return descriptorIndex;
     }
 
+    /**
+     * Sets the descriptor index.
+     *
+     * @param descriptorIndex the descriptor index.
+     */
     public void setDescriptorIndex(final int descriptorIndex) {
         this.descriptorIndex = descriptorIndex;
     }

Reply via email to