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-compress.git
commit 4716664eab7d24e9e59c8dc3334dcb4f4edaf923 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Fri Apr 11 15:48:50 2025 -0400 Javadoc --- .../compress/harmony/unpack200/bytecode/AnnotationsAttribute.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java index 02ae4d9b7..a97c6d112 100644 --- a/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java +++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java @@ -42,6 +42,14 @@ public static class Annotation { private int typeIndex; private int[] nameIndexes; + /** + * Constructs a new instance. + * + * @param numPairs Number of pairs, matches the lengths of {@code elementNames} and {@code elementValues}. + * @param type Type. + * @param elementNames Element names. + * @param elementValues Element values. + */ public Annotation(final int numPairs, final CPUTF8 type, final CPUTF8[] elementNames, final ElementValue[] elementValues) { this.numPairs = numPairs; this.type = type;