This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 98cf530f Javadoc
98cf530f is described below
commit 98cf530fafb9a60faf3d13c9711768ce453f63c6
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 2 15:22:27 2026 -0400
Javadoc
---
src/examples/ClassDumper.java | 20 ++++++++++----------
.../org/apache/bcel/classfile/AnnotationEntry.java | 4 ++--
.../java/org/apache/bcel/classfile/Annotations.java | 4 ++--
.../java/org/apache/bcel/classfile/Attribute.java | 6 +++---
.../org/apache/bcel/classfile/BootstrapMethod.java | 4 ++--
.../org/apache/bcel/classfile/BootstrapMethods.java | 4 ++--
.../java/org/apache/bcel/classfile/ClassParser.java | 18 +++++++++---------
src/main/java/org/apache/bcel/classfile/Code.java | 2 +-
.../org/apache/bcel/classfile/CodeException.java | 4 ++--
.../java/org/apache/bcel/classfile/Constant.java | 4 ++--
.../java/org/apache/bcel/classfile/ConstantCP.java | 4 ++--
.../org/apache/bcel/classfile/ConstantClass.java | 4 ++--
.../org/apache/bcel/classfile/ConstantDouble.java | 4 ++--
.../org/apache/bcel/classfile/ConstantDynamic.java | 2 +-
.../org/apache/bcel/classfile/ConstantFieldref.java | 2 +-
.../org/apache/bcel/classfile/ConstantFloat.java | 4 ++--
.../org/apache/bcel/classfile/ConstantInteger.java | 4 ++--
.../bcel/classfile/ConstantInterfaceMethodref.java | 2 +-
.../apache/bcel/classfile/ConstantInvokeDynamic.java | 2 +-
.../java/org/apache/bcel/classfile/ConstantLong.java | 4 ++--
.../apache/bcel/classfile/ConstantMethodHandle.java | 4 ++--
.../apache/bcel/classfile/ConstantMethodType.java | 4 ++--
.../org/apache/bcel/classfile/ConstantMethodref.java | 2 +-
.../org/apache/bcel/classfile/ConstantModule.java | 4 ++--
.../apache/bcel/classfile/ConstantNameAndType.java | 4 ++--
.../org/apache/bcel/classfile/ConstantPackage.java | 4 ++--
.../java/org/apache/bcel/classfile/ConstantPool.java | 4 ++--
.../org/apache/bcel/classfile/ConstantString.java | 4 ++--
.../java/org/apache/bcel/classfile/ConstantUtf8.java | 6 +++---
.../org/apache/bcel/classfile/ConstantValue.java | 4 ++--
.../java/org/apache/bcel/classfile/Deprecated.java | 2 +-
.../java/org/apache/bcel/classfile/ElementValue.java | 6 +++---
.../org/apache/bcel/classfile/ElementValuePair.java | 2 +-
.../org/apache/bcel/classfile/ExceptionTable.java | 4 ++--
.../org/apache/bcel/classfile/FieldOrMethod.java | 6 +++---
.../java/org/apache/bcel/classfile/InnerClass.java | 4 ++--
.../java/org/apache/bcel/classfile/InnerClasses.java | 4 ++--
.../java/org/apache/bcel/classfile/JavaClass.java | 8 ++++----
.../java/org/apache/bcel/classfile/LineNumber.java | 4 ++--
.../org/apache/bcel/classfile/LineNumberTable.java | 4 ++--
.../org/apache/bcel/classfile/LocalVariable.java | 4 ++--
.../apache/bcel/classfile/LocalVariableTable.java | 4 ++--
src/main/java/org/apache/bcel/classfile/Method.java | 2 +-
.../org/apache/bcel/classfile/MethodParameter.java | 4 ++--
.../org/apache/bcel/classfile/MethodParameters.java | 2 +-
src/main/java/org/apache/bcel/classfile/Module.java | 4 ++--
.../org/apache/bcel/classfile/ModuleExports.java | 4 ++--
.../org/apache/bcel/classfile/ModuleMainClass.java | 4 ++--
.../java/org/apache/bcel/classfile/ModuleOpens.java | 4 ++--
.../org/apache/bcel/classfile/ModulePackages.java | 4 ++--
.../org/apache/bcel/classfile/ModuleProvides.java | 4 ++--
.../org/apache/bcel/classfile/ModuleRequires.java | 4 ++--
.../java/org/apache/bcel/classfile/NestHost.java | 4 ++--
.../java/org/apache/bcel/classfile/NestMembers.java | 4 ++--
.../java/org/apache/bcel/classfile/PMGClass.java | 4 ++--
.../bcel/classfile/ParameterAnnotationEntry.java | 4 ++--
.../apache/bcel/classfile/PermittedSubclasses.java | 4 ++--
src/main/java/org/apache/bcel/classfile/Record.java | 4 ++--
.../apache/bcel/classfile/RecordComponentInfo.java | 4 ++--
.../java/org/apache/bcel/classfile/Signature.java | 4 ++--
.../java/org/apache/bcel/classfile/SourceFile.java | 4 ++--
.../java/org/apache/bcel/classfile/StackMap.java | 4 ++--
.../org/apache/bcel/classfile/StackMapEntry.java | 4 ++--
.../java/org/apache/bcel/classfile/StackMapType.java | 4 ++--
.../java/org/apache/bcel/classfile/Synthetic.java | 2 +-
src/main/java/org/apache/bcel/classfile/Unknown.java | 4 ++--
src/main/java/org/apache/bcel/classfile/Utility.java | 8 ++++----
.../org/apache/bcel/generic/AnnotationEntryGen.java | 4 ++--
.../org/apache/bcel/generic/ElementValueGen.java | 4 ++--
.../org/apache/bcel/generic/ElementValuePairGen.java | 2 +-
.../java/org/apache/bcel/generic/Instruction.java | 2 +-
src/main/java/org/apache/bcel/util/Class2HTML.java | 2 +-
src/main/java/org/apache/bcel/util/ClassPath.java | 18 +++++++++---------
.../java/org/apache/bcel/classfile/RecordTest.java | 4 ++--
.../java/org/apache/bcel/data/ConstantPoolX.java | 2 +-
.../apache/bcel/verifier/VerifyBadClassesTest.java | 2 +-
76 files changed, 166 insertions(+), 166 deletions(-)
diff --git a/src/examples/ClassDumper.java b/src/examples/ClassDumper.java
index faf708e5..acd9516f 100644
--- a/src/examples/ClassDumper.java
+++ b/src/examples/ClassDumper.java
@@ -68,7 +68,7 @@ final class ClassDumper {
* fields and commands. A <em>ClassFormatException</em> is raised, if the
file is not a valid .class file. (This does
* not include verification of the byte code as it is performed by the
Java interpreter).
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
public void dump() throws IOException, ClassFormatException {
@@ -93,7 +93,7 @@ final class ClassDumper {
/**
* Processes information about the attributes of the class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processAttributes() throws IOException, ClassFormatException {
@@ -115,7 +115,7 @@ final class ClassDumper {
/**
* Processes information about the class and its super class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processClassInfo() throws IOException, ClassFormatException {
@@ -147,7 +147,7 @@ final class ClassDumper {
/**
* Processes constant pool entries.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processConstantPool() throws IOException,
ClassFormatException {
@@ -183,7 +183,7 @@ final class ClassDumper {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processFieldOrMethod() throws IOException,
ClassFormatException {
@@ -232,7 +232,7 @@ final class ClassDumper {
/**
* Processes information about the fields of the class, that is, its
variables.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processFields() throws IOException, ClassFormatException {
@@ -253,7 +253,7 @@ final class ClassDumper {
/**
* Checks whether the header of the file is ok. Of course, this has to be
the first action on successive file reads.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processID() throws IOException, ClassFormatException {
@@ -270,7 +270,7 @@ final class ClassDumper {
/**
* Processes information about the interfaces implemented by this class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processInterfaces() throws IOException, ClassFormatException {
@@ -296,7 +296,7 @@ final class ClassDumper {
/**
* Processes information about the methods of the class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processMethods() throws IOException, ClassFormatException {
@@ -316,7 +316,7 @@ final class ClassDumper {
/**
* Processes major and minor version of compiler which created the file.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
private void processVersion() throws IOException, ClassFormatException {
diff --git a/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
b/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
index 05e0c8dc..9a58b0cc 100644
--- a/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
+++ b/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
@@ -58,7 +58,7 @@ public class AnnotationEntry implements Node {
* @param constantPool The constant pool.
* @param isRuntimeVisible whether the annotation is runtime visible.
* @return The entry.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static AnnotationEntry read(final DataInput input, final
ConstantPool constantPool, final boolean isRuntimeVisible) throws IOException {
final AnnotationEntry annotationEntry = new
AnnotationEntry(input.readUnsignedShort(), constantPool, isRuntimeVisible);
@@ -116,7 +116,7 @@ public class AnnotationEntry implements Node {
* Dumps this annotation entry to a DataOutputStream.
*
* @param dos The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream dos) throws IOException {
dos.writeShort(typeIndex); // u2 index of type name in cpool
diff --git a/src/main/java/org/apache/bcel/classfile/Annotations.java
b/src/main/java/org/apache/bcel/classfile/Annotations.java
index 7535e114..8d77d3ed 100644
--- a/src/main/java/org/apache/bcel/classfile/Annotations.java
+++ b/src/main/java/org/apache/bcel/classfile/Annotations.java
@@ -62,7 +62,7 @@ public abstract class Annotations extends Attribute
implements Iterable<Annotati
* @param input Input stream.
* @param constantPool Array of constants.
* @param isRuntimeVisible whether this Annotation visible at runtime.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
Annotations(final byte annotationType, final int nameIndex, final int
length, final DataInput input, final ConstantPool constantPool,
final boolean isRuntimeVisible) throws IOException {
@@ -155,7 +155,7 @@ public abstract class Annotations extends Attribute
implements Iterable<Annotati
* Writes the annotations to a DataOutputStream.
*
* @param dos The data output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
protected void writeAnnotations(final DataOutputStream dos) throws
IOException {
dos.writeShort(annotationTable.length);
diff --git a/src/main/java/org/apache/bcel/classfile/Attribute.java
b/src/main/java/org/apache/bcel/classfile/Attribute.java
index b39f9f7f..deb478f4 100644
--- a/src/main/java/org/apache/bcel/classfile/Attribute.java
+++ b/src/main/java/org/apache/bcel/classfile/Attribute.java
@@ -110,7 +110,7 @@ public abstract class Attribute implements Cloneable, Node {
* @param dataInput Input stream.
* @param constantPool Array of constants.
* @return Attribute.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @since 6.0
*/
public static Attribute readAttribute(final DataInput dataInput, final
ConstantPool constantPool) throws IOException {
@@ -216,7 +216,7 @@ public abstract class Attribute implements Cloneable, Node {
* @param dataInputStream Input stream.
* @param constantPool Array of constants.
* @return Attribute.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static Attribute readAttribute(final DataInputStream
dataInputStream, final ConstantPool constantPool) throws IOException {
return readAttribute((DataInput) dataInputStream, constantPool);
@@ -315,7 +315,7 @@ public abstract class Attribute implements Cloneable, Node {
* Dumps attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(name_index);
diff --git a/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
b/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
index e399b8cf..8111e61f 100644
--- a/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
+++ b/src/main/java/org/apache/bcel/classfile/BootstrapMethod.java
@@ -58,7 +58,7 @@ public class BootstrapMethod implements Cloneable {
* Constructs object from input stream.
*
* @param input Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
BootstrapMethod(final DataInput input) throws IOException {
this(input.readUnsignedShort(), input.readUnsignedShort());
@@ -104,7 +104,7 @@ public class BootstrapMethod implements Cloneable {
* Dumps object to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public final void dump(final DataOutputStream file) throws IOException {
file.writeShort(bootstrapMethodRef);
diff --git a/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
b/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
index b7cc5eaf..a3a8dcaf 100644
--- a/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
+++ b/src/main/java/org/apache/bcel/classfile/BootstrapMethods.java
@@ -68,7 +68,7 @@ public class BootstrapMethods extends Attribute implements
Iterable<BootstrapMet
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
BootstrapMethods(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (BootstrapMethod[]) null, constantPool);
@@ -112,7 +112,7 @@ public class BootstrapMethods extends Attribute implements
Iterable<BootstrapMet
* Dumps bootstrap methods attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public final void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ClassParser.java
b/src/main/java/org/apache/bcel/classfile/ClassParser.java
index 16e6c57e..c3fad688 100644
--- a/src/main/java/org/apache/bcel/classfile/ClassParser.java
+++ b/src/main/java/org/apache/bcel/classfile/ClassParser.java
@@ -117,7 +117,7 @@ public final class ClassParser {
* not include verification of the byte code as it is performed by the
Java interpreter).
*
* @return Class object representing the parsed class file.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
public JavaClass parse() throws IOException, ClassFormatException {
@@ -185,7 +185,7 @@ public final class ClassParser {
/**
* Reads information about the attributes of the class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readAttributes() throws IOException, ClassFormatException {
@@ -199,7 +199,7 @@ public final class ClassParser {
/**
* Reads information about the class and its super class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readClassInfo() throws IOException, ClassFormatException {
@@ -220,7 +220,7 @@ public final class ClassParser {
/**
* Reads constant pool entries.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readConstantPool() throws IOException, ClassFormatException {
@@ -230,7 +230,7 @@ public final class ClassParser {
/**
* Reads information about the fields of the class, that is, its variables.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readFields() throws IOException, ClassFormatException {
@@ -244,7 +244,7 @@ public final class ClassParser {
/**
* Checks whether the header of the file is ok. Of course, this has to be
the first action on successive file reads.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readID() throws IOException, ClassFormatException {
@@ -256,7 +256,7 @@ public final class ClassParser {
/**
* Reads information about the interfaces implemented by this class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readInterfaces() throws IOException, ClassFormatException {
@@ -266,7 +266,7 @@ public final class ClassParser {
/**
* Reads information about the methods of the class.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readMethods() throws IOException {
@@ -280,7 +280,7 @@ public final class ClassParser {
/**
* Reads major and minor version of compiler which created the file.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
private void readVersion() throws IOException, ClassFormatException {
diff --git a/src/main/java/org/apache/bcel/classfile/Code.java
b/src/main/java/org/apache/bcel/classfile/Code.java
index c8ca3b02..0f5de194 100644
--- a/src/main/java/org/apache/bcel/classfile/Code.java
+++ b/src/main/java/org/apache/bcel/classfile/Code.java
@@ -193,7 +193,7 @@ public final class Code extends Attribute {
* Dumps code attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/CodeException.java
b/src/main/java/org/apache/bcel/classfile/CodeException.java
index d76ddf9d..701fa9b1 100644
--- a/src/main/java/org/apache/bcel/classfile/CodeException.java
+++ b/src/main/java/org/apache/bcel/classfile/CodeException.java
@@ -88,7 +88,7 @@ public final class CodeException implements Cloneable, Node,
Constants {
* Constructs a new instance from a DataInput.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
CodeException(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort(),
file.readUnsignedShort(), file.readUnsignedShort());
@@ -139,7 +139,7 @@ public final class CodeException implements Cloneable,
Node, Constants {
* Dumps code exception to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(startPc);
diff --git a/src/main/java/org/apache/bcel/classfile/Constant.java
b/src/main/java/org/apache/bcel/classfile/Constant.java
index 53309e06..6d3c47b6 100644
--- a/src/main/java/org/apache/bcel/classfile/Constant.java
+++ b/src/main/java/org/apache/bcel/classfile/Constant.java
@@ -61,7 +61,7 @@ public abstract class Constant implements Cloneable, Node {
*
* @param dataInput Input stream.
* @return Constant object.
- * @throws IOException if an I/O error occurs reading from the given
{@code dataInput}.
+ * @throws IOException Thrown if an I/O error occurs reading from the
given {@code dataInput}.
* @throws ClassFormatException if the next byte is not recognized
* @since 6.0 made public
*/
@@ -170,7 +170,7 @@ public abstract class Constant implements Cloneable, Node {
* Dumps constant to file stream in binary format.
*
* @param file The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public abstract void dump(DataOutputStream file) throws IOException;
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantCP.java
b/src/main/java/org/apache/bcel/classfile/ConstantCP.java
index 461c73d2..53c20a94 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantCP.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantCP.java
@@ -58,7 +58,7 @@ public abstract class ConstantCP extends Constant {
*
* @param tag Constant type tag.
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantCP(final byte tag, final DataInput file) throws IOException {
this(tag, file.readUnsignedShort(), file.readUnsignedShort());
@@ -90,7 +90,7 @@ public abstract class ConstantCP extends Constant {
* Dumps constant field reference to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public final void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantClass.java
b/src/main/java/org/apache/bcel/classfile/ConstantClass.java
index 853e21cc..24cb44c6 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantClass.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantClass.java
@@ -46,7 +46,7 @@ public final class ConstantClass extends Constant implements
ConstantObject {
* Constructs an instance from file data.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O error occurs reading from the given
{@code dataInput}.
+ * @throws IOException Thrown if an I/O error occurs reading from the
given {@code dataInput}.
*/
ConstantClass(final DataInput dataInput) throws IOException {
this(dataInput.readUnsignedShort());
@@ -77,7 +77,7 @@ public final class ConstantClass extends Constant implements
ConstantObject {
* Dumps constant class to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs writing to the
DataOutputStream.
+ * @throws IOException Thrown if an I/O error occurs writing to the
DataOutputStream.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
b/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
index a1e55eed..411790f4 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantDouble.java
@@ -46,7 +46,7 @@ public final class ConstantDouble extends Constant implements
ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantDouble(final DataInput file) throws IOException {
this(file.readDouble());
@@ -77,7 +77,7 @@ public final class ConstantDouble extends Constant implements
ConstantObject {
* Dumps constant double to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
b/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
index 9f498e42..18ed3053 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantDynamic.java
@@ -47,7 +47,7 @@ public final class ConstantDynamic extends ConstantCP {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantDynamic(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort());
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantFieldref.java
b/src/main/java/org/apache/bcel/classfile/ConstantFieldref.java
index 3559913e..d19a1530 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantFieldref.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantFieldref.java
@@ -41,7 +41,7 @@ public final class ConstantFieldref extends ConstantCP {
* Initialize instance from input data.
*
* @param input input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantFieldref(final DataInput input) throws IOException {
super(Const.CONSTANT_Fieldref, input);
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
b/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
index e9de2fc0..941cf4c8 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantFloat.java
@@ -47,7 +47,7 @@ public final class ConstantFloat extends Constant implements
ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantFloat(final DataInput file) throws IOException {
this(file.readFloat());
@@ -78,7 +78,7 @@ public final class ConstantFloat extends Constant implements
ConstantObject {
* Dumps constant float to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
b/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
index 5393eeec..9800ceb2 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantInteger.java
@@ -46,7 +46,7 @@ public final class ConstantInteger extends Constant
implements ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantInteger(final DataInput file) throws IOException {
this(file.readInt());
@@ -77,7 +77,7 @@ public final class ConstantInteger extends Constant
implements ConstantObject {
* Dumps constant integer to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git
a/src/main/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java
b/src/main/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java
index 107b1127..91d9c99c 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java
@@ -41,7 +41,7 @@ public final class ConstantInterfaceMethodref extends
ConstantCP {
* Initialize instance from input data.
*
* @param input input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantInterfaceMethodref(final DataInput input) throws IOException {
super(Const.CONSTANT_InterfaceMethodref, input);
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java
b/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java
index 5db5d974..47ad7dd1 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantInvokeDynamic.java
@@ -46,7 +46,7 @@ public final class ConstantInvokeDynamic extends ConstantCP {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantInvokeDynamic(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort());
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantLong.java
b/src/main/java/org/apache/bcel/classfile/ConstantLong.java
index 084ae23d..3e9df52d 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantLong.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantLong.java
@@ -46,7 +46,7 @@ public final class ConstantLong extends Constant implements
ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantLong(final DataInput file) throws IOException {
this(file.readLong());
@@ -77,7 +77,7 @@ public final class ConstantLong extends Constant implements
ConstantObject {
* Dumps constant long to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
b/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
index ebcd21cf..bdc1fd0e 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodHandle.java
@@ -48,7 +48,7 @@ public final class ConstantMethodHandle extends Constant {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantMethodHandle(final DataInput file) throws IOException {
this(file.readUnsignedByte(), file.readUnsignedShort());
@@ -81,7 +81,7 @@ public final class ConstantMethodHandle extends Constant {
* Dumps method kind and index to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
index b080e5e1..c72a5f9f 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodType.java
@@ -47,7 +47,7 @@ public final class ConstantMethodType extends Constant {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantMethodType(final DataInput file) throws IOException {
this(file.readUnsignedShort());
@@ -78,7 +78,7 @@ public final class ConstantMethodType extends Constant {
* Dumps name and signature index to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantMethodref.java
b/src/main/java/org/apache/bcel/classfile/ConstantMethodref.java
index cc1ad4fd..215333df 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantMethodref.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantMethodref.java
@@ -41,7 +41,7 @@ public final class ConstantMethodref extends ConstantCP {
* Initialize instance from input data.
*
* @param input input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantMethodref(final DataInput input) throws IOException {
super(Const.CONSTANT_Methodref, input);
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantModule.java
b/src/main/java/org/apache/bcel/classfile/ConstantModule.java
index e92064bd..9bc7d6d5 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantModule.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantModule.java
@@ -51,7 +51,7 @@ public final class ConstantModule extends Constant implements
ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantModule(final DataInput file) throws IOException {
this(file.readUnsignedShort());
@@ -82,7 +82,7 @@ public final class ConstantModule extends Constant implements
ConstantObject {
* Dumps constant module to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
index c31858cd..58b4f55a 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantNameAndType.java
@@ -48,7 +48,7 @@ public final class ConstantNameAndType extends Constant {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantNameAndType(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort());
@@ -81,7 +81,7 @@ public final class ConstantNameAndType extends Constant {
* Dumps name and signature index to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
b/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
index 931ff774..ed340f95 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPackage.java
@@ -51,7 +51,7 @@ public final class ConstantPackage extends Constant
implements ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantPackage(final DataInput file) throws IOException {
this(file.readUnsignedShort());
@@ -82,7 +82,7 @@ public final class ConstantPackage extends Constant
implements ConstantObject {
* Dumps constant package to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index 11e7bea5..cd8eb9f8 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -79,7 +79,7 @@ public class ConstantPool implements Cloneable, Node,
Iterable<Constant> {
* Reads constants from given input stream.
*
* @param input Input stream.
- * @throws IOException if problem in readUnsignedShort or readConstant.
+ * @throws IOException Thrown if problem in readUnsignedShort or
readConstant.
*/
public ConstantPool(final DataInput input) throws IOException {
byte tag;
@@ -233,7 +233,7 @@ public class ConstantPool implements Cloneable, Node,
Iterable<Constant> {
* Dumps constant pool to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if problem in writeShort or dump
+ * @throws IOException Thrown if problem in writeShort or dump
*/
public void dump(final DataOutputStream file) throws IOException {
/*
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantString.java
b/src/main/java/org/apache/bcel/classfile/ConstantString.java
index 5660a0e4..6b145289 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantString.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantString.java
@@ -46,7 +46,7 @@ public final class ConstantString extends Constant implements
ConstantObject {
* Initialize instance from file data.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantString(final DataInput file) throws IOException {
this(file.readUnsignedShort());
@@ -77,7 +77,7 @@ public final class ConstantString extends Constant implements
ConstantObject {
* Dumps constant field reference to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
index 48a8d8b8..151e1b21 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
@@ -155,7 +155,7 @@ public final class ConstantUtf8 extends Constant {
*
* @param dataInput The value.
* @return A new or cached instance of the given value.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @since 6.0
*/
public static ConstantUtf8 getInstance(final DataInput dataInput) throws
IOException {
@@ -200,7 +200,7 @@ public final class ConstantUtf8 extends Constant {
* Initializes instance from file data.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantUtf8(final DataInput dataInput) throws IOException {
super(Const.CONSTANT_Utf8);
@@ -234,7 +234,7 @@ public final class ConstantUtf8 extends Constant {
* Dumps String in Utf8 format to file stream.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantValue.java
b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
index a774b854..c3657cb6 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantValue.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantValue.java
@@ -60,7 +60,7 @@ public final class ConstantValue extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ConstantValue(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, input.readUnsignedShort(), constantPool);
@@ -107,7 +107,7 @@ public final class ConstantValue extends Attribute {
* Dumps constant value attribute to file stream on binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Deprecated.java
b/src/main/java/org/apache/bcel/classfile/Deprecated.java
index 2ca6e5c2..7b10cee0 100644
--- a/src/main/java/org/apache/bcel/classfile/Deprecated.java
+++ b/src/main/java/org/apache/bcel/classfile/Deprecated.java
@@ -71,7 +71,7 @@ public final class Deprecated extends Attribute {
* @param length JVM Specification: "The value of the
attribute_length item must be zero.".
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @see <a
href="https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.15">JVM
Specification: The Deprecated Attribute</a>
*/
Deprecated(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ElementValue.java
b/src/main/java/org/apache/bcel/classfile/ElementValue.java
index efb8ba3c..e1af96df 100644
--- a/src/main/java/org/apache/bcel/classfile/ElementValue.java
+++ b/src/main/java/org/apache/bcel/classfile/ElementValue.java
@@ -101,7 +101,7 @@ public abstract class ElementValue {
* @param input Raw data input.
* @param cpool Constant pool.
* @return A new ElementValue.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static ElementValue readElementValue(final DataInput input, final
ConstantPool cpool) throws IOException {
return readElementValue(input, cpool, 0);
@@ -156,7 +156,7 @@ public abstract class ElementValue {
* @param cpool Constant pool.
* @param arrayNesting level of current array nesting.
* @return A new ElementValue.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @since 6.7.0
*/
public static ElementValue readElementValue(final DataInput input, final
ConstantPool cpool, final int arrayNesting) throws IOException {
@@ -190,7 +190,7 @@ public abstract class ElementValue {
* Dumps this element value to a DataOutputStream.
*
* @param dos The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public abstract void dump(DataOutputStream dos) throws IOException;
diff --git a/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
b/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
index 7b93394b..8447273b 100644
--- a/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
+++ b/src/main/java/org/apache/bcel/classfile/ElementValuePair.java
@@ -53,7 +53,7 @@ public class ElementValuePair {
* Dumps this element value pair to a DataOutputStream.
*
* @param dos The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
protected void dump(final DataOutputStream dos) throws IOException {
dos.writeShort(elementNameIndex); // u2 name of the element
diff --git a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
index a4959cd9..48aca824 100644
--- a/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
+++ b/src/main/java/org/apache/bcel/classfile/ExceptionTable.java
@@ -66,7 +66,7 @@ public final class ExceptionTable extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ExceptionTable(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (int[]) null, constantPool);
@@ -117,7 +117,7 @@ public final class ExceptionTable extends Attribute {
* Dumps exceptions attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
index 2fd1e7dd..e779686e 100644
--- a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
+++ b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
@@ -73,7 +73,7 @@ public abstract class FieldOrMethod extends AccessFlags
implements Cloneable, No
*
* @param file Input stream.
* @param constantPool The constant pool.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
protected FieldOrMethod(final DataInput file, final ConstantPool
constantPool) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort(),
file.readUnsignedShort(), null, constantPool);
@@ -90,7 +90,7 @@ public abstract class FieldOrMethod extends AccessFlags
implements Cloneable, No
*
* @param file Input stream.
* @param constantPool The constant pool.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @deprecated (6.0) Use {@link #FieldOrMethod(java.io.DataInput,
ConstantPool)} instead.
*/
@java.lang.Deprecated
@@ -149,7 +149,7 @@ public abstract class FieldOrMethod extends AccessFlags
implements Cloneable, No
* Dumps object to file stream on binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public final void dump(final DataOutputStream file) throws IOException {
file.writeShort(super.getAccessFlags());
diff --git a/src/main/java/org/apache/bcel/classfile/InnerClass.java
b/src/main/java/org/apache/bcel/classfile/InnerClass.java
index 6a522852..82fdb12f 100644
--- a/src/main/java/org/apache/bcel/classfile/InnerClass.java
+++ b/src/main/java/org/apache/bcel/classfile/InnerClass.java
@@ -41,7 +41,7 @@ public final class InnerClass implements Cloneable, Node {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
InnerClass(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort(),
file.readUnsignedShort(), file.readUnsignedShort());
@@ -100,7 +100,7 @@ public final class InnerClass implements Cloneable, Node {
* Dumps inner class attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(innerClassIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/InnerClasses.java
b/src/main/java/org/apache/bcel/classfile/InnerClasses.java
index 81fe60a1..e130c77a 100644
--- a/src/main/java/org/apache/bcel/classfile/InnerClasses.java
+++ b/src/main/java/org/apache/bcel/classfile/InnerClasses.java
@@ -60,7 +60,7 @@ public final class InnerClasses extends Attribute implements
Iterable<InnerClass
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
InnerClasses(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (InnerClass[]) null, constantPool);
@@ -115,7 +115,7 @@ public final class InnerClasses extends Attribute
implements Iterable<InnerClass
* Dumps source file attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/JavaClass.java
b/src/main/java/org/apache/bcel/classfile/JavaClass.java
index af81377a..287c9cf4 100644
--- a/src/main/java/org/apache/bcel/classfile/JavaClass.java
+++ b/src/main/java/org/apache/bcel/classfile/JavaClass.java
@@ -338,7 +338,7 @@ public class JavaClass extends AccessFlags implements
Cloneable, Node, Comparabl
* Dumps Java class to output stream in binary format.
*
* @param file Output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeInt(Const.JVM_CLASSFILE_MAGIC);
@@ -375,7 +375,7 @@ public class JavaClass extends AccessFlags implements
Cloneable, Node, Comparabl
* Dumps class to a file.
*
* @param file Output file.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final File file) throws IOException {
final String parent = file.getParent();
@@ -394,7 +394,7 @@ public class JavaClass extends AccessFlags implements
Cloneable, Node, Comparabl
* Dumps Java class to output stream in binary format.
*
* @param file Output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final OutputStream file) throws IOException {
dump(new DataOutputStream(file));
@@ -404,7 +404,7 @@ public class JavaClass extends AccessFlags implements
Cloneable, Node, Comparabl
* Dumps class to a file named fileName.
*
* @param fileName Output file name.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final String fileName) throws IOException {
dump(new File(fileName));
diff --git a/src/main/java/org/apache/bcel/classfile/LineNumber.java
b/src/main/java/org/apache/bcel/classfile/LineNumber.java
index 301cd57d..e1cdc917 100644
--- a/src/main/java/org/apache/bcel/classfile/LineNumber.java
+++ b/src/main/java/org/apache/bcel/classfile/LineNumber.java
@@ -44,7 +44,7 @@ public final class LineNumber implements Cloneable, Node {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
LineNumber(final DataInput file) throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort());
@@ -99,7 +99,7 @@ public final class LineNumber implements Cloneable, Node {
* Dumps line number/pc pair to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(startPc);
diff --git a/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
b/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
index 15b792a3..b206abcc 100644
--- a/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
+++ b/src/main/java/org/apache/bcel/classfile/LineNumberTable.java
@@ -48,7 +48,7 @@ public final class LineNumberTable extends Attribute
implements Iterable<LineNum
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
LineNumberTable(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (LineNumber[]) null, constantPool);
@@ -114,7 +114,7 @@ public final class LineNumberTable extends Attribute
implements Iterable<LineNum
* Dumps line number table attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/LocalVariable.java
b/src/main/java/org/apache/bcel/classfile/LocalVariable.java
index 496d031b..d483d4f7 100644
--- a/src/main/java/org/apache/bcel/classfile/LocalVariable.java
+++ b/src/main/java/org/apache/bcel/classfile/LocalVariable.java
@@ -67,7 +67,7 @@ public final class LocalVariable implements Cloneable, Node,
Constants {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
LocalVariable(final DataInput file, final ConstantPool constantPool)
throws IOException {
this(file.readUnsignedShort(), file.readUnsignedShort(),
file.readUnsignedShort(), file.readUnsignedShort(), file.readUnsignedShort(),
constantPool);
@@ -149,7 +149,7 @@ public final class LocalVariable implements Cloneable,
Node, Constants {
* Dumps local variable to file stream in binary format.
*
* @param dataOutputStream Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @see java.io.FilterOutputStream#out
*/
public void dump(final DataOutputStream dataOutputStream) throws
IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
b/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
index 5bc5e6e7..59218c4b 100644
--- a/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
+++ b/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
@@ -48,7 +48,7 @@ public class LocalVariableTable extends Attribute implements
Iterable<LocalVaria
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
LocalVariableTable(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (LocalVariable[]) null, constantPool);
@@ -110,7 +110,7 @@ public class LocalVariableTable extends Attribute
implements Iterable<LocalVaria
* Dumps local variable table attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public final void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Method.java
b/src/main/java/org/apache/bcel/classfile/Method.java
index 05643c1c..31ccf4eb 100644
--- a/src/main/java/org/apache/bcel/classfile/Method.java
+++ b/src/main/java/org/apache/bcel/classfile/Method.java
@@ -82,7 +82,7 @@ public final class Method extends FieldOrMethod {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file.
*/
Method(final DataInput file, final ConstantPool constantPool) throws
IOException, ClassFormatException {
diff --git a/src/main/java/org/apache/bcel/classfile/MethodParameter.java
b/src/main/java/org/apache/bcel/classfile/MethodParameter.java
index 5ab18e66..c03c7317 100644
--- a/src/main/java/org/apache/bcel/classfile/MethodParameter.java
+++ b/src/main/java/org/apache/bcel/classfile/MethodParameter.java
@@ -53,7 +53,7 @@ public class MethodParameter implements Cloneable, Node {
* Constructs an instance from a DataInput.
*
* @param input Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException if a class is malformed or cannot be
interpreted as a class file
*/
MethodParameter(final DataInput input) throws IOException {
@@ -84,7 +84,7 @@ public class MethodParameter implements Cloneable, Node {
* Dumps object to file stream on binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public final void dump(final DataOutputStream file) throws IOException {
file.writeShort(nameIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/MethodParameters.java
b/src/main/java/org/apache/bcel/classfile/MethodParameters.java
index 7ea1f54e..ada146e1 100644
--- a/src/main/java/org/apache/bcel/classfile/MethodParameters.java
+++ b/src/main/java/org/apache/bcel/classfile/MethodParameters.java
@@ -71,7 +71,7 @@ public class MethodParameters extends Attribute implements
Iterable<MethodParame
* Dumps method parameters attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Module.java
b/src/main/java/org/apache/bcel/classfile/Module.java
index bf4f76a1..a40c8d98 100644
--- a/src/main/java/org/apache/bcel/classfile/Module.java
+++ b/src/main/java/org/apache/bcel/classfile/Module.java
@@ -68,7 +68,7 @@ public final class Module extends Attribute {
* @param length Content length in bytes.
* @param dataInput Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
Module(final int nameIndex, final int length, final DataInput dataInput,
final ConstantPool constantPool) throws IOException {
super(Const.ATTR_MODULE, nameIndex, length, constantPool);
@@ -143,7 +143,7 @@ public final class Module extends Attribute {
* Dumps Module attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleExports.java
b/src/main/java/org/apache/bcel/classfile/ModuleExports.java
index 3c2d681d..383207ca 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleExports.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleExports.java
@@ -47,7 +47,7 @@ public final class ModuleExports implements Cloneable, Node {
* Constructs object from file stream.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
ModuleExports(final DataInput dataInput) throws IOException {
exportsIndex = dataInput.readUnsignedShort();
@@ -85,7 +85,7 @@ public final class ModuleExports implements Cloneable, Node {
* Dumps table entry to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(exportsIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
b/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
index d2433829..0f391a50 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleMainClass.java
@@ -43,7 +43,7 @@ public final class ModuleMainClass extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ModuleMainClass(final int nameIndex, final int length, final DataInput
input, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, 0, constantPool);
@@ -98,7 +98,7 @@ public final class ModuleMainClass extends Attribute {
* Dumps ModuleMainClass attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
b/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
index 8908596c..43808968 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleOpens.java
@@ -47,7 +47,7 @@ public final class ModuleOpens implements Cloneable, Node {
* Constructs object from file stream.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
ModuleOpens(final DataInput dataInput) throws IOException {
opensIndex = dataInput.readUnsignedShort();
@@ -85,7 +85,7 @@ public final class ModuleOpens implements Cloneable, Node {
* Dumps table entry to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(opensIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/ModulePackages.java
b/src/main/java/org/apache/bcel/classfile/ModulePackages.java
index 798f3692..45584982 100644
--- a/src/main/java/org/apache/bcel/classfile/ModulePackages.java
+++ b/src/main/java/org/apache/bcel/classfile/ModulePackages.java
@@ -45,7 +45,7 @@ public final class ModulePackages extends Attribute {
* @param length Content length in bytes.
* @param dataInput Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ModulePackages(final int nameIndex, final int length, final DataInput
dataInput, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (int[]) null, constantPool);
@@ -104,7 +104,7 @@ public final class ModulePackages extends Attribute {
* Dumps ModulePackages attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
b/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
index f400696a..51afc8d3 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleProvides.java
@@ -50,7 +50,7 @@ public final class ModuleProvides implements Cloneable, Node {
* Constructs object from file stream.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
ModuleProvides(final DataInput dataInput) throws IOException {
providesIndex = dataInput.readUnsignedShort();
@@ -87,7 +87,7 @@ public final class ModuleProvides implements Cloneable, Node {
* Dumps table entry to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(providesIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
b/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
index 1a5fd89f..83845130 100644
--- a/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
+++ b/src/main/java/org/apache/bcel/classfile/ModuleRequires.java
@@ -42,7 +42,7 @@ public final class ModuleRequires implements Cloneable, Node {
* Constructs object from file stream.
*
* @param file Input stream.
- * @throws IOException if an I/O Exception occurs in readUnsignedShort.
+ * @throws IOException Thrown if an I/O Exception occurs in
readUnsignedShort.
*/
ModuleRequires(final DataInput file) throws IOException {
requiresIndex = file.readUnsignedShort();
@@ -79,7 +79,7 @@ public final class ModuleRequires implements Cloneable, Node {
* Dumps table entry to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O Exception occurs in writeShort.
+ * @throws IOException Thrown if an I/O Exception occurs in writeShort.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(requiresIndex);
diff --git a/src/main/java/org/apache/bcel/classfile/NestHost.java
b/src/main/java/org/apache/bcel/classfile/NestHost.java
index 98961f37..61776bdf 100644
--- a/src/main/java/org/apache/bcel/classfile/NestHost.java
+++ b/src/main/java/org/apache/bcel/classfile/NestHost.java
@@ -43,7 +43,7 @@ public final class NestHost extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
NestHost(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, 0, constantPool);
@@ -98,7 +98,7 @@ public final class NestHost extends Attribute {
* Dumps NestHost attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/NestMembers.java
b/src/main/java/org/apache/bcel/classfile/NestMembers.java
index f406b177..2cac6c29 100644
--- a/src/main/java/org/apache/bcel/classfile/NestMembers.java
+++ b/src/main/java/org/apache/bcel/classfile/NestMembers.java
@@ -46,7 +46,7 @@ public final class NestMembers extends Attribute {
* @param length Content length in bytes.
* @param dataInput Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
NestMembers(final int nameIndex, final int length, final DataInput
dataInput, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (int[]) null, constantPool);
@@ -105,7 +105,7 @@ public final class NestMembers extends Attribute {
* Dumps NestMembers attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/PMGClass.java
b/src/main/java/org/apache/bcel/classfile/PMGClass.java
index d1e72270..495de76a 100644
--- a/src/main/java/org/apache/bcel/classfile/PMGClass.java
+++ b/src/main/java/org/apache/bcel/classfile/PMGClass.java
@@ -41,7 +41,7 @@ public final class PMGClass extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
PMGClass(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, input.readUnsignedShort(),
input.readUnsignedShort(), constantPool);
@@ -95,7 +95,7 @@ public final class PMGClass extends Attribute {
* Dumps source file attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git
a/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java
b/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java
index d943253e..b68e630e 100644
--- a/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java
+++ b/src/main/java/org/apache/bcel/classfile/ParameterAnnotationEntry.java
@@ -66,7 +66,7 @@ public class ParameterAnnotationEntry implements Node {
* @param input Input stream.
* @param constantPool The constant pool.
* @param isRuntimeVisible whether the contained annotations are runtime
visible.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
ParameterAnnotationEntry(final DataInput input, final ConstantPool
constantPool, final boolean isRuntimeVisible) throws IOException {
final int annotationTableLength = input.readUnsignedShort();
@@ -91,7 +91,7 @@ public class ParameterAnnotationEntry implements Node {
* Dumps parameter annotation entry to file stream.
*
* @param dos Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream dos) throws IOException {
dos.writeShort(annotationTable.length);
diff --git a/src/main/java/org/apache/bcel/classfile/PermittedSubclasses.java
b/src/main/java/org/apache/bcel/classfile/PermittedSubclasses.java
index fd5f953f..3faa5e78 100644
--- a/src/main/java/org/apache/bcel/classfile/PermittedSubclasses.java
+++ b/src/main/java/org/apache/bcel/classfile/PermittedSubclasses.java
@@ -47,7 +47,7 @@ public final class PermittedSubclasses extends Attribute {
* @param length Content length in bytes.
* @param dataInput Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
PermittedSubclasses(final int nameIndex, final int length, final DataInput
dataInput, final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (int[]) null, constantPool);
@@ -108,7 +108,7 @@ public final class PermittedSubclasses extends Attribute {
* Dumps PermittedSubclasses attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Record.java
b/src/main/java/org/apache/bcel/classfile/Record.java
index ed567505..4949c5e3 100644
--- a/src/main/java/org/apache/bcel/classfile/Record.java
+++ b/src/main/java/org/apache/bcel/classfile/Record.java
@@ -58,7 +58,7 @@ public final class Record extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
Record(final int nameIndex, final int length, final DataInput input, final
ConstantPool constantPool)
throws IOException {
@@ -111,7 +111,7 @@ public final class Record extends Attribute {
* Dumps this instance into a file stream in binary format.
*
* @param file output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/RecordComponentInfo.java
b/src/main/java/org/apache/bcel/classfile/RecordComponentInfo.java
index a3156c7c..6d6e5af0 100644
--- a/src/main/java/org/apache/bcel/classfile/RecordComponentInfo.java
+++ b/src/main/java/org/apache/bcel/classfile/RecordComponentInfo.java
@@ -44,7 +44,7 @@ public class RecordComponentInfo implements Node {
*
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public RecordComponentInfo(final DataInput input, final ConstantPool
constantPool) throws IOException {
this.index = input.readUnsignedShort();
@@ -66,7 +66,7 @@ public class RecordComponentInfo implements Node {
* Dumps contents into a file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(index);
diff --git a/src/main/java/org/apache/bcel/classfile/Signature.java
b/src/main/java/org/apache/bcel/classfile/Signature.java
index 1161b734..1d40ef7d 100644
--- a/src/main/java/org/apache/bcel/classfile/Signature.java
+++ b/src/main/java/org/apache/bcel/classfile/Signature.java
@@ -181,7 +181,7 @@ public final class Signature extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
Signature(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, input.readUnsignedShort(), constantPool);
@@ -236,7 +236,7 @@ public final class Signature extends Attribute {
* Dumps source file attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/SourceFile.java
b/src/main/java/org/apache/bcel/classfile/SourceFile.java
index 55cbe049..09e914b6 100644
--- a/src/main/java/org/apache/bcel/classfile/SourceFile.java
+++ b/src/main/java/org/apache/bcel/classfile/SourceFile.java
@@ -43,7 +43,7 @@ public final class SourceFile extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
SourceFile(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, input.readUnsignedShort(), constantPool);
@@ -98,7 +98,7 @@ public final class SourceFile extends Attribute {
* Dumps source file attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/StackMap.java
b/src/main/java/org/apache/bcel/classfile/StackMap.java
index 4e1439cc..60e9ce2c 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMap.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMap.java
@@ -56,7 +56,7 @@ public final class StackMap extends Attribute {
* @param length Content length in bytes.
* @param dataInput Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
StackMap(final int nameIndex, final int length, final DataInput dataInput,
final ConstantPool constantPool) throws IOException {
this(nameIndex, length, (StackMapEntry[]) null, constantPool);
@@ -108,7 +108,7 @@ public final class StackMap extends Attribute {
* Dumps stack map table attribute to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
b/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
index 49b60c9f..e6c77233 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
@@ -61,7 +61,7 @@ public final class StackMapEntry implements Node, Cloneable {
* Constructs object from input stream.
*
* @param dataInput Input stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
StackMapEntry(final DataInput dataInput, final ConstantPool constantPool)
throws IOException {
this(dataInput.readByte() & 0xFF, -1, null, null, constantPool);
@@ -180,7 +180,7 @@ public final class StackMapEntry implements Node, Cloneable
{
* Dumps stack map entry
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.write(frameType);
diff --git a/src/main/java/org/apache/bcel/classfile/StackMapType.java
b/src/main/java/org/apache/bcel/classfile/StackMapType.java
index ecd69c5f..b6ab8444 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMapType.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMapType.java
@@ -60,7 +60,7 @@ public final class StackMapType implements Node, Cloneable {
*
* @param file Input stream.
* @param constantPool The constant pool.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
StackMapType(final DataInput file, final ConstantPool constantPool) throws
IOException {
this(file.readByte(), -1, constantPool);
@@ -107,7 +107,7 @@ public final class StackMapType implements Node, Cloneable {
* Dumps type entries to file.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeByte(type);
diff --git a/src/main/java/org/apache/bcel/classfile/Synthetic.java
b/src/main/java/org/apache/bcel/classfile/Synthetic.java
index 69c63f23..2968e0fe 100644
--- a/src/main/java/org/apache/bcel/classfile/Synthetic.java
+++ b/src/main/java/org/apache/bcel/classfile/Synthetic.java
@@ -64,7 +64,7 @@ public final class Synthetic extends Attribute {
* @param length JVM Specification: "The value of the
attribute_length item must be zero.".
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @see <a
href="https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.8">JVM
Specification: The Synthetic Attribute</a>
*/
Synthetic(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Unknown.java
b/src/main/java/org/apache/bcel/classfile/Unknown.java
index 86e315bc..44c890c4 100644
--- a/src/main/java/org/apache/bcel/classfile/Unknown.java
+++ b/src/main/java/org/apache/bcel/classfile/Unknown.java
@@ -74,7 +74,7 @@ public final class Unknown extends Attribute {
* @param length Content length in bytes.
* @param input Input stream.
* @param constantPool Array of constants.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @see <a
href="https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7">Attribute</a>
*/
Unknown(final int nameIndex, final int length, final DataInput input,
final ConstantPool constantPool) throws IOException {
@@ -126,7 +126,7 @@ public final class Unknown extends Attribute {
* Dumps unknown bytes to file stream.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Override
public void dump(final DataOutputStream file) throws IOException {
diff --git a/src/main/java/org/apache/bcel/classfile/Utility.java
b/src/main/java/org/apache/bcel/classfile/Utility.java
index 105ba022..7dddc70a 100644
--- a/src/main/java/org/apache/bcel/classfile/Utility.java
+++ b/src/main/java/org/apache/bcel/classfile/Utility.java
@@ -290,7 +290,7 @@ public abstract class Utility {
* @param bytes stream of bytes.
* @param constantPool The constant pool.
* @return disassembled string representation.
- * @throws IOException if a failure from reading from the bytes argument
occurs.
+ * @throws IOException Thrown if a failure from reading from the bytes
argument occurs.
*/
public static String codeToString(final ByteSequence bytes, final
ConstantPool constantPool) throws IOException {
return codeToString(bytes, constantPool, true);
@@ -303,7 +303,7 @@ public abstract class Utility {
* @param constantPool Array of constants.
* @param verbose be verbose, for example print constant pool index.
* @return String representation of byte code.
- * @throws IOException if a failure from reading from the bytes argument
occurs
+ * @throws IOException Thrown if a failure from reading from the bytes
argument occurs
*/
public static String codeToString(final ByteSequence bytes, final
ConstantPool constantPool, final boolean verbose) throws IOException {
final short opcode = (short) bytes.readUnsignedByte();
@@ -671,7 +671,7 @@ public abstract class Utility {
* @param s The string to convert.
* @param uncompress use gzip to uncompress the stream of bytes.
* @return The decoded byte array.
- * @throws IOException if there's a gzip exception.
+ * @throws IOException Thrown if there's a gzip exception.
*/
public static byte[] decode(final String s, final boolean uncompress)
throws IOException {
byte[] bytes;
@@ -712,7 +712,7 @@ public abstract class Utility {
* @param bytes The byte array to convert.
* @param compress use gzip to minimize string.
* @return The encoded string.
- * @throws IOException if there's a gzip exception.
+ * @throws IOException Thrown if there's a gzip exception.
*/
public static String encode(byte[] bytes, final boolean compress) throws
IOException {
if (compress) {
diff --git a/src/main/java/org/apache/bcel/generic/AnnotationEntryGen.java
b/src/main/java/org/apache/bcel/generic/AnnotationEntryGen.java
index 6de28043..e91b29e1 100644
--- a/src/main/java/org/apache/bcel/generic/AnnotationEntryGen.java
+++ b/src/main/java/org/apache/bcel/generic/AnnotationEntryGen.java
@@ -208,7 +208,7 @@ public class AnnotationEntryGen {
* @param cpool The constant pool generator.
* @param b whether the annotation is runtime visible.
* @return The annotation entry generator.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static AnnotationEntryGen read(final DataInput dis, final
ConstantPoolGen cpool, final boolean b) throws IOException {
final AnnotationEntryGen a = new AnnotationEntryGen(cpool);
@@ -290,7 +290,7 @@ public class AnnotationEntryGen {
* Dumps this annotation entry to a DataOutputStream.
*
* @param dos The data output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream dos) throws IOException {
dos.writeShort(typeIndex); // u2 index of type name in cpool
diff --git a/src/main/java/org/apache/bcel/generic/ElementValueGen.java
b/src/main/java/org/apache/bcel/generic/ElementValueGen.java
index e134ab68..af520119 100644
--- a/src/main/java/org/apache/bcel/generic/ElementValueGen.java
+++ b/src/main/java/org/apache/bcel/generic/ElementValueGen.java
@@ -115,7 +115,7 @@ public abstract class ElementValueGen {
* @param dis The data input stream.
* @param cpGen The constant pool.
* @return The element value read.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static ElementValueGen readElementValue(final DataInput dis, final
ConstantPoolGen cpGen) throws IOException {
final int type = dis.readUnsignedByte();
@@ -186,7 +186,7 @@ public abstract class ElementValueGen {
* Dumps this element value to a DataOutputStream.
*
* @param dos The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public abstract void dump(DataOutputStream dos) throws IOException;
diff --git a/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
b/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
index 523f0a6a..1c55a585 100644
--- a/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
+++ b/src/main/java/org/apache/bcel/generic/ElementValuePairGen.java
@@ -92,7 +92,7 @@ public class ElementValuePairGen {
* Dumps this element value pair to a DataOutputStream.
*
* @param dos The output stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
protected void dump(final DataOutputStream dos) throws IOException {
dos.writeShort(nameIdx); // u2 name of the element
diff --git a/src/main/java/org/apache/bcel/generic/Instruction.java
b/src/main/java/org/apache/bcel/generic/Instruction.java
index 6d8bb718..fa6c71e7 100644
--- a/src/main/java/org/apache/bcel/generic/Instruction.java
+++ b/src/main/java/org/apache/bcel/generic/Instruction.java
@@ -522,7 +522,7 @@ public abstract class Instruction implements Cloneable {
* Dumps this instruction to a byte array.
*
* @return the byte array containing the dumped instruction
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
byte[] dumpToByteArray() throws IOException {
final ByteArrayOutputStream bos = new ByteArrayOutputStream();
diff --git a/src/main/java/org/apache/bcel/util/Class2HTML.java
b/src/main/java/org/apache/bcel/util/Class2HTML.java
index b0ced24d..f103360b 100644
--- a/src/main/java/org/apache/bcel/util/Class2HTML.java
+++ b/src/main/java/org/apache/bcel/util/Class2HTML.java
@@ -75,7 +75,7 @@ public class Class2HTML implements Constants {
* Main program to convert class files to HTML.
*
* @param argv command line arguments.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public static void main(final String[] argv) throws IOException {
final String[] fileName = new String[argv.length];
diff --git a/src/main/java/org/apache/bcel/util/ClassPath.java
b/src/main/java/org/apache/bcel/util/ClassPath.java
index 20d9ff23..a08454be 100644
--- a/src/main/java/org/apache/bcel/util/ClassPath.java
+++ b/src/main/java/org/apache/bcel/util/ClassPath.java
@@ -157,7 +157,7 @@ public class ClassPath implements Closeable {
* Gets the input stream for class file.
*
* @return input stream for class file.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
InputStream getInputStream() throws IOException;
@@ -616,7 +616,7 @@ public class ClassPath implements Closeable {
*
* @param name fully qualified file name, for example java/lang/String.
* @return byte array for class.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public byte[] getBytes(final String name) throws IOException {
return getBytes(name, JavaClass.EXTENSION);
@@ -628,7 +628,7 @@ public class ClassPath implements Closeable {
* @param name fully qualified file name, for example java/lang/String.
* @param suffix file name ends with suffix, for example .java.
* @return byte array for file on class path.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public byte[] getBytes(final String name, final String suffix) throws
IOException {
DataInputStream dis = null;
@@ -652,7 +652,7 @@ public class ClassPath implements Closeable {
*
* @param name fully qualified class name, for example {@link String}.
* @return input stream for class.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public ClassFile getClassFile(final String name) throws IOException {
return getClassFile(name, JavaClass.EXTENSION);
@@ -664,7 +664,7 @@ public class ClassPath implements Closeable {
* @param name fully qualified file name, for example java/lang/String.
* @param suffix file name ends with suffix, for example .java.
* @return class file for the Java class.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public ClassFile getClassFile(final String name, final String suffix)
throws IOException {
ClassFile cf = null;
@@ -702,7 +702,7 @@ public class ClassPath implements Closeable {
*
* @param name fully qualified class name, for example {@link String}.
* @return input stream for class.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public InputStream getInputStream(final String name) throws IOException {
return getInputStream(Utility.packageToPath(name),
JavaClass.EXTENSION);
@@ -717,7 +717,7 @@ public class ClassPath implements Closeable {
* @param name fully qualified file name, for example java/lang/String.
* @param suffix file name ends with suff, for example .java.
* @return input stream for file on class path.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public InputStream getInputStream(final String name, final String suffix)
throws IOException {
try {
@@ -739,7 +739,7 @@ public class ClassPath implements Closeable {
*
* @param name name of file to search for, for example
java/lang/String.java.
* @return full (canonical) path for file.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public String getPath(String name) throws IOException {
final int index = name.lastIndexOf('.');
@@ -757,7 +757,7 @@ public class ClassPath implements Closeable {
* @param name name of file to search for, for example java/lang/String.
* @param suffix file name suffix, for example .java.
* @return full (canonical) path for file, if it exists.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public String getPath(final String name, final String suffix) throws
IOException {
return getClassFile(name, suffix).getPath();
diff --git a/src/test/java/org/apache/bcel/classfile/RecordTest.java
b/src/test/java/org/apache/bcel/classfile/RecordTest.java
index aa4c30ae..290134a5 100644
--- a/src/test/java/org/apache/bcel/classfile/RecordTest.java
+++ b/src/test/java/org/apache/bcel/classfile/RecordTest.java
@@ -81,7 +81,7 @@ class RecordTest extends AbstractTest {
* marked such that we can determine from the access flags
* (through BCEL) that it is in fact a record.
*
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
* @throws ClassFormatException
*/
@Test
@@ -109,7 +109,7 @@ class RecordTest extends AbstractTest {
*
* @throws ClassNotFoundException
* @throws ClassFormatException
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
@Test
void testRecordToString() throws ClassNotFoundException,
ClassFormatException, IOException {
diff --git a/src/test/java/org/apache/bcel/data/ConstantPoolX.java
b/src/test/java/org/apache/bcel/data/ConstantPoolX.java
index e62c6560..ba5cb41c 100644
--- a/src/test/java/org/apache/bcel/data/ConstantPoolX.java
+++ b/src/test/java/org/apache/bcel/data/ConstantPoolX.java
@@ -182,7 +182,7 @@ public abstract class ConstantPoolX implements Cloneable,
Node {
* Dumps constant pool to file stream in binary format.
*
* @param file Output file stream.
- * @throws IOException if an I/O error occurs.
+ * @throws IOException Thrown if an I/O error occurs.
*/
public void dump(final DataOutputStream file) throws IOException {
file.writeShort(constantPool.length);
diff --git a/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
b/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
index a40ca19a..cdafba3e 100644
--- a/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
+++ b/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
@@ -67,7 +67,7 @@ class VerifyBadClassesTest {
* @param command The command to be run in the process.
* @return A String capturing the error output of executing the command.
* @throws ExecuteException if executor fails
- * @throws IOException if executor fails
+ * @throws IOException Thrown if executor fails
*/
private String run(final List<String> command) throws ExecuteException,
IOException {