From 90e94269f7d64684ac7dc3fcbee055eea866d370 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Fri, 13 Oct 2017 23:48:11 +0000 Subject: [BCEL-296] Incorrect comment in several classes. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/bcel/trunk@1812166 13f79535-47bb-0310-9956-ffa450edef68 --- src/changes/changes.xml | 1 + src/main/java/org/apache/bcel/generic/ALOAD.java | 4 +- .../java/org/apache/bcel/generic/ANEWARRAY.java | 4 +- src/main/java/org/apache/bcel/generic/ASTORE.java | 4 +- .../apache/bcel/generic/ArithmeticInstruction.java | 4 +- .../org/apache/bcel/generic/ArrayInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/BIPUSH.java | 4 +- .../org/apache/bcel/generic/BranchInstruction.java | 4 +- .../java/org/apache/bcel/generic/CHECKCAST.java | 4 +- .../org/apache/bcel/generic/CPInstruction.java | 4 +- .../apache/bcel/generic/ConversionInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/DCONST.java | 4 +- src/main/java/org/apache/bcel/generic/DLOAD.java | 4 +- src/main/java/org/apache/bcel/generic/DSTORE.java | 4 +- src/main/java/org/apache/bcel/generic/FCONST.java | 4 +- src/main/java/org/apache/bcel/generic/FLOAD.java | 4 +- src/main/java/org/apache/bcel/generic/FSTORE.java | 4 +- .../org/apache/bcel/generic/FieldInstruction.java | 4 +- .../org/apache/bcel/generic/FieldOrMethod.java | 4 +- .../java/org/apache/bcel/generic/GETFIELD.java | 4 +- .../java/org/apache/bcel/generic/GETSTATIC.java | 4 +- src/main/java/org/apache/bcel/generic/GOTO.java | 4 +- src/main/java/org/apache/bcel/generic/GOTO_W.java | 4 +- .../org/apache/bcel/generic/GotoInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/ICONST.java | 4 +- src/main/java/org/apache/bcel/generic/IFEQ.java | 4 +- src/main/java/org/apache/bcel/generic/IFGE.java | 4 +- src/main/java/org/apache/bcel/generic/IFGT.java | 4 +- src/main/java/org/apache/bcel/generic/IFLE.java | 4 +- src/main/java/org/apache/bcel/generic/IFLT.java | 4 +- src/main/java/org/apache/bcel/generic/IFNE.java | 4 +- .../java/org/apache/bcel/generic/IFNONNULL.java | 4 +- src/main/java/org/apache/bcel/generic/IFNULL.java | 4 +- .../java/org/apache/bcel/generic/IF_ACMPEQ.java | 4 +- .../java/org/apache/bcel/generic/IF_ACMPNE.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPEQ.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPGE.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPGT.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPLE.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPLT.java | 4 +- .../java/org/apache/bcel/generic/IF_ICMPNE.java | 4 +- src/main/java/org/apache/bcel/generic/IINC.java | 4 +- src/main/java/org/apache/bcel/generic/ILOAD.java | 4 +- .../java/org/apache/bcel/generic/INSTANCEOF.java | 4 +- .../org/apache/bcel/generic/INVOKEDYNAMIC.java | 290 ++++++++++----------- .../org/apache/bcel/generic/INVOKEINTERFACE.java | 4 +- .../org/apache/bcel/generic/INVOKESPECIAL.java | 4 +- .../java/org/apache/bcel/generic/INVOKESTATIC.java | 4 +- .../org/apache/bcel/generic/INVOKEVIRTUAL.java | 4 +- src/main/java/org/apache/bcel/generic/ISTORE.java | 4 +- .../org/apache/bcel/generic/IfInstruction.java | 4 +- .../java/org/apache/bcel/generic/Instruction.java | 4 +- .../org/apache/bcel/generic/InvokeInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/JSR.java | 4 +- src/main/java/org/apache/bcel/generic/JSR_W.java | 4 +- .../org/apache/bcel/generic/JsrInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/LCONST.java | 4 +- src/main/java/org/apache/bcel/generic/LDC.java | 4 +- src/main/java/org/apache/bcel/generic/LDC2_W.java | 4 +- src/main/java/org/apache/bcel/generic/LDC_W.java | 4 +- src/main/java/org/apache/bcel/generic/LLOAD.java | 4 +- .../java/org/apache/bcel/generic/LOOKUPSWITCH.java | 4 +- src/main/java/org/apache/bcel/generic/LSTORE.java | 4 +- .../org/apache/bcel/generic/LoadInstruction.java | 4 +- .../bcel/generic/LocalVariableInstruction.java | 8 +- .../org/apache/bcel/generic/MULTIANEWARRAY.java | 4 +- src/main/java/org/apache/bcel/generic/NEW.java | 4 +- .../java/org/apache/bcel/generic/NEWARRAY.java | 4 +- .../java/org/apache/bcel/generic/PUTFIELD.java | 4 +- .../java/org/apache/bcel/generic/PUTSTATIC.java | 4 +- src/main/java/org/apache/bcel/generic/RET.java | 4 +- .../org/apache/bcel/generic/ReturnInstruction.java | 4 +- src/main/java/org/apache/bcel/generic/SIPUSH.java | 4 +- src/main/java/org/apache/bcel/generic/Select.java | 4 +- .../org/apache/bcel/generic/StackInstruction.java | 4 +- .../org/apache/bcel/generic/StoreInstruction.java | 4 +- .../java/org/apache/bcel/generic/TABLESWITCH.java | 4 +- 77 files changed, 298 insertions(+), 297 deletions(-) (limited to 'src') diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 0d77c73d..caf7a95f 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -64,6 +64,7 @@ The type attribute can be add,update,fix,remove. Incorrect comment in StackMap.java + Incorrect comment in several classes. diff --git a/src/main/java/org/apache/bcel/generic/ALOAD.java b/src/main/java/org/apache/bcel/generic/ALOAD.java index d63f78a4..e1d4586f 100644 --- a/src/main/java/org/apache/bcel/generic/ALOAD.java +++ b/src/main/java/org/apache/bcel/generic/ALOAD.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class ALOAD extends LoadInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ALOAD() { super(org.apache.bcel.Const.ALOAD, org.apache.bcel.Const.ALOAD_0); diff --git a/src/main/java/org/apache/bcel/generic/ANEWARRAY.java b/src/main/java/org/apache/bcel/generic/ANEWARRAY.java index a61329fe..efcffceb 100644 --- a/src/main/java/org/apache/bcel/generic/ANEWARRAY.java +++ b/src/main/java/org/apache/bcel/generic/ANEWARRAY.java @@ -29,8 +29,8 @@ public class ANEWARRAY extends CPInstruction implements LoadClass, AllocationIns ExceptionThrower, StackConsumer, StackProducer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ANEWARRAY() { } diff --git a/src/main/java/org/apache/bcel/generic/ASTORE.java b/src/main/java/org/apache/bcel/generic/ASTORE.java index fbb45e88..2ba783f8 100644 --- a/src/main/java/org/apache/bcel/generic/ASTORE.java +++ b/src/main/java/org/apache/bcel/generic/ASTORE.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class ASTORE extends StoreInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ASTORE() { super(org.apache.bcel.Const.ASTORE, org.apache.bcel.Const.ASTORE_0); diff --git a/src/main/java/org/apache/bcel/generic/ArithmeticInstruction.java b/src/main/java/org/apache/bcel/generic/ArithmeticInstruction.java index b000d381..97bf8d08 100644 --- a/src/main/java/org/apache/bcel/generic/ArithmeticInstruction.java +++ b/src/main/java/org/apache/bcel/generic/ArithmeticInstruction.java @@ -28,8 +28,8 @@ public abstract class ArithmeticInstruction extends Instruction implements Typed StackProducer, StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ArithmeticInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/ArrayInstruction.java b/src/main/java/org/apache/bcel/generic/ArrayInstruction.java index b5005690..e7a37dd8 100644 --- a/src/main/java/org/apache/bcel/generic/ArrayInstruction.java +++ b/src/main/java/org/apache/bcel/generic/ArrayInstruction.java @@ -28,8 +28,8 @@ public abstract class ArrayInstruction extends Instruction implements ExceptionT TypedInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ArrayInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/BIPUSH.java b/src/main/java/org/apache/bcel/generic/BIPUSH.java index 702f8822..6817408a 100644 --- a/src/main/java/org/apache/bcel/generic/BIPUSH.java +++ b/src/main/java/org/apache/bcel/generic/BIPUSH.java @@ -35,8 +35,8 @@ public class BIPUSH extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ BIPUSH() { } diff --git a/src/main/java/org/apache/bcel/generic/BranchInstruction.java b/src/main/java/org/apache/bcel/generic/BranchInstruction.java index 66500223..c4f37652 100644 --- a/src/main/java/org/apache/bcel/generic/BranchInstruction.java +++ b/src/main/java/org/apache/bcel/generic/BranchInstruction.java @@ -52,8 +52,8 @@ public abstract class BranchInstruction extends Instruction implements Instructi /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ BranchInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/CHECKCAST.java b/src/main/java/org/apache/bcel/generic/CHECKCAST.java index b9cdd08a..2939d810 100644 --- a/src/main/java/org/apache/bcel/generic/CHECKCAST.java +++ b/src/main/java/org/apache/bcel/generic/CHECKCAST.java @@ -29,8 +29,8 @@ public class CHECKCAST extends CPInstruction implements LoadClass, ExceptionThro StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ CHECKCAST() { } diff --git a/src/main/java/org/apache/bcel/generic/CPInstruction.java b/src/main/java/org/apache/bcel/generic/CPInstruction.java index 3f5a0528..8b6cbfdc 100644 --- a/src/main/java/org/apache/bcel/generic/CPInstruction.java +++ b/src/main/java/org/apache/bcel/generic/CPInstruction.java @@ -46,8 +46,8 @@ public abstract class CPInstruction extends Instruction implements TypedInstruct /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ CPInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/ConversionInstruction.java b/src/main/java/org/apache/bcel/generic/ConversionInstruction.java index 8ee62828..8c3940c6 100644 --- a/src/main/java/org/apache/bcel/generic/ConversionInstruction.java +++ b/src/main/java/org/apache/bcel/generic/ConversionInstruction.java @@ -28,8 +28,8 @@ public abstract class ConversionInstruction extends Instruction implements Typed StackProducer, StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ConversionInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/DCONST.java b/src/main/java/org/apache/bcel/generic/DCONST.java index 77dcc761..4aa545d1 100644 --- a/src/main/java/org/apache/bcel/generic/DCONST.java +++ b/src/main/java/org/apache/bcel/generic/DCONST.java @@ -30,8 +30,8 @@ public class DCONST extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ DCONST() { } diff --git a/src/main/java/org/apache/bcel/generic/DLOAD.java b/src/main/java/org/apache/bcel/generic/DLOAD.java index df686f7e..97f25696 100644 --- a/src/main/java/org/apache/bcel/generic/DLOAD.java +++ b/src/main/java/org/apache/bcel/generic/DLOAD.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class DLOAD extends LoadInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ DLOAD() { super(org.apache.bcel.Const.DLOAD, org.apache.bcel.Const.DLOAD_0); diff --git a/src/main/java/org/apache/bcel/generic/DSTORE.java b/src/main/java/org/apache/bcel/generic/DSTORE.java index 7683f4ff..f725ae65 100644 --- a/src/main/java/org/apache/bcel/generic/DSTORE.java +++ b/src/main/java/org/apache/bcel/generic/DSTORE.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class DSTORE extends StoreInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ DSTORE() { super(org.apache.bcel.Const.DSTORE, org.apache.bcel.Const.DSTORE_0); diff --git a/src/main/java/org/apache/bcel/generic/FCONST.java b/src/main/java/org/apache/bcel/generic/FCONST.java index 14b0fb20..4ee97e4f 100644 --- a/src/main/java/org/apache/bcel/generic/FCONST.java +++ b/src/main/java/org/apache/bcel/generic/FCONST.java @@ -30,8 +30,8 @@ public class FCONST extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ FCONST() { } diff --git a/src/main/java/org/apache/bcel/generic/FLOAD.java b/src/main/java/org/apache/bcel/generic/FLOAD.java index d92628a5..503300db 100644 --- a/src/main/java/org/apache/bcel/generic/FLOAD.java +++ b/src/main/java/org/apache/bcel/generic/FLOAD.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class FLOAD extends LoadInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ FLOAD() { super(org.apache.bcel.Const.FLOAD, org.apache.bcel.Const.FLOAD_0); diff --git a/src/main/java/org/apache/bcel/generic/FSTORE.java b/src/main/java/org/apache/bcel/generic/FSTORE.java index 3104fe0f..22a260ea 100644 --- a/src/main/java/org/apache/bcel/generic/FSTORE.java +++ b/src/main/java/org/apache/bcel/generic/FSTORE.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class FSTORE extends StoreInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ FSTORE() { super(org.apache.bcel.Const.FSTORE, org.apache.bcel.Const.FSTORE_0); diff --git a/src/main/java/org/apache/bcel/generic/FieldInstruction.java b/src/main/java/org/apache/bcel/generic/FieldInstruction.java index 89d68a5a..d97e6b61 100644 --- a/src/main/java/org/apache/bcel/generic/FieldInstruction.java +++ b/src/main/java/org/apache/bcel/generic/FieldInstruction.java @@ -27,8 +27,8 @@ import org.apache.bcel.classfile.ConstantPool; public abstract class FieldInstruction extends FieldOrMethod { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ FieldInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/FieldOrMethod.java b/src/main/java/org/apache/bcel/generic/FieldOrMethod.java index c6d046b7..00dcb9d4 100644 --- a/src/main/java/org/apache/bcel/generic/FieldOrMethod.java +++ b/src/main/java/org/apache/bcel/generic/FieldOrMethod.java @@ -32,8 +32,8 @@ import org.apache.bcel.classfile.ConstantUtf8; public abstract class FieldOrMethod extends CPInstruction implements LoadClass { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ FieldOrMethod() { } diff --git a/src/main/java/org/apache/bcel/generic/GETFIELD.java b/src/main/java/org/apache/bcel/generic/GETFIELD.java index b9228c56..a6303ef3 100644 --- a/src/main/java/org/apache/bcel/generic/GETFIELD.java +++ b/src/main/java/org/apache/bcel/generic/GETFIELD.java @@ -32,8 +32,8 @@ public class GETFIELD extends FieldInstruction implements ExceptionThrower, Stac StackProducer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ GETFIELD() { } diff --git a/src/main/java/org/apache/bcel/generic/GETSTATIC.java b/src/main/java/org/apache/bcel/generic/GETSTATIC.java index 9f370175..add01eb3 100644 --- a/src/main/java/org/apache/bcel/generic/GETSTATIC.java +++ b/src/main/java/org/apache/bcel/generic/GETSTATIC.java @@ -31,8 +31,8 @@ import org.apache.bcel.ExceptionConst; public class GETSTATIC extends FieldInstruction implements PushInstruction, ExceptionThrower { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ GETSTATIC() { } diff --git a/src/main/java/org/apache/bcel/generic/GOTO.java b/src/main/java/org/apache/bcel/generic/GOTO.java index 6ac673eb..0535c11f 100644 --- a/src/main/java/org/apache/bcel/generic/GOTO.java +++ b/src/main/java/org/apache/bcel/generic/GOTO.java @@ -28,8 +28,8 @@ import java.io.IOException; public class GOTO extends GotoInstruction implements VariableLengthInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ GOTO() { } diff --git a/src/main/java/org/apache/bcel/generic/GOTO_W.java b/src/main/java/org/apache/bcel/generic/GOTO_W.java index ba884824..13baae7a 100644 --- a/src/main/java/org/apache/bcel/generic/GOTO_W.java +++ b/src/main/java/org/apache/bcel/generic/GOTO_W.java @@ -30,8 +30,8 @@ import org.apache.bcel.util.ByteSequence; public class GOTO_W extends GotoInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ GOTO_W() { } diff --git a/src/main/java/org/apache/bcel/generic/GotoInstruction.java b/src/main/java/org/apache/bcel/generic/GotoInstruction.java index 3571eda6..5eaa1e31 100644 --- a/src/main/java/org/apache/bcel/generic/GotoInstruction.java +++ b/src/main/java/org/apache/bcel/generic/GotoInstruction.java @@ -30,8 +30,8 @@ public abstract class GotoInstruction extends BranchInstruction implements Uncon /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ GotoInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/ICONST.java b/src/main/java/org/apache/bcel/generic/ICONST.java index 0db60f75..5819b20e 100644 --- a/src/main/java/org/apache/bcel/generic/ICONST.java +++ b/src/main/java/org/apache/bcel/generic/ICONST.java @@ -30,8 +30,8 @@ public class ICONST extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ICONST() { } diff --git a/src/main/java/org/apache/bcel/generic/IFEQ.java b/src/main/java/org/apache/bcel/generic/IFEQ.java index 3176d041..bbac3ef6 100644 --- a/src/main/java/org/apache/bcel/generic/IFEQ.java +++ b/src/main/java/org/apache/bcel/generic/IFEQ.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFEQ extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFEQ() { } diff --git a/src/main/java/org/apache/bcel/generic/IFGE.java b/src/main/java/org/apache/bcel/generic/IFGE.java index 959b5802..8f290f3a 100644 --- a/src/main/java/org/apache/bcel/generic/IFGE.java +++ b/src/main/java/org/apache/bcel/generic/IFGE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFGE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFGE() { } diff --git a/src/main/java/org/apache/bcel/generic/IFGT.java b/src/main/java/org/apache/bcel/generic/IFGT.java index 34565186..09590c7e 100644 --- a/src/main/java/org/apache/bcel/generic/IFGT.java +++ b/src/main/java/org/apache/bcel/generic/IFGT.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFGT extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFGT() { } diff --git a/src/main/java/org/apache/bcel/generic/IFLE.java b/src/main/java/org/apache/bcel/generic/IFLE.java index ded03519..71aa9909 100644 --- a/src/main/java/org/apache/bcel/generic/IFLE.java +++ b/src/main/java/org/apache/bcel/generic/IFLE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFLE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFLE() { } diff --git a/src/main/java/org/apache/bcel/generic/IFLT.java b/src/main/java/org/apache/bcel/generic/IFLT.java index 6a058ffd..7cf1f5e5 100644 --- a/src/main/java/org/apache/bcel/generic/IFLT.java +++ b/src/main/java/org/apache/bcel/generic/IFLT.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFLT extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFLT() { } diff --git a/src/main/java/org/apache/bcel/generic/IFNE.java b/src/main/java/org/apache/bcel/generic/IFNE.java index 3f659508..c285fead 100644 --- a/src/main/java/org/apache/bcel/generic/IFNE.java +++ b/src/main/java/org/apache/bcel/generic/IFNE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFNE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFNE() { } diff --git a/src/main/java/org/apache/bcel/generic/IFNONNULL.java b/src/main/java/org/apache/bcel/generic/IFNONNULL.java index 7fcebbbf..7af9a363 100644 --- a/src/main/java/org/apache/bcel/generic/IFNONNULL.java +++ b/src/main/java/org/apache/bcel/generic/IFNONNULL.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFNONNULL extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFNONNULL() { } diff --git a/src/main/java/org/apache/bcel/generic/IFNULL.java b/src/main/java/org/apache/bcel/generic/IFNULL.java index 7c70e8f0..fe982c74 100644 --- a/src/main/java/org/apache/bcel/generic/IFNULL.java +++ b/src/main/java/org/apache/bcel/generic/IFNULL.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IFNULL extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IFNULL() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ACMPEQ.java b/src/main/java/org/apache/bcel/generic/IF_ACMPEQ.java index 16123fb6..001d4dc4 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ACMPEQ.java +++ b/src/main/java/org/apache/bcel/generic/IF_ACMPEQ.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ACMPEQ extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ACMPEQ() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ACMPNE.java b/src/main/java/org/apache/bcel/generic/IF_ACMPNE.java index 223fea58..d9111dca 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ACMPNE.java +++ b/src/main/java/org/apache/bcel/generic/IF_ACMPNE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ACMPNE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ACMPNE() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPEQ.java b/src/main/java/org/apache/bcel/generic/IF_ICMPEQ.java index 0735bda0..e5de0cde 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPEQ.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPEQ.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPEQ extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPEQ() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPGE.java b/src/main/java/org/apache/bcel/generic/IF_ICMPGE.java index e80147de..d59854fe 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPGE.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPGE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPGE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPGE() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPGT.java b/src/main/java/org/apache/bcel/generic/IF_ICMPGT.java index d8c141d0..3f4b6243 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPGT.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPGT.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPGT extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPGT() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPLE.java b/src/main/java/org/apache/bcel/generic/IF_ICMPLE.java index 822d3e34..31ae8be0 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPLE.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPLE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPLE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPLE() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPLT.java b/src/main/java/org/apache/bcel/generic/IF_ICMPLT.java index bfacb840..b104ca27 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPLT.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPLT.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPLT extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPLT() { } diff --git a/src/main/java/org/apache/bcel/generic/IF_ICMPNE.java b/src/main/java/org/apache/bcel/generic/IF_ICMPNE.java index 5ee5e4ca..e6fb7972 100644 --- a/src/main/java/org/apache/bcel/generic/IF_ICMPNE.java +++ b/src/main/java/org/apache/bcel/generic/IF_ICMPNE.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class IF_ICMPNE extends IfInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IF_ICMPNE() { } diff --git a/src/main/java/org/apache/bcel/generic/IINC.java b/src/main/java/org/apache/bcel/generic/IINC.java index 2d9d396e..b023b0cc 100644 --- a/src/main/java/org/apache/bcel/generic/IINC.java +++ b/src/main/java/org/apache/bcel/generic/IINC.java @@ -34,8 +34,8 @@ public class IINC extends LocalVariableInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IINC() { } diff --git a/src/main/java/org/apache/bcel/generic/ILOAD.java b/src/main/java/org/apache/bcel/generic/ILOAD.java index a38590fb..f7294b9d 100644 --- a/src/main/java/org/apache/bcel/generic/ILOAD.java +++ b/src/main/java/org/apache/bcel/generic/ILOAD.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class ILOAD extends LoadInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ILOAD() { super(org.apache.bcel.Const.ILOAD, org.apache.bcel.Const.ILOAD_0); diff --git a/src/main/java/org/apache/bcel/generic/INSTANCEOF.java b/src/main/java/org/apache/bcel/generic/INSTANCEOF.java index 8c45bcc0..7fb7c6ff 100644 --- a/src/main/java/org/apache/bcel/generic/INSTANCEOF.java +++ b/src/main/java/org/apache/bcel/generic/INSTANCEOF.java @@ -29,8 +29,8 @@ public class INSTANCEOF extends CPInstruction implements LoadClass, ExceptionThr StackProducer, StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ INSTANCEOF() { } diff --git a/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java b/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java index 0facb743..d512574e 100644 --- a/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java +++ b/src/main/java/org/apache/bcel/generic/INVOKEDYNAMIC.java @@ -1,145 +1,145 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -package org.apache.bcel.generic; - -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.bcel.Const; -import org.apache.bcel.ExceptionConst; -import org.apache.bcel.classfile.ConstantInvokeDynamic; -import org.apache.bcel.classfile.ConstantNameAndType; -import org.apache.bcel.classfile.ConstantPool; -import org.apache.bcel.util.ByteSequence; - -/** - * Class for INVOKEDYNAMIC. Not an instance of InvokeInstruction, since that class - * expects to be able to get the class of the method. Ignores the bootstrap - * mechanism entirely. - * - * @version $Id: InvokeInstruction.java 1152072 2011-07-29 01:54:05Z dbrosius $ - * @see - * - * The invokedynamic instruction in The Java Virtual Machine Specification - * @since 6.0 - */ -public class INVOKEDYNAMIC extends InvokeInstruction { - - /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. - */ - INVOKEDYNAMIC() { - } - - - public INVOKEDYNAMIC(final int index) { - super(Const.INVOKEDYNAMIC, index); - } - - - /** - * Dump instruction as byte code to stream out. - * @param out Output stream - */ - @Override - public void dump( final DataOutputStream out ) throws IOException { - out.writeByte(super.getOpcode()); - out.writeShort(super.getIndex()); - out.writeByte(0); - out.writeByte(0); - } - - - /** - * Read needed data (i.e., index) from file. - */ - @Override - protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { - super.initFromFile(bytes, wide); - super.setLength(5); - bytes.readByte(); // Skip 0 byte - bytes.readByte(); // Skip 0 byte - } - - - /** - * @return mnemonic for instruction with symbolic references resolved - */ - @Override - public String toString( final ConstantPool cp ) { - return super.toString(cp); - } - - - @Override - public Class[] getExceptions() { - return ExceptionConst.createExceptions(ExceptionConst.EXCS.EXCS_INTERFACE_METHOD_RESOLUTION, - ExceptionConst.UNSATISFIED_LINK_ERROR, - ExceptionConst.ABSTRACT_METHOD_ERROR, - ExceptionConst.ILLEGAL_ACCESS_ERROR, - ExceptionConst.INCOMPATIBLE_CLASS_CHANGE_ERROR); - } - - - /** - * Call corresponding visitor method(s). The order is: - * Call visitor methods of implemented interfaces first, then - * call methods according to the class hierarchy in descending order, - * i.e., the most specific visitXXX() call comes last. - * - * @param v Visitor object - */ - @Override - public void accept( final Visitor v ) { - v.visitExceptionThrower(this); - v.visitTypedInstruction(this); - v.visitStackConsumer(this); - v.visitStackProducer(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitInvokeInstruction(this); - v.visitINVOKEDYNAMIC(this); - } - - /** - * Override the parent method because our classname is held elsewhere. - */ - @Override - public String getClassName( final ConstantPoolGen cpg ) { - final ConstantPool cp = cpg.getConstantPool(); - final ConstantInvokeDynamic cid = (ConstantInvokeDynamic) cp.getConstant(super.getIndex(), Const.CONSTANT_InvokeDynamic); - return ((ConstantNameAndType) cp.getConstant(cid.getNameAndTypeIndex())).getName(cp); - } - - - /** - * Since InvokeDynamic doesn't refer to a reference type, just return java.lang.Object, - * as that is the only type we can say for sure the reference will be. - * - * @param cpg - * the ConstantPoolGen used to create the instruction - * @return an ObjectType for java.lang.Object - * @since 6.1 - */ - @Override - public ReferenceType getReferenceType(final ConstantPoolGen cpg) { - return new ObjectType(Object.class.getName()); - } -} +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +package org.apache.bcel.generic; + +import java.io.DataOutputStream; +import java.io.IOException; + +import org.apache.bcel.Const; +import org.apache.bcel.ExceptionConst; +import org.apache.bcel.classfile.ConstantInvokeDynamic; +import org.apache.bcel.classfile.ConstantNameAndType; +import org.apache.bcel.classfile.ConstantPool; +import org.apache.bcel.util.ByteSequence; + +/** + * Class for INVOKEDYNAMIC. Not an instance of InvokeInstruction, since that class + * expects to be able to get the class of the method. Ignores the bootstrap + * mechanism entirely. + * + * @version $Id: InvokeInstruction.java 1152072 2011-07-29 01:54:05Z dbrosius $ + * @see + * + * The invokedynamic instruction in The Java Virtual Machine Specification + * @since 6.0 + */ +public class INVOKEDYNAMIC extends InvokeInstruction { + + /** + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. + */ + INVOKEDYNAMIC() { + } + + + public INVOKEDYNAMIC(final int index) { + super(Const.INVOKEDYNAMIC, index); + } + + + /** + * Dump instruction as byte code to stream out. + * @param out Output stream + */ + @Override + public void dump( final DataOutputStream out ) throws IOException { + out.writeByte(super.getOpcode()); + out.writeShort(super.getIndex()); + out.writeByte(0); + out.writeByte(0); + } + + + /** + * Read needed data (i.e., index) from file. + */ + @Override + protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { + super.initFromFile(bytes, wide); + super.setLength(5); + bytes.readByte(); // Skip 0 byte + bytes.readByte(); // Skip 0 byte + } + + + /** + * @return mnemonic for instruction with symbolic references resolved + */ + @Override + public String toString( final ConstantPool cp ) { + return super.toString(cp); + } + + + @Override + public Class[] getExceptions() { + return ExceptionConst.createExceptions(ExceptionConst.EXCS.EXCS_INTERFACE_METHOD_RESOLUTION, + ExceptionConst.UNSATISFIED_LINK_ERROR, + ExceptionConst.ABSTRACT_METHOD_ERROR, + ExceptionConst.ILLEGAL_ACCESS_ERROR, + ExceptionConst.INCOMPATIBLE_CLASS_CHANGE_ERROR); + } + + + /** + * Call corresponding visitor method(s). The order is: + * Call visitor methods of implemented interfaces first, then + * call methods according to the class hierarchy in descending order, + * i.e., the most specific visitXXX() call comes last. + * + * @param v Visitor object + */ + @Override + public void accept( final Visitor v ) { + v.visitExceptionThrower(this); + v.visitTypedInstruction(this); + v.visitStackConsumer(this); + v.visitStackProducer(this); + v.visitLoadClass(this); + v.visitCPInstruction(this); + v.visitFieldOrMethod(this); + v.visitInvokeInstruction(this); + v.visitINVOKEDYNAMIC(this); + } + + /** + * Override the parent method because our classname is held elsewhere. + */ + @Override + public String getClassName( final ConstantPoolGen cpg ) { + final ConstantPool cp = cpg.getConstantPool(); + final ConstantInvokeDynamic cid = (ConstantInvokeDynamic) cp.getConstant(super.getIndex(), Const.CONSTANT_InvokeDynamic); + return ((ConstantNameAndType) cp.getConstant(cid.getNameAndTypeIndex())).getName(cp); + } + + + /** + * Since InvokeDynamic doesn't refer to a reference type, just return java.lang.Object, + * as that is the only type we can say for sure the reference will be. + * + * @param cpg + * the ConstantPoolGen used to create the instruction + * @return an ObjectType for java.lang.Object + * @since 6.1 + */ + @Override + public ReferenceType getReferenceType(final ConstantPoolGen cpg) { + return new ObjectType(Object.class.getName()); + } +} diff --git a/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java b/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java index 3c5cdb5a..54c1fc22 100644 --- a/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java +++ b/src/main/java/org/apache/bcel/generic/INVOKEINTERFACE.java @@ -40,8 +40,8 @@ public final class INVOKEINTERFACE extends InvokeInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ INVOKEINTERFACE() { } diff --git a/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java b/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java index 487dbf6c..4bb46711 100644 --- a/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java +++ b/src/main/java/org/apache/bcel/generic/INVOKESPECIAL.java @@ -37,8 +37,8 @@ import org.apache.bcel.ExceptionConst; public class INVOKESPECIAL extends InvokeInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ INVOKESPECIAL() { } diff --git a/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java b/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java index d23c5744..50870ad7 100644 --- a/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java +++ b/src/main/java/org/apache/bcel/generic/INVOKESTATIC.java @@ -36,8 +36,8 @@ import org.apache.bcel.ExceptionConst; public class INVOKESTATIC extends InvokeInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ INVOKESTATIC() { } diff --git a/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java b/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java index 000fff4f..ca03afae 100644 --- a/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java +++ b/src/main/java/org/apache/bcel/generic/INVOKEVIRTUAL.java @@ -36,8 +36,8 @@ import org.apache.bcel.ExceptionConst; public class INVOKEVIRTUAL extends InvokeInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ INVOKEVIRTUAL() { } diff --git a/src/main/java/org/apache/bcel/generic/ISTORE.java b/src/main/java/org/apache/bcel/generic/ISTORE.java index 763d632c..709b7259 100644 --- a/src/main/java/org/apache/bcel/generic/ISTORE.java +++ b/src/main/java/org/apache/bcel/generic/ISTORE.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class ISTORE extends StoreInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ISTORE() { super(org.apache.bcel.Const.ISTORE, org.apache.bcel.Const.ISTORE_0); diff --git a/src/main/java/org/apache/bcel/generic/IfInstruction.java b/src/main/java/org/apache/bcel/generic/IfInstruction.java index 0b8d03f7..c418bc4e 100644 --- a/src/main/java/org/apache/bcel/generic/IfInstruction.java +++ b/src/main/java/org/apache/bcel/generic/IfInstruction.java @@ -25,8 +25,8 @@ package org.apache.bcel.generic; public abstract class IfInstruction extends BranchInstruction implements StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ IfInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/Instruction.java b/src/main/java/org/apache/bcel/generic/Instruction.java index 463c4fde..a9489688 100644 --- a/src/main/java/org/apache/bcel/generic/Instruction.java +++ b/src/main/java/org/apache/bcel/generic/Instruction.java @@ -47,8 +47,8 @@ public abstract class Instruction implements Cloneable { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ Instruction() { } diff --git a/src/main/java/org/apache/bcel/generic/InvokeInstruction.java b/src/main/java/org/apache/bcel/generic/InvokeInstruction.java index 6f24a19c..a457bae4 100644 --- a/src/main/java/org/apache/bcel/generic/InvokeInstruction.java +++ b/src/main/java/org/apache/bcel/generic/InvokeInstruction.java @@ -33,8 +33,8 @@ public abstract class InvokeInstruction extends FieldOrMethod implements Excepti StackConsumer, StackProducer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ InvokeInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/JSR.java b/src/main/java/org/apache/bcel/generic/JSR.java index da035ede..f3d20b81 100644 --- a/src/main/java/org/apache/bcel/generic/JSR.java +++ b/src/main/java/org/apache/bcel/generic/JSR.java @@ -28,8 +28,8 @@ import java.io.IOException; public class JSR extends JsrInstruction implements VariableLengthInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ JSR() { } diff --git a/src/main/java/org/apache/bcel/generic/JSR_W.java b/src/main/java/org/apache/bcel/generic/JSR_W.java index 9441a320..17e18204 100644 --- a/src/main/java/org/apache/bcel/generic/JSR_W.java +++ b/src/main/java/org/apache/bcel/generic/JSR_W.java @@ -30,8 +30,8 @@ import org.apache.bcel.util.ByteSequence; public class JSR_W extends JsrInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ JSR_W() { } diff --git a/src/main/java/org/apache/bcel/generic/JsrInstruction.java b/src/main/java/org/apache/bcel/generic/JsrInstruction.java index efdb6a89..e6b3496b 100644 --- a/src/main/java/org/apache/bcel/generic/JsrInstruction.java +++ b/src/main/java/org/apache/bcel/generic/JsrInstruction.java @@ -31,8 +31,8 @@ public abstract class JsrInstruction extends BranchInstruction implements Uncond /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ JsrInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/LCONST.java b/src/main/java/org/apache/bcel/generic/LCONST.java index 3fcbe2d5..2928fc82 100644 --- a/src/main/java/org/apache/bcel/generic/LCONST.java +++ b/src/main/java/org/apache/bcel/generic/LCONST.java @@ -30,8 +30,8 @@ public class LCONST extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LCONST() { } diff --git a/src/main/java/org/apache/bcel/generic/LDC.java b/src/main/java/org/apache/bcel/generic/LDC.java index 1ae663de..bcf8040c 100644 --- a/src/main/java/org/apache/bcel/generic/LDC.java +++ b/src/main/java/org/apache/bcel/generic/LDC.java @@ -33,8 +33,8 @@ import org.apache.bcel.util.ByteSequence; public class LDC extends CPInstruction implements PushInstruction, ExceptionThrower { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LDC() { } diff --git a/src/main/java/org/apache/bcel/generic/LDC2_W.java b/src/main/java/org/apache/bcel/generic/LDC2_W.java index 9245b97c..3f06bc26 100644 --- a/src/main/java/org/apache/bcel/generic/LDC2_W.java +++ b/src/main/java/org/apache/bcel/generic/LDC2_W.java @@ -27,8 +27,8 @@ package org.apache.bcel.generic; public class LDC2_W extends CPInstruction implements PushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LDC2_W() { } diff --git a/src/main/java/org/apache/bcel/generic/LDC_W.java b/src/main/java/org/apache/bcel/generic/LDC_W.java index c5edf80a..e3baf1b0 100644 --- a/src/main/java/org/apache/bcel/generic/LDC_W.java +++ b/src/main/java/org/apache/bcel/generic/LDC_W.java @@ -31,8 +31,8 @@ import org.apache.bcel.util.ByteSequence; public class LDC_W extends LDC { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LDC_W() { } diff --git a/src/main/java/org/apache/bcel/generic/LLOAD.java b/src/main/java/org/apache/bcel/generic/LLOAD.java index 8167df02..884a3fde 100644 --- a/src/main/java/org/apache/bcel/generic/LLOAD.java +++ b/src/main/java/org/apache/bcel/generic/LLOAD.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class LLOAD extends LoadInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LLOAD() { super(org.apache.bcel.Const.LLOAD, org.apache.bcel.Const.LLOAD_0); diff --git a/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java b/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java index 5a30f95b..3b854d88 100644 --- a/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java +++ b/src/main/java/org/apache/bcel/generic/LOOKUPSWITCH.java @@ -31,8 +31,8 @@ import org.apache.bcel.util.ByteSequence; public class LOOKUPSWITCH extends Select { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LOOKUPSWITCH() { } diff --git a/src/main/java/org/apache/bcel/generic/LSTORE.java b/src/main/java/org/apache/bcel/generic/LSTORE.java index fb4391dc..c1d6f448 100644 --- a/src/main/java/org/apache/bcel/generic/LSTORE.java +++ b/src/main/java/org/apache/bcel/generic/LSTORE.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public class LSTORE extends StoreInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ LSTORE() { super(org.apache.bcel.Const.LSTORE, org.apache.bcel.Const.LSTORE_0); diff --git a/src/main/java/org/apache/bcel/generic/LoadInstruction.java b/src/main/java/org/apache/bcel/generic/LoadInstruction.java index ed532e9a..5d038f9f 100644 --- a/src/main/java/org/apache/bcel/generic/LoadInstruction.java +++ b/src/main/java/org/apache/bcel/generic/LoadInstruction.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public abstract class LoadInstruction extends LocalVariableInstruction implements PushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. * tag and length are defined in readInstruction and initFromFile, respectively. */ LoadInstruction(final short canon_tag, final short c_tag) { diff --git a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java index 85c9b026..cee8f786 100644 --- a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java +++ b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java @@ -47,8 +47,8 @@ public abstract class LocalVariableInstruction extends Instruction implements Ty /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. * tag and length are defined in readInstruction and initFromFile, respectively. */ LocalVariableInstruction(final short canon_tag, final short c_tag) { @@ -59,8 +59,8 @@ public abstract class LocalVariableInstruction extends Instruction implements Ty /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Also used by IINC()! + * Empty constructor needed for Instruction.readInstruction. + * Also used by IINC()! */ LocalVariableInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java b/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java index 00908fb9..614a8313 100644 --- a/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java +++ b/src/main/java/org/apache/bcel/generic/MULTIANEWARRAY.java @@ -37,8 +37,8 @@ public class MULTIANEWARRAY extends CPInstruction implements LoadClass, Allocati /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ MULTIANEWARRAY() { } diff --git a/src/main/java/org/apache/bcel/generic/NEW.java b/src/main/java/org/apache/bcel/generic/NEW.java index 9e8f3142..138e3f1d 100644 --- a/src/main/java/org/apache/bcel/generic/NEW.java +++ b/src/main/java/org/apache/bcel/generic/NEW.java @@ -29,8 +29,8 @@ public class NEW extends CPInstruction implements LoadClass, AllocationInstructi ExceptionThrower, StackProducer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ NEW() { } diff --git a/src/main/java/org/apache/bcel/generic/NEWARRAY.java b/src/main/java/org/apache/bcel/generic/NEWARRAY.java index bb59c434..c9420f92 100644 --- a/src/main/java/org/apache/bcel/generic/NEWARRAY.java +++ b/src/main/java/org/apache/bcel/generic/NEWARRAY.java @@ -37,8 +37,8 @@ public class NEWARRAY extends Instruction implements AllocationInstruction, Exce /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ NEWARRAY() { } diff --git a/src/main/java/org/apache/bcel/generic/PUTFIELD.java b/src/main/java/org/apache/bcel/generic/PUTFIELD.java index cedd3a40..d480cc1b 100644 --- a/src/main/java/org/apache/bcel/generic/PUTFIELD.java +++ b/src/main/java/org/apache/bcel/generic/PUTFIELD.java @@ -31,8 +31,8 @@ import org.apache.bcel.ExceptionConst; public class PUTFIELD extends FieldInstruction implements PopInstruction, ExceptionThrower { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ PUTFIELD() { } diff --git a/src/main/java/org/apache/bcel/generic/PUTSTATIC.java b/src/main/java/org/apache/bcel/generic/PUTSTATIC.java index 47b55e9e..6ad37a59 100644 --- a/src/main/java/org/apache/bcel/generic/PUTSTATIC.java +++ b/src/main/java/org/apache/bcel/generic/PUTSTATIC.java @@ -31,8 +31,8 @@ import org.apache.bcel.ExceptionConst; public class PUTSTATIC extends FieldInstruction implements ExceptionThrower, PopInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ PUTSTATIC() { } diff --git a/src/main/java/org/apache/bcel/generic/RET.java b/src/main/java/org/apache/bcel/generic/RET.java index 59e546dd..aa47e852 100644 --- a/src/main/java/org/apache/bcel/generic/RET.java +++ b/src/main/java/org/apache/bcel/generic/RET.java @@ -36,8 +36,8 @@ public class RET extends Instruction implements IndexedInstruction, TypedInstruc /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ RET() { } diff --git a/src/main/java/org/apache/bcel/generic/ReturnInstruction.java b/src/main/java/org/apache/bcel/generic/ReturnInstruction.java index ae06a791..1aed5e34 100644 --- a/src/main/java/org/apache/bcel/generic/ReturnInstruction.java +++ b/src/main/java/org/apache/bcel/generic/ReturnInstruction.java @@ -29,8 +29,8 @@ public abstract class ReturnInstruction extends Instruction implements Exception TypedInstruction, StackConsumer { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ ReturnInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/SIPUSH.java b/src/main/java/org/apache/bcel/generic/SIPUSH.java index 897dbbf8..47cf1111 100644 --- a/src/main/java/org/apache/bcel/generic/SIPUSH.java +++ b/src/main/java/org/apache/bcel/generic/SIPUSH.java @@ -35,8 +35,8 @@ public class SIPUSH extends Instruction implements ConstantPushInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ SIPUSH() { } diff --git a/src/main/java/org/apache/bcel/generic/Select.java b/src/main/java/org/apache/bcel/generic/Select.java index b15c95a1..ff010223 100644 --- a/src/main/java/org/apache/bcel/generic/Select.java +++ b/src/main/java/org/apache/bcel/generic/Select.java @@ -73,8 +73,8 @@ public abstract class Select extends BranchInstruction implements VariableLength /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ Select() { } diff --git a/src/main/java/org/apache/bcel/generic/StackInstruction.java b/src/main/java/org/apache/bcel/generic/StackInstruction.java index b76bc248..d487c951 100644 --- a/src/main/java/org/apache/bcel/generic/StackInstruction.java +++ b/src/main/java/org/apache/bcel/generic/StackInstruction.java @@ -25,8 +25,8 @@ package org.apache.bcel.generic; public abstract class StackInstruction extends Instruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ StackInstruction() { } diff --git a/src/main/java/org/apache/bcel/generic/StoreInstruction.java b/src/main/java/org/apache/bcel/generic/StoreInstruction.java index 0c78dd1a..80cb2587 100644 --- a/src/main/java/org/apache/bcel/generic/StoreInstruction.java +++ b/src/main/java/org/apache/bcel/generic/StoreInstruction.java @@ -26,8 +26,8 @@ package org.apache.bcel.generic; public abstract class StoreInstruction extends LocalVariableInstruction implements PopInstruction { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. * tag and length are defined in readInstruction and initFromFile, respectively. */ StoreInstruction(final short canon_tag, final short c_tag) { diff --git a/src/main/java/org/apache/bcel/generic/TABLESWITCH.java b/src/main/java/org/apache/bcel/generic/TABLESWITCH.java index bf9923d6..fa591913 100644 --- a/src/main/java/org/apache/bcel/generic/TABLESWITCH.java +++ b/src/main/java/org/apache/bcel/generic/TABLESWITCH.java @@ -31,8 +31,8 @@ import org.apache.bcel.util.ByteSequence; public class TABLESWITCH extends Select { /** - * Empty constructor needed for the Class.newInstance() statement in - * Instruction.readInstruction(). Not to be used otherwise. + * Empty constructor needed for Instruction.readInstruction. + * Not to be used otherwise. */ TABLESWITCH() { } -- cgit v1.2.3