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 92b5c5c41d5fc3c0763c067d2e5ffd3445802052 Author: Gary Gregory <[email protected]> AuthorDate: Sat Feb 14 08:59:53 2026 -0500 Javadoc --- .../apache/bcel/classfile/ParameterAnnotationEntry.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java b/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java index e05d99c1..fce2cc75 100644 --- a/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java +++ b/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java @@ -34,6 +34,12 @@ public class ParameterAnnotationEntry implements Node { static final ParameterAnnotationEntry[] EMPTY_ARRAY = {}; + /** + * Creates parameter annotation entries from attributes. + * + * @param attributes the attributes. + * @return the parameter annotation entries. + */ public static ParameterAnnotationEntry[] createParameterAnnotationEntries(final Attribute[] attributes) { if (attributes == null) { return EMPTY_ARRAY; @@ -58,6 +64,7 @@ public class ParameterAnnotationEntry implements Node { * Constructs object from input stream. * * @param input Input stream. + * @param constantPool the constant pool. * @throws IOException if an I/O error occurs. */ ParameterAnnotationEntry(final DataInput input, final ConstantPool constantPool) throws IOException { @@ -80,6 +87,12 @@ public class ParameterAnnotationEntry implements Node { v.visitParameterAnnotationEntry(this); } + /** + * Dumps parameter annotation entry to file stream. + * + * @param dos Output file stream. + * @throws IOException if an I/O error occurs. + */ public void dump(final DataOutputStream dos) throws IOException { dos.writeShort(annotationTable.length); for (final AnnotationEntry entry : annotationTable) { @@ -88,7 +101,9 @@ public class ParameterAnnotationEntry implements Node { } /** - * returns the array of annotation entries in this annotation + * Gets the annotation entries. + * + * @return the array of annotation entries in this annotation. */ public AnnotationEntry[] getAnnotationEntries() { return annotationTable;
