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 17edf2dee1da78fcafbdc8bd6edff8fdcacee49a Author: Gary Gregory <[email protected]> AuthorDate: Sat Feb 14 08:59:54 2026 -0500 Javadoc --- src/main/java/org/apache/bcel/classfile/StackMap.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/bcel/classfile/StackMap.java b/src/main/java/org/apache/bcel/classfile/StackMap.java index 6f1f9598..a070250c 100644 --- a/src/main/java/org/apache/bcel/classfile/StackMap.java +++ b/src/main/java/org/apache/bcel/classfile/StackMap.java @@ -67,10 +67,12 @@ public final class StackMap extends Attribute { } } - /* + /** + * Constructs a StackMap. + * * @param nameIndex Index of name. * @param length Content length in bytes. - * @param map Table of stack map entries. + * @param table Table of stack map entries. * @param constantPool Array of constants. */ public StackMap(final int nameIndex, final int length, final StackMapEntry[] table, final ConstantPool constantPool) { @@ -117,11 +119,18 @@ public final class StackMap extends Attribute { } } + /** + * Gets the map length. + * + * @return the map length. + */ public int getMapLength() { return table.length; } /** + * Gets the stack map. + * * @return Array of stack map entries. */ public StackMapEntry[] getStackMap() { @@ -129,6 +138,8 @@ public final class StackMap extends Attribute { } /** + * Sets the stack map. + * * @param table Array of stack map entries. */ public void setStackMap(final StackMapEntry[] table) {
