From 63b8d35d08a198215ddabb42cca5b0e823232768 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 29 Aug 2014 16:05:51 +0400 Subject: [PATCH] java-decompiler: post-import cleanup (dead code dropped) --- .../decompiler/code/instructions/AALOAD.java | 22 -- .../decompiler/code/instructions/AASTORE.java | 22 -- .../code/instructions/ACONST_NULL.java | 22 -- .../decompiler/code/instructions/ALOAD.java | 60 ---- .../code/instructions/ANEWARRAY.java | 33 -- .../decompiler/code/instructions/ARETURN.java | 22 -- .../code/instructions/ARRAYLENGTH.java | 22 -- .../decompiler/code/instructions/ASTORE.java | 60 ---- .../decompiler/code/instructions/ATHROW.java | 22 -- .../decompiler/code/instructions/BALOAD.java | 22 -- .../decompiler/code/instructions/BASTORE.java | 22 -- .../decompiler/code/instructions/BIPUSH.java | 48 --- .../decompiler/code/instructions/CALOAD.java | 22 -- .../decompiler/code/instructions/CASTORE.java | 22 -- .../code/instructions/CHECKCAST.java | 34 -- .../decompiler/code/instructions/D2F.java | 22 -- .../decompiler/code/instructions/D2I.java | 22 -- .../decompiler/code/instructions/D2L.java | 22 -- .../decompiler/code/instructions/DADD.java | 22 -- .../decompiler/code/instructions/DALOAD.java | 22 -- .../decompiler/code/instructions/DASTORE.java | 22 -- .../decompiler/code/instructions/DCMPG.java | 22 -- .../decompiler/code/instructions/DCMPL.java | 22 -- .../code/instructions/DCONST_0.java | 22 -- .../code/instructions/DCONST_1.java | 22 -- .../decompiler/code/instructions/DDIV.java | 22 -- .../decompiler/code/instructions/DLOAD.java | 60 ---- .../decompiler/code/instructions/DMUL.java | 22 -- .../decompiler/code/instructions/DNEG.java | 22 -- .../decompiler/code/instructions/DREM.java | 22 -- .../decompiler/code/instructions/DRETURN.java | 22 -- .../decompiler/code/instructions/DSTORE.java | 60 ---- .../decompiler/code/instructions/DSUB.java | 22 -- .../decompiler/code/instructions/DUP.java | 22 -- .../decompiler/code/instructions/DUP2.java | 22 -- .../decompiler/code/instructions/DUP2_X1.java | 22 -- .../decompiler/code/instructions/DUP2_X2.java | 22 -- .../decompiler/code/instructions/DUP_X1.java | 22 -- .../decompiler/code/instructions/DUP_X2.java | 22 -- .../decompiler/code/instructions/F2D.java | 22 -- .../decompiler/code/instructions/F2I.java | 22 -- .../decompiler/code/instructions/F2L.java | 22 -- .../decompiler/code/instructions/FADD.java | 22 -- .../decompiler/code/instructions/FALOAD.java | 22 -- .../decompiler/code/instructions/FASTORE.java | 22 -- .../decompiler/code/instructions/FCMPG.java | 22 -- .../decompiler/code/instructions/FCMPL.java | 22 -- .../code/instructions/FCONST_0.java | 22 -- .../code/instructions/FCONST_1.java | 22 -- .../code/instructions/FCONST_2.java | 22 -- .../decompiler/code/instructions/FDIV.java | 22 -- .../decompiler/code/instructions/FLOAD.java | 60 ---- .../decompiler/code/instructions/FMUL.java | 22 -- .../decompiler/code/instructions/FNEG.java | 22 -- .../decompiler/code/instructions/FREM.java | 22 -- .../decompiler/code/instructions/FRETURN.java | 22 -- .../decompiler/code/instructions/FSTORE.java | 60 ---- .../decompiler/code/instructions/FSUB.java | 22 -- .../code/instructions/GETFIELD.java | 33 -- .../code/instructions/GETSTATIC.java | 33 -- .../decompiler/code/instructions/GOTO.java | 46 --- .../decompiler/code/instructions/GOTO_W.java | 33 -- .../decompiler/code/instructions/I2B.java | 22 -- .../decompiler/code/instructions/I2C.java | 22 -- .../decompiler/code/instructions/I2D.java | 22 -- .../decompiler/code/instructions/I2F.java | 22 -- .../decompiler/code/instructions/I2L.java | 22 -- .../decompiler/code/instructions/I2S.java | 22 -- .../decompiler/code/instructions/IADD.java | 22 -- .../decompiler/code/instructions/IALOAD.java | 22 -- .../decompiler/code/instructions/IAND.java | 22 -- .../decompiler/code/instructions/IASTORE.java | 22 -- .../decompiler/code/instructions/IDIV.java | 22 -- .../decompiler/code/instructions/IFEQ.java | 33 -- .../decompiler/code/instructions/IFGE.java | 33 -- .../decompiler/code/instructions/IFGT.java | 33 -- .../decompiler/code/instructions/IFLE.java | 33 -- .../decompiler/code/instructions/IFLT.java | 33 -- .../decompiler/code/instructions/IFNE.java | 33 -- .../code/instructions/IFNONNULL.java | 33 -- .../decompiler/code/instructions/IFNULL.java | 33 -- .../code/instructions/IF_ACMPEQ.java | 34 -- .../code/instructions/IF_ACMPNE.java | 33 -- .../code/instructions/IF_ICMPEQ.java | 33 -- .../code/instructions/IF_ICMPGE.java | 33 -- .../code/instructions/IF_ICMPGT.java | 33 -- .../code/instructions/IF_ICMPLE.java | 33 -- .../code/instructions/IF_ICMPLT.java | 33 -- .../code/instructions/IF_ICMPNE.java | 33 -- .../decompiler/code/instructions/IINC.java | 43 --- .../decompiler/code/instructions/ILOAD.java | 55 ---- .../decompiler/code/instructions/IMUL.java | 22 -- .../decompiler/code/instructions/INEG.java | 22 -- .../code/instructions/INSTANCEOF.java | 33 -- .../code/instructions/INVOKEINTERFACE.java | 35 --- .../code/instructions/INVOKESPECIAL.java | 33 -- .../code/instructions/INVOKESTATIC.java | 33 -- .../code/instructions/INVOKEVIRTUAL.java | 33 -- .../decompiler/code/instructions/IOR.java | 22 -- .../decompiler/code/instructions/IREM.java | 22 -- .../decompiler/code/instructions/IRETURN.java | 22 -- .../decompiler/code/instructions/ISHL.java | 22 -- .../decompiler/code/instructions/ISHR.java | 22 -- .../decompiler/code/instructions/ISTORE.java | 55 ---- .../decompiler/code/instructions/ISUB.java | 22 -- .../decompiler/code/instructions/IUSHR.java | 22 -- .../decompiler/code/instructions/IXOR.java | 22 -- .../decompiler/code/instructions/JSR.java | 46 --- .../decompiler/code/instructions/JSR_W.java | 33 -- .../decompiler/code/instructions/L2D.java | 22 -- .../decompiler/code/instructions/L2F.java | 22 -- .../decompiler/code/instructions/L2I.java | 22 -- .../decompiler/code/instructions/LADD.java | 22 -- .../decompiler/code/instructions/LALOAD.java | 22 -- .../decompiler/code/instructions/LAND.java | 22 -- .../decompiler/code/instructions/LASTORE.java | 22 -- .../decompiler/code/instructions/LCMP.java | 22 -- .../code/instructions/LCONST_0.java | 22 -- .../code/instructions/LCONST_1.java | 22 -- .../decompiler/code/instructions/LDC.java | 33 -- .../decompiler/code/instructions/LDC2_W.java | 33 -- .../decompiler/code/instructions/LDC_W.java | 33 -- .../decompiler/code/instructions/LDIV.java | 22 -- .../decompiler/code/instructions/LLOAD.java | 55 ---- .../decompiler/code/instructions/LMUL.java | 22 -- .../decompiler/code/instructions/LNEG.java | 22 -- .../code/instructions/LOOKUPSWITCH.java | 42 --- .../decompiler/code/instructions/LOR.java | 22 -- .../decompiler/code/instructions/LREM.java | 22 -- .../decompiler/code/instructions/LRETURN.java | 22 -- .../decompiler/code/instructions/LSHL.java | 22 -- .../decompiler/code/instructions/LSHR.java | 22 -- .../decompiler/code/instructions/LSTORE.java | 55 ---- .../decompiler/code/instructions/LSUB.java | 22 -- .../decompiler/code/instructions/LUSHR.java | 22 -- .../decompiler/code/instructions/LXOR.java | 22 -- .../code/instructions/MONITORENTER.java | 22 -- .../code/instructions/MONITOREXIT.java | 22 -- .../code/instructions/MULTIANEWARRAY.java | 34 -- .../decompiler/code/instructions/NEW.java | 33 -- .../code/instructions/NEWARRAY.java | 33 -- .../decompiler/code/instructions/NOP.java | 22 -- .../decompiler/code/instructions/POP.java | 22 -- .../decompiler/code/instructions/POP2.java | 22 -- .../code/instructions/PUTFIELD.java | 33 -- .../code/instructions/PUTSTATIC.java | 33 -- .../decompiler/code/instructions/RET.java | 41 --- .../decompiler/code/instructions/RETURN.java | 22 -- .../decompiler/code/instructions/SALOAD.java | 22 -- .../decompiler/code/instructions/SASTORE.java | 22 -- .../decompiler/code/instructions/SIPUSH.java | 33 -- .../decompiler/code/instructions/SWAP.java | 22 -- .../code/instructions/TABLESWITCH.java | 42 --- .../code/instructions/XXXUNUSEDXXX.java | 22 -- .../java/decompiler/struct/ISaveClass.java | 30 -- .../java/decompiler/struct/StructClass.java | 6 +- .../struct/consts/ConstantPool.java | 3 +- .../java/decompiler/util/ListStack.java | 8 - .../java/decompiler/util/SFormsFastMap.java | 251 --------------- .../decompiler/util/SFormsFastMapOld.java | 290 ------------------ 160 files changed, 4 insertions(+), 4887 deletions(-) delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/AALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/AASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ACONST_NULL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ANEWARRAY.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ARETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ARRAYLENGTH.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ATHROW.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/BALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/BASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/BIPUSH.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/CALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/CASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/CHECKCAST.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/D2F.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/D2I.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/D2L.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DADD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DCMPG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DCMPL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DCONST_0.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DCONST_1.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DDIV.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DLOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DMUL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DNEG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DREM.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DRETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DSTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DSUB.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP2.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP2_X1.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP2_X2.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP_X1.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/DUP_X2.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/F2D.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/F2I.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/F2L.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FADD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FCMPG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FCMPL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FCONST_0.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FCONST_1.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FCONST_2.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FDIV.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FLOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FMUL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FNEG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FREM.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FRETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FSTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/FSUB.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/GETFIELD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/GETSTATIC.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/GOTO.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/GOTO_W.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2B.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2C.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2D.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2F.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2L.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/I2S.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IADD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IAND.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IDIV.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFEQ.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFGE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFGT.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFLE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFLT.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFNE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFNONNULL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IFNULL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPEQ.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPNE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPEQ.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGT.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLT.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPNE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IINC.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ILOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IMUL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INEG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INSTANCEOF.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INVOKEINTERFACE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INVOKESPECIAL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INVOKESTATIC.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/INVOKEVIRTUAL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IOR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IREM.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IRETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ISHL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ISHR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ISTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/ISUB.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IUSHR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/IXOR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/JSR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/JSR_W.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/L2D.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/L2F.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/L2I.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LADD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LAND.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LCMP.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LCONST_0.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LCONST_1.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LDC.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LDC2_W.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LDC_W.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LDIV.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LLOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LMUL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LNEG.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LOOKUPSWITCH.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LOR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LREM.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LRETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LSHL.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LSHR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LSTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LSUB.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LUSHR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/LXOR.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/MONITORENTER.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/MONITOREXIT.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/MULTIANEWARRAY.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/NEW.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/NEWARRAY.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/NOP.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/POP.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/POP2.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/PUTFIELD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/PUTSTATIC.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/RET.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/RETURN.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/SALOAD.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/SASTORE.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/SIPUSH.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/SWAP.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/TABLESWITCH.java delete mode 100644 src/org/jetbrains/java/decompiler/code/instructions/XXXUNUSEDXXX.java delete mode 100644 src/org/jetbrains/java/decompiler/struct/ISaveClass.java delete mode 100644 src/org/jetbrains/java/decompiler/util/SFormsFastMap.java delete mode 100644 src/org/jetbrains/java/decompiler/util/SFormsFastMapOld.java diff --git a/src/org/jetbrains/java/decompiler/code/instructions/AALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/AALOAD.java deleted file mode 100644 index a460184..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/AALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class AALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/AASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/AASTORE.java deleted file mode 100644 index 9e0805d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/AASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class AASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ACONST_NULL.java b/src/org/jetbrains/java/decompiler/code/instructions/ACONST_NULL.java deleted file mode 100644 index 2f78e54..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ACONST_NULL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ACONST_NULL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/ALOAD.java deleted file mode 100644 index 604585c..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ALOAD.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class ALOAD extends Instruction { - - private static int[] opcodes = new int[]{opc_aload_0, opc_aload_1, opc_aload_2, opc_aload_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_aload); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ANEWARRAY.java b/src/org/jetbrains/java/decompiler/code/instructions/ANEWARRAY.java deleted file mode 100644 index 09afe91..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ANEWARRAY.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class ANEWARRAY extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_anewarray); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ARETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/ARETURN.java deleted file mode 100644 index bf4bfae..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ARETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ARETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ARRAYLENGTH.java b/src/org/jetbrains/java/decompiler/code/instructions/ARRAYLENGTH.java deleted file mode 100644 index 6ddee94..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ARRAYLENGTH.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ARRAYLENGTH extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/ASTORE.java deleted file mode 100644 index 67ef5dd..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ASTORE.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class ASTORE extends Instruction { - - private static int[] opcodes = new int[]{opc_astore_0, opc_astore_1, opc_astore_2, opc_astore_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_astore); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ATHROW.java b/src/org/jetbrains/java/decompiler/code/instructions/ATHROW.java deleted file mode 100644 index 66d22a0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ATHROW.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ATHROW extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/BALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/BALOAD.java deleted file mode 100644 index 4a2e5d9..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/BALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class BALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/BASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/BASTORE.java deleted file mode 100644 index 70e8f0d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/BASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class BASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/BIPUSH.java b/src/org/jetbrains/java/decompiler/code/instructions/BIPUSH.java deleted file mode 100644 index 836ee10..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/BIPUSH.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class BIPUSH extends Instruction { - - private static int[] opcodes = - new int[]{opc_iconst_m1, opc_iconst_0, opc_iconst_1, opc_iconst_2, opc_iconst_3, opc_iconst_4, opc_iconst_5}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int value = getOperand(0); - if (value < -1 || value > 5) { - out.writeByte(opc_bipush); - out.writeByte(value); - } - else { - out.writeByte(opcodes[value + 1]); - } - } - - public int length() { - int value = getOperand(0); - if (value < -1 || value > 5) { - return 2; - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/CALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/CALOAD.java deleted file mode 100644 index 9646179..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/CALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class CALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/CASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/CASTORE.java deleted file mode 100644 index 6222e2f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/CASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class CASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/CHECKCAST.java b/src/org/jetbrains/java/decompiler/code/instructions/CHECKCAST.java deleted file mode 100644 index bfff1cf..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/CHECKCAST.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class CHECKCAST extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_checkcast); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} - diff --git a/src/org/jetbrains/java/decompiler/code/instructions/D2F.java b/src/org/jetbrains/java/decompiler/code/instructions/D2F.java deleted file mode 100644 index e40a093..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/D2F.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class D2F extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/D2I.java b/src/org/jetbrains/java/decompiler/code/instructions/D2I.java deleted file mode 100644 index 97e1675..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/D2I.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class D2I extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/D2L.java b/src/org/jetbrains/java/decompiler/code/instructions/D2L.java deleted file mode 100644 index 0d6a304..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/D2L.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class D2L extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DADD.java b/src/org/jetbrains/java/decompiler/code/instructions/DADD.java deleted file mode 100644 index e65a669..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DADD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DADD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/DALOAD.java deleted file mode 100644 index a356c5b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/DASTORE.java deleted file mode 100644 index f1c6cda..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DCMPG.java b/src/org/jetbrains/java/decompiler/code/instructions/DCMPG.java deleted file mode 100644 index 8c1ffc0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DCMPG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DCMPG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DCMPL.java b/src/org/jetbrains/java/decompiler/code/instructions/DCMPL.java deleted file mode 100644 index 2b146a5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DCMPL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DCMPL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DCONST_0.java b/src/org/jetbrains/java/decompiler/code/instructions/DCONST_0.java deleted file mode 100644 index 78c5dde..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DCONST_0.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DCONST_0 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DCONST_1.java b/src/org/jetbrains/java/decompiler/code/instructions/DCONST_1.java deleted file mode 100644 index 8127cfb..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DCONST_1.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DCONST_1 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DDIV.java b/src/org/jetbrains/java/decompiler/code/instructions/DDIV.java deleted file mode 100644 index d15e7af..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DDIV.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DDIV extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DLOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/DLOAD.java deleted file mode 100644 index 1d7fea4..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DLOAD.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class DLOAD extends Instruction { - - private static int[] opcodes = new int[]{opc_dload_0, opc_dload_1, opc_dload_2, opc_dload_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_dload); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DMUL.java b/src/org/jetbrains/java/decompiler/code/instructions/DMUL.java deleted file mode 100644 index 3fdc17a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DMUL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DMUL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DNEG.java b/src/org/jetbrains/java/decompiler/code/instructions/DNEG.java deleted file mode 100644 index 83f82c5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DNEG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DNEG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DREM.java b/src/org/jetbrains/java/decompiler/code/instructions/DREM.java deleted file mode 100644 index 55453fc..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DREM.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DREM extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DRETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/DRETURN.java deleted file mode 100644 index b758dcb..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DRETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DRETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DSTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/DSTORE.java deleted file mode 100644 index e1e37e5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DSTORE.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class DSTORE extends Instruction { - - private static int[] opcodes = new int[]{opc_dstore_0, opc_dstore_1, opc_dstore_2, opc_dstore_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_dstore); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DSUB.java b/src/org/jetbrains/java/decompiler/code/instructions/DSUB.java deleted file mode 100644 index 33026ca..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DSUB.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DSUB extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP.java deleted file mode 100644 index 07a7c4f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP2.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP2.java deleted file mode 100644 index 6451cf2..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP2.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP2 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X1.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X1.java deleted file mode 100644 index deddd1b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X1.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP2_X1 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X2.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X2.java deleted file mode 100644 index deafca6..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP2_X2.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP2_X2 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP_X1.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP_X1.java deleted file mode 100644 index a1268e9..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP_X1.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP_X1 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/DUP_X2.java b/src/org/jetbrains/java/decompiler/code/instructions/DUP_X2.java deleted file mode 100644 index bf5f71d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/DUP_X2.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class DUP_X2 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/F2D.java b/src/org/jetbrains/java/decompiler/code/instructions/F2D.java deleted file mode 100644 index dd5b4a6..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/F2D.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class F2D extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/F2I.java b/src/org/jetbrains/java/decompiler/code/instructions/F2I.java deleted file mode 100644 index 0811e2b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/F2I.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class F2I extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/F2L.java b/src/org/jetbrains/java/decompiler/code/instructions/F2L.java deleted file mode 100644 index a470414..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/F2L.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class F2L extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FADD.java b/src/org/jetbrains/java/decompiler/code/instructions/FADD.java deleted file mode 100644 index bdd9b89..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FADD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FADD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/FALOAD.java deleted file mode 100644 index e9befaf..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/FASTORE.java deleted file mode 100644 index 6e280fc..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FCMPG.java b/src/org/jetbrains/java/decompiler/code/instructions/FCMPG.java deleted file mode 100644 index 4c3c9c5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FCMPG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FCMPG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FCMPL.java b/src/org/jetbrains/java/decompiler/code/instructions/FCMPL.java deleted file mode 100644 index 42dcb4b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FCMPL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FCMPL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_0.java b/src/org/jetbrains/java/decompiler/code/instructions/FCONST_0.java deleted file mode 100644 index 957fe29..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_0.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FCONST_0 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_1.java b/src/org/jetbrains/java/decompiler/code/instructions/FCONST_1.java deleted file mode 100644 index ab014c4..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_1.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FCONST_1 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_2.java b/src/org/jetbrains/java/decompiler/code/instructions/FCONST_2.java deleted file mode 100644 index fa6be0f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FCONST_2.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FCONST_2 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FDIV.java b/src/org/jetbrains/java/decompiler/code/instructions/FDIV.java deleted file mode 100644 index eb6dce4..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FDIV.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FDIV extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FLOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/FLOAD.java deleted file mode 100644 index 6640d5d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FLOAD.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class FLOAD extends Instruction { - - private static int[] opcodes = new int[]{opc_fload_0, opc_fload_1, opc_fload_2, opc_fload_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_fload); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FMUL.java b/src/org/jetbrains/java/decompiler/code/instructions/FMUL.java deleted file mode 100644 index 5a5cee3..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FMUL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FMUL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FNEG.java b/src/org/jetbrains/java/decompiler/code/instructions/FNEG.java deleted file mode 100644 index ab68c82..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FNEG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FNEG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FREM.java b/src/org/jetbrains/java/decompiler/code/instructions/FREM.java deleted file mode 100644 index 91900a8..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FREM.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FREM extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FRETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/FRETURN.java deleted file mode 100644 index a310022..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FRETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FRETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FSTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/FSTORE.java deleted file mode 100644 index 15b5d42..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FSTORE.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class FSTORE extends Instruction { - - private static int[] opcodes = new int[]{opc_fstore_0, opc_fstore_1, opc_fstore_2, opc_fstore_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_fstore); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - if (wide) { - return 4; - } - else { - return 2; - } - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/FSUB.java b/src/org/jetbrains/java/decompiler/code/instructions/FSUB.java deleted file mode 100644 index 09a07b8..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/FSUB.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class FSUB extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/GETFIELD.java b/src/org/jetbrains/java/decompiler/code/instructions/GETFIELD.java deleted file mode 100644 index 93b46ae..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/GETFIELD.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class GETFIELD extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_getfield); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/GETSTATIC.java b/src/org/jetbrains/java/decompiler/code/instructions/GETSTATIC.java deleted file mode 100644 index 86f1b75..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/GETSTATIC.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class GETSTATIC extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_getstatic); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/GOTO.java b/src/org/jetbrains/java/decompiler/code/instructions/GOTO.java deleted file mode 100644 index 515275f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/GOTO.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class GOTO extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int operand = getOperand(0); - if (operand < -32768 || operand > 32767) { - out.writeByte(opc_goto_w); - out.writeInt(operand); - } - else { - out.writeByte(opc_goto); - out.writeShort(operand); - } - } - - public int length() { - int operand = getOperand(0); - if (operand < -32768 || operand > 32767) { - return 5; - } - else { - return 3; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/GOTO_W.java b/src/org/jetbrains/java/decompiler/code/instructions/GOTO_W.java deleted file mode 100644 index ec427f8..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/GOTO_W.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class GOTO_W extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_goto_w); - out.writeInt(getOperand(0)); - } - - public int length() { - return 5; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2B.java b/src/org/jetbrains/java/decompiler/code/instructions/I2B.java deleted file mode 100644 index b6fc681..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2B.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2B extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2C.java b/src/org/jetbrains/java/decompiler/code/instructions/I2C.java deleted file mode 100644 index a1dca6b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2C.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2C extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2D.java b/src/org/jetbrains/java/decompiler/code/instructions/I2D.java deleted file mode 100644 index 6478d78..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2D.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2D extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2F.java b/src/org/jetbrains/java/decompiler/code/instructions/I2F.java deleted file mode 100644 index 1247eff..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2F.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2F extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2L.java b/src/org/jetbrains/java/decompiler/code/instructions/I2L.java deleted file mode 100644 index 6e27d5a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2L.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2L extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/I2S.java b/src/org/jetbrains/java/decompiler/code/instructions/I2S.java deleted file mode 100644 index e66b75b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/I2S.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class I2S extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IADD.java b/src/org/jetbrains/java/decompiler/code/instructions/IADD.java deleted file mode 100644 index 5922136..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IADD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IADD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/IALOAD.java deleted file mode 100644 index 645d6df..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IAND.java b/src/org/jetbrains/java/decompiler/code/instructions/IAND.java deleted file mode 100644 index 207ed34..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IAND.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IAND extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/IASTORE.java deleted file mode 100644 index 56d3d24..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IDIV.java b/src/org/jetbrains/java/decompiler/code/instructions/IDIV.java deleted file mode 100644 index 60b4690..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IDIV.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IDIV extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFEQ.java b/src/org/jetbrains/java/decompiler/code/instructions/IFEQ.java deleted file mode 100644 index 28cfd81..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFEQ.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFEQ extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifeq); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFGE.java b/src/org/jetbrains/java/decompiler/code/instructions/IFGE.java deleted file mode 100644 index d805789..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFGE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFGE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifge); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFGT.java b/src/org/jetbrains/java/decompiler/code/instructions/IFGT.java deleted file mode 100644 index 13f650a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFGT.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFGT extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifgt); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFLE.java b/src/org/jetbrains/java/decompiler/code/instructions/IFLE.java deleted file mode 100644 index e03d915..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFLE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFLE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifle); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFLT.java b/src/org/jetbrains/java/decompiler/code/instructions/IFLT.java deleted file mode 100644 index 0299a91..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFLT.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFLT extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_iflt); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFNE.java b/src/org/jetbrains/java/decompiler/code/instructions/IFNE.java deleted file mode 100644 index 3402362..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFNE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFNE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifne); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFNONNULL.java b/src/org/jetbrains/java/decompiler/code/instructions/IFNONNULL.java deleted file mode 100644 index 64a12d0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFNONNULL.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFNONNULL extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifnonnull); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IFNULL.java b/src/org/jetbrains/java/decompiler/code/instructions/IFNULL.java deleted file mode 100644 index 71265b6..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IFNULL.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IFNULL extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ifnull); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPEQ.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPEQ.java deleted file mode 100644 index 5b23cbf..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPEQ.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ACMPEQ extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_acmpeq); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} - diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPNE.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPNE.java deleted file mode 100644 index e41ea9f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ACMPNE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ACMPNE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_acmpne); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPEQ.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPEQ.java deleted file mode 100644 index dad633d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPEQ.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPEQ extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmpeq); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGE.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGE.java deleted file mode 100644 index 54f6295..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPGE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmpge); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGT.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGT.java deleted file mode 100644 index e2e1972..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPGT.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPGT extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmpgt); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLE.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLE.java deleted file mode 100644 index 4f8c76c..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPLE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmple); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLT.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLT.java deleted file mode 100644 index d6a9a48..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLT.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPLT extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmplt); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPNE.java b/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPNE.java deleted file mode 100644 index 6484344..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPNE.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IF_ICMPNE extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_if_icmpne); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IINC.java b/src/org/jetbrains/java/decompiler/code/instructions/IINC.java deleted file mode 100644 index fc2506c..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IINC.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class IINC extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_iinc); - if (wide) { - out.writeShort(getOperand(0)); - out.writeShort(getOperand(1)); - } - else { - out.writeByte(getOperand(0)); - out.writeByte(getOperand(1)); - } - } - - public int length() { - return wide ? 6 : 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ILOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/ILOAD.java deleted file mode 100644 index 3be609d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ILOAD.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class ILOAD extends Instruction { - - private static int[] opcodes = new int[]{opc_iload_0, opc_iload_1, opc_iload_2, opc_iload_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_iload); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - return wide ? 4 : 2; - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IMUL.java b/src/org/jetbrains/java/decompiler/code/instructions/IMUL.java deleted file mode 100644 index 8cec91b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IMUL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IMUL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INEG.java b/src/org/jetbrains/java/decompiler/code/instructions/INEG.java deleted file mode 100644 index 903a22d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INEG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class INEG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INSTANCEOF.java b/src/org/jetbrains/java/decompiler/code/instructions/INSTANCEOF.java deleted file mode 100644 index e5acd87..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INSTANCEOF.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class INSTANCEOF extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_instanceof); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INVOKEINTERFACE.java b/src/org/jetbrains/java/decompiler/code/instructions/INVOKEINTERFACE.java deleted file mode 100644 index ecf15b1..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INVOKEINTERFACE.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class INVOKEINTERFACE extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_invokeinterface); - out.writeShort(getOperand(0)); - out.writeByte(getOperand(1)); - out.writeByte(0); - } - - public int length() { - return 5; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INVOKESPECIAL.java b/src/org/jetbrains/java/decompiler/code/instructions/INVOKESPECIAL.java deleted file mode 100644 index 0f3ad00..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INVOKESPECIAL.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class INVOKESPECIAL extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_invokespecial); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INVOKESTATIC.java b/src/org/jetbrains/java/decompiler/code/instructions/INVOKESTATIC.java deleted file mode 100644 index 1d21cd2..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INVOKESTATIC.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class INVOKESTATIC extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_invokestatic); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/INVOKEVIRTUAL.java b/src/org/jetbrains/java/decompiler/code/instructions/INVOKEVIRTUAL.java deleted file mode 100644 index 2ce543d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/INVOKEVIRTUAL.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class INVOKEVIRTUAL extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_invokevirtual); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IOR.java b/src/org/jetbrains/java/decompiler/code/instructions/IOR.java deleted file mode 100644 index b8bc4b1..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IOR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IOR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IREM.java b/src/org/jetbrains/java/decompiler/code/instructions/IREM.java deleted file mode 100644 index 4d299b7..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IREM.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IREM extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IRETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/IRETURN.java deleted file mode 100644 index 7f95241..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IRETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IRETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ISHL.java b/src/org/jetbrains/java/decompiler/code/instructions/ISHL.java deleted file mode 100644 index f440380..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ISHL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ISHL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ISHR.java b/src/org/jetbrains/java/decompiler/code/instructions/ISHR.java deleted file mode 100644 index 6fa2b71..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ISHR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ISHR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ISTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/ISTORE.java deleted file mode 100644 index 5d6024a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ISTORE.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class ISTORE extends Instruction { - - private static int[] opcodes = new int[]{opc_istore_0, opc_istore_1, opc_istore_2, opc_istore_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_istore); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - return wide ? 4 : 2; - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/ISUB.java b/src/org/jetbrains/java/decompiler/code/instructions/ISUB.java deleted file mode 100644 index 7e3caf0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/ISUB.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class ISUB extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IUSHR.java b/src/org/jetbrains/java/decompiler/code/instructions/IUSHR.java deleted file mode 100644 index b548209..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IUSHR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IUSHR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/IXOR.java b/src/org/jetbrains/java/decompiler/code/instructions/IXOR.java deleted file mode 100644 index 261146b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/IXOR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class IXOR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/JSR.java b/src/org/jetbrains/java/decompiler/code/instructions/JSR.java deleted file mode 100644 index 1c80177..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/JSR.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class JSR extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int operand = getOperand(0); - if (operand < -32768 || operand > 32767) { - out.writeByte(opc_jsr_w); - out.writeInt(operand); - } - else { - out.writeByte(opc_jsr); - out.writeShort(operand); - } - } - - public int length() { - int operand = getOperand(0); - if (operand < -32768 || operand > 32767) { - return 5; - } - else { - return 3; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/JSR_W.java b/src/org/jetbrains/java/decompiler/code/instructions/JSR_W.java deleted file mode 100644 index 67cf91d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/JSR_W.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.JumpInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class JSR_W extends JumpInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_jsr_w); - out.writeInt(getOperand(0)); - } - - public int length() { - return 5; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/L2D.java b/src/org/jetbrains/java/decompiler/code/instructions/L2D.java deleted file mode 100644 index 5569d3f..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/L2D.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class L2D extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/L2F.java b/src/org/jetbrains/java/decompiler/code/instructions/L2F.java deleted file mode 100644 index fcab0ba..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/L2F.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class L2F extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/L2I.java b/src/org/jetbrains/java/decompiler/code/instructions/L2I.java deleted file mode 100644 index 558e5f5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/L2I.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class L2I extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LADD.java b/src/org/jetbrains/java/decompiler/code/instructions/LADD.java deleted file mode 100644 index 358a788..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LADD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LADD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/LALOAD.java deleted file mode 100644 index 9e6b0b0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LAND.java b/src/org/jetbrains/java/decompiler/code/instructions/LAND.java deleted file mode 100644 index 37da9bd..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LAND.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LAND extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/LASTORE.java deleted file mode 100644 index e89aeff..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LCMP.java b/src/org/jetbrains/java/decompiler/code/instructions/LCMP.java deleted file mode 100644 index 399d231..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LCMP.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LCMP extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LCONST_0.java b/src/org/jetbrains/java/decompiler/code/instructions/LCONST_0.java deleted file mode 100644 index 04bc841..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LCONST_0.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LCONST_0 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LCONST_1.java b/src/org/jetbrains/java/decompiler/code/instructions/LCONST_1.java deleted file mode 100644 index b58fadf..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LCONST_1.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LCONST_1 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LDC.java b/src/org/jetbrains/java/decompiler/code/instructions/LDC.java deleted file mode 100644 index aa1e9ac..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LDC.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LDC extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ldc); - out.writeByte(getOperand(0)); - } - - public int length() { - return 2; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LDC2_W.java b/src/org/jetbrains/java/decompiler/code/instructions/LDC2_W.java deleted file mode 100644 index 67ba631..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LDC2_W.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LDC2_W extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ldc2_w); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LDC_W.java b/src/org/jetbrains/java/decompiler/code/instructions/LDC_W.java deleted file mode 100644 index 1e5030a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LDC_W.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LDC_W extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_ldc_w); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LDIV.java b/src/org/jetbrains/java/decompiler/code/instructions/LDIV.java deleted file mode 100644 index b90015b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LDIV.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LDIV extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LLOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/LLOAD.java deleted file mode 100644 index 44afa3b..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LLOAD.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LLOAD extends Instruction { - - private static int[] opcodes = new int[]{opc_lload_0, opc_lload_1, opc_lload_2, opc_lload_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_lload); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - return wide ? 4 : 2; - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LMUL.java b/src/org/jetbrains/java/decompiler/code/instructions/LMUL.java deleted file mode 100644 index 475030d..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LMUL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LMUL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LNEG.java b/src/org/jetbrains/java/decompiler/code/instructions/LNEG.java deleted file mode 100644 index 5cacf17..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LNEG.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LNEG extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LOOKUPSWITCH.java b/src/org/jetbrains/java/decompiler/code/instructions/LOOKUPSWITCH.java deleted file mode 100644 index 04ec7ba..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LOOKUPSWITCH.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.SwitchInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LOOKUPSWITCH extends SwitchInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - - out.writeByte(opc_lookupswitch); - - int padding = 3 - (offset % 4); - for (int i = 0; i < padding; i++) { - out.writeByte(0); - } - - for (int i = 0; i < operandsCount(); i++) { - out.writeInt(getOperand(i)); - } - } - - public int length() { - return 1 + operandsCount() * 4; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LOR.java b/src/org/jetbrains/java/decompiler/code/instructions/LOR.java deleted file mode 100644 index 0c65e5c..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LOR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LOR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LREM.java b/src/org/jetbrains/java/decompiler/code/instructions/LREM.java deleted file mode 100644 index b75ebc5..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LREM.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LREM extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LRETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/LRETURN.java deleted file mode 100644 index b2f03de..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LRETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LRETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LSHL.java b/src/org/jetbrains/java/decompiler/code/instructions/LSHL.java deleted file mode 100644 index ae5e9f2..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LSHL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LSHL extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LSHR.java b/src/org/jetbrains/java/decompiler/code/instructions/LSHR.java deleted file mode 100644 index 7402178..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LSHR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LSHR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LSTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/LSTORE.java deleted file mode 100644 index 230c3e4..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LSTORE.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class LSTORE extends Instruction { - - private static int[] opcodes = new int[]{opc_lstore_0, opc_lstore_1, opc_lstore_2, opc_lstore_3}; - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - int index = getOperand(0); - if (index > 3) { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_lstore); - if (wide) { - out.writeShort(index); - } - else { - out.writeByte(index); - } - } - else { - out.writeByte(opcodes[index]); - } - } - - public int length() { - int index = getOperand(0); - if (index > 3) { - return wide ? 4 : 2; - } - else { - return 1; - } - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LSUB.java b/src/org/jetbrains/java/decompiler/code/instructions/LSUB.java deleted file mode 100644 index cce794a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LSUB.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LSUB extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LUSHR.java b/src/org/jetbrains/java/decompiler/code/instructions/LUSHR.java deleted file mode 100644 index ecdc444..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LUSHR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LUSHR extends Instruction { - -} \ No newline at end of file diff --git a/src/org/jetbrains/java/decompiler/code/instructions/LXOR.java b/src/org/jetbrains/java/decompiler/code/instructions/LXOR.java deleted file mode 100644 index d9f2644..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/LXOR.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class LXOR extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/MONITORENTER.java b/src/org/jetbrains/java/decompiler/code/instructions/MONITORENTER.java deleted file mode 100644 index c92bbf0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/MONITORENTER.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class MONITORENTER extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/MONITOREXIT.java b/src/org/jetbrains/java/decompiler/code/instructions/MONITOREXIT.java deleted file mode 100644 index 1a645b9..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/MONITOREXIT.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class MONITOREXIT extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/MULTIANEWARRAY.java b/src/org/jetbrains/java/decompiler/code/instructions/MULTIANEWARRAY.java deleted file mode 100644 index 9a1b16a..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/MULTIANEWARRAY.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class MULTIANEWARRAY extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_multianewarray); - out.writeShort(getOperand(0)); - out.writeByte(getOperand(1)); - } - - public int length() { - return 4; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/NEW.java b/src/org/jetbrains/java/decompiler/code/instructions/NEW.java deleted file mode 100644 index 7ffbdd3..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/NEW.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class NEW extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_new); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/NEWARRAY.java b/src/org/jetbrains/java/decompiler/code/instructions/NEWARRAY.java deleted file mode 100644 index ec4ada8..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/NEWARRAY.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class NEWARRAY extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_newarray); - out.writeByte(getOperand(0)); - } - - public int length() { - return 2; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/NOP.java b/src/org/jetbrains/java/decompiler/code/instructions/NOP.java deleted file mode 100644 index 4c47938..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/NOP.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class NOP extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/POP.java b/src/org/jetbrains/java/decompiler/code/instructions/POP.java deleted file mode 100644 index 99fa873..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/POP.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class POP extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/POP2.java b/src/org/jetbrains/java/decompiler/code/instructions/POP2.java deleted file mode 100644 index 1ff12f3..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/POP2.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class POP2 extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/PUTFIELD.java b/src/org/jetbrains/java/decompiler/code/instructions/PUTFIELD.java deleted file mode 100644 index 1ab8773..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/PUTFIELD.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class PUTFIELD extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_putfield); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/PUTSTATIC.java b/src/org/jetbrains/java/decompiler/code/instructions/PUTSTATIC.java deleted file mode 100644 index 92e2271..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/PUTSTATIC.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class PUTSTATIC extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_putstatic); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/RET.java b/src/org/jetbrains/java/decompiler/code/instructions/RET.java deleted file mode 100644 index c317be0..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/RET.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class RET extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - if (wide) { - out.writeByte(opc_wide); - } - out.writeByte(opc_ret); - if (wide) { - out.writeShort(getOperand(0)); - } - else { - out.writeByte(getOperand(0)); - } - } - - public int length() { - return wide ? 4 : 2; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/RETURN.java b/src/org/jetbrains/java/decompiler/code/instructions/RETURN.java deleted file mode 100644 index 83bf8c7..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/RETURN.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class RETURN extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/SALOAD.java b/src/org/jetbrains/java/decompiler/code/instructions/SALOAD.java deleted file mode 100644 index deb82e3..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/SALOAD.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class SALOAD extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/SASTORE.java b/src/org/jetbrains/java/decompiler/code/instructions/SASTORE.java deleted file mode 100644 index e1ff283..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/SASTORE.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class SASTORE extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/SIPUSH.java b/src/org/jetbrains/java/decompiler/code/instructions/SIPUSH.java deleted file mode 100644 index 7c5c55e..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/SIPUSH.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class SIPUSH extends Instruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - out.writeByte(opc_sipush); - out.writeShort(getOperand(0)); - } - - public int length() { - return 3; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/SWAP.java b/src/org/jetbrains/java/decompiler/code/instructions/SWAP.java deleted file mode 100644 index 64d67f4..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/SWAP.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class SWAP extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/TABLESWITCH.java b/src/org/jetbrains/java/decompiler/code/instructions/TABLESWITCH.java deleted file mode 100644 index ac5e6bd..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/TABLESWITCH.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.SwitchInstruction; - -import java.io.DataOutputStream; -import java.io.IOException; - -public class TABLESWITCH extends SwitchInstruction { - - public void writeToStream(DataOutputStream out, int offset) throws IOException { - - out.writeByte(opc_tableswitch); - - int padding = 3 - (offset % 4); - for (int i = 0; i < padding; i++) { - out.writeByte(0); - } - - for (int i = 0; i < operandsCount(); i++) { - out.writeInt(getOperand(i)); - } - } - - public int length() { - return 1 + operandsCount() * 4; - } -} diff --git a/src/org/jetbrains/java/decompiler/code/instructions/XXXUNUSEDXXX.java b/src/org/jetbrains/java/decompiler/code/instructions/XXXUNUSEDXXX.java deleted file mode 100644 index 739aea9..0000000 --- a/src/org/jetbrains/java/decompiler/code/instructions/XXXUNUSEDXXX.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.code.instructions; - -import org.jetbrains.java.decompiler.code.Instruction; - -public class XXXUNUSEDXXX extends Instruction { - -} diff --git a/src/org/jetbrains/java/decompiler/struct/ISaveClass.java b/src/org/jetbrains/java/decompiler/struct/ISaveClass.java deleted file mode 100644 index c8a5a45..0000000 --- a/src/org/jetbrains/java/decompiler/struct/ISaveClass.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.struct; - -import java.io.DataOutputStream; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.IOException; - -public interface ISaveClass { - - String getClassEntryName(StructClass cl, String entryname); - - void saveClassToFile(StructClass cl, File file) throws FileNotFoundException, IOException; - - void saveClassToStream(StructClass cl, DataOutputStream out); -} diff --git a/src/org/jetbrains/java/decompiler/struct/StructClass.java b/src/org/jetbrains/java/decompiler/struct/StructClass.java index 19946a0..78e941d 100644 --- a/src/org/jetbrains/java/decompiler/struct/StructClass.java +++ b/src/org/jetbrains/java/decompiler/struct/StructClass.java @@ -94,15 +94,15 @@ public class StructClass { // constructors // ***************************************************************************** - public StructClass(String filename, boolean own, LazyLoader loader) throws FileNotFoundException, IOException { + public StructClass(String filename, boolean own, LazyLoader loader) throws IOException { this(new FileInputStream(filename), own, loader); } - public StructClass(InputStream inStream, boolean own, LazyLoader loader) throws FileNotFoundException, IOException { + public StructClass(InputStream inStream, boolean own, LazyLoader loader) throws IOException { this(new DataInputFullStream(inStream), own, loader); } - public StructClass(DataInputFullStream inStream, boolean own, LazyLoader loader) throws FileNotFoundException, IOException { + public StructClass(DataInputFullStream inStream, boolean own, LazyLoader loader) throws IOException { this.own = own; this.loader = loader; diff --git a/src/org/jetbrains/java/decompiler/struct/consts/ConstantPool.java b/src/org/jetbrains/java/decompiler/struct/consts/ConstantPool.java index ac3c5a5..a352213 100644 --- a/src/org/jetbrains/java/decompiler/struct/consts/ConstantPool.java +++ b/src/org/jetbrains/java/decompiler/struct/consts/ConstantPool.java @@ -24,7 +24,6 @@ import org.jetbrains.java.decompiler.struct.gen.VarType; import java.io.DataInputStream; import java.io.DataOutputStream; -import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -125,7 +124,7 @@ public class ConstantPool { // public methods // ***************************************************************************** - public void writeToOutputStream(DataOutputStream out) throws FileNotFoundException, IOException { + public void writeToOutputStream(DataOutputStream out) throws IOException { out.writeShort(pool.size()); for (int i = 1; i < pool.size(); i++) { diff --git a/src/org/jetbrains/java/decompiler/util/ListStack.java b/src/org/jetbrains/java/decompiler/util/ListStack.java index 20c6614..19c2416 100644 --- a/src/org/jetbrains/java/decompiler/util/ListStack.java +++ b/src/org/jetbrains/java/decompiler/util/ListStack.java @@ -77,14 +77,6 @@ public class ListStack extends ArrayList { return pointer; } - public T get(int index) { - return super.get(index); - } - - public T set(int index, T element) { - return super.set(index, element); - } - public T getByOffset(int offset) { return this.get(pointer + offset); } diff --git a/src/org/jetbrains/java/decompiler/util/SFormsFastMap.java b/src/org/jetbrains/java/decompiler/util/SFormsFastMap.java deleted file mode 100644 index 51c64d2..0000000 --- a/src/org/jetbrains/java/decompiler/util/SFormsFastMap.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.util; - -import org.jetbrains.java.decompiler.modules.decompiler.exps.VarExprent; - -import java.util.ArrayList; -import java.util.List; -import java.util.Map.Entry; - -public class SFormsFastMap { - - private int size; - - private List lstElements = new ArrayList(3); - - { - lstElements.add((E[])new Object[5]); - lstElements.add((E[])new Object[5]); - lstElements.add((E[])new Object[5]); - } - - public SFormsFastMap() { - } - - public SFormsFastMap(SFormsFastMap map) { - for (int i = 2; i >= 0; i--) { - E[] arr = map.lstElements.get(i); - E[] arrnew = (E[])new Object[arr.length]; - - System.arraycopy(arr, 0, arrnew, 0, arr.length); - - lstElements.set(i, arrnew); - - for (E element : arrnew) { - if (element != null) { - size++; - } - } - } - } - - public int size() { - return size; - } - - public boolean isEmpty() { - return size == 0; - } - - public void put(int key, E value) { - putInternal(key, value, false); - } - - public void remove(int key) { - putInternal(key, null, true); - } - - public void removeAllFields() { - E[] arr = lstElements.get(2); - for (int i = arr.length - 1; i >= 0; i--) { - E val = arr[i]; - if (val != null) { - arr[i] = null; - size--; - } - } - } - - public void putInternal(final int key, final E value, boolean remove) { - - int index = 0; - int ikey = key; - if (ikey < 0) { - index = 2; - ikey = -ikey; - } - else if (ikey >= VarExprent.STACK_BASE) { - index = 1; - ikey -= VarExprent.STACK_BASE; - } - - E[] arr = lstElements.get(index); - if (ikey >= arr.length) { - if (remove) { - return; - } - else { - arr = ensureCapacity(arr, ikey + 1, false); - lstElements.set(index, arr); - } - } - - E oldval = arr[ikey]; - arr[ikey] = value; - - if (oldval == null && value != null) { - size++; - } - else if (oldval != null && value == null) { - size--; - } - } - - public boolean containsKey(int key) { - return get(key) != null; - } - - public E get(int key) { - - int index = 0; - if (key < 0) { - index = 2; - key = -key; - } - else if (key >= VarExprent.STACK_BASE) { - index = 1; - key -= VarExprent.STACK_BASE; - } - - E[] arr = lstElements.get(index); - - if (key < arr.length) { - return arr[key]; - } - return null; - } - - public void union(SFormsFastMap map, IElementsUnion union) { - - for (int i = 2; i >= 0; i--) { - E[] lstOwn = lstElements.get(i); - E[] lstExtern = map.lstElements.get(i); - - int externsize = lstExtern.length; - - if (lstOwn.length < externsize) { - lstOwn = ensureCapacity(lstOwn, externsize, true); - lstElements.set(i, lstOwn); - } - - int ownsize = lstOwn.length; - int minsize = ownsize > externsize ? externsize : ownsize; - - for (int j = minsize - 1; j >= 0; j--) { - E second = lstExtern[j]; - - if (second != null) { - E first = lstOwn[j]; - - if (first == null) { - lstOwn[j] = union.copy(second); - size++; - } - else { - union.union(first, second); - } - } - } - - // ITimer timer = TimerFactory.newTimer(); - // timer.start(); - // - // if(externsize > minsize) { - // for(int j=minsize;j> entryList() { - List> list = new ArrayList>(); - - for (int i = 2; i >= 0; i--) { - int ikey = 0; - for (final E ent : lstElements.get(i)) { - if (ent != null) { - final int key = i == 0 ? ikey : (i == 1 ? ikey + VarExprent.STACK_BASE : -ikey); - - list.add(new Entry() { - - private Integer var = key; - private E val = ent; - - public Integer getKey() { - return var; - } - - public E getValue() { - return val; - } - - public E setValue(E newvalue) { - return null; - } - }); - } - - ikey++; - } - } - - return list; - } - - private E[] ensureCapacity(E[] arr, int size, boolean exact) { - - int minsize = size; - if (!exact) { - minsize = 2 * arr.length / 3 + 1; - if (size > minsize) { - minsize = size; - } - } - - E[] arrnew = (E[])new Object[minsize]; - System.arraycopy(arr, 0, arrnew, 0, arr.length); - - return arrnew; - } - - public interface IElementsUnion { - E union(E first, E second); - - E copy(E element); - } -} diff --git a/src/org/jetbrains/java/decompiler/util/SFormsFastMapOld.java b/src/org/jetbrains/java/decompiler/util/SFormsFastMapOld.java deleted file mode 100644 index 7d428a4..0000000 --- a/src/org/jetbrains/java/decompiler/util/SFormsFastMapOld.java +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed 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.jetbrains.java.decompiler.util; - -import org.jetbrains.java.decompiler.modules.decompiler.exps.VarExprent; - -import java.util.ArrayList; -import java.util.List; -import java.util.Map.Entry; - -public class SFormsFastMapOld { - - private List>> lstElements = new ArrayList>>(3); - - { - lstElements.add(new ArrayList>()); - lstElements.add(new ArrayList>()); - lstElements.add(new ArrayList>()); - } - - public SFormsFastMapOld() { - } - - public SFormsFastMapOld(SFormsFastMapOld map) { - for (int i = 2; i >= 0; i--) { - lstElements.set(i, new ArrayList>(map.lstElements.get(i))); - } - } - - public int size() { - int size = 0; - for (int i = 2; i >= 0; i--) { - size += lstElements.get(i).size(); - } - return size; - } - - public boolean isEmpty() { - - for (int i = 2; i >= 0; i--) { - if (!lstElements.get(i).isEmpty()) { - return false; - } - } - - return true; - } - - public void put(int key, E value) { - putInternal(key, value, false); - } - - public void remove(int key) { - putInternal(key, null, true); - } - - public void removeAllFields() { - lstElements.get(2).clear(); - } - - public void putInternal(final int key, final E value, boolean remove) { - - int index = 0; - int ikey = key; - if (ikey < 0) { - index = 2; - ikey = -ikey; - } - else if (ikey >= VarExprent.STACK_BASE) { - index = 1; - ikey -= VarExprent.STACK_BASE; - } - - ArrayList> lst = lstElements.get(index); - if (ikey >= lst.size()) { - if (remove) { - return; - } - else { - ensureCapacity(lst, ikey + 1, false); - } - } - - lst.set(ikey, value == null ? null : new Entry() { - - private Integer var = key; - private E val = value; - - public Integer getKey() { - return var; - } - - public E getValue() { - return val; - } - - public E setValue(E newvalue) { - val = newvalue; - return null; - } - }); - } - - public boolean containsKey(int key) { - return get(key) != null; - } - - public E get(int key) { - - int index = 0; - if (key < 0) { - index = 2; - key = -key; - } - else if (key >= VarExprent.STACK_BASE) { - index = 1; - key -= VarExprent.STACK_BASE; - } - - ArrayList> lst = lstElements.get(index); - - Entry ent; - if (key < lst.size() && (ent = lst.get(key)) != null) { - return ent.getValue(); - } - return null; - } - - public void union(SFormsFastMapOld map, IElementsUnion union) { - - for (int i = 2; i >= 0; i--) { - ArrayList> lstOwn = lstElements.get(i); - ArrayList> lstExtern = map.lstElements.get(i); - - int ownsize = lstOwn.size(); - int externsize = lstExtern.size(); - - int minsize = ownsize > externsize ? externsize : ownsize; - - for (int j = minsize - 1; j >= 0; j--) { - Entry second = lstExtern.get(j); - - if (second != null) { - Entry first = lstOwn.get(j); - - if (first == null) { - putInternal(second.getKey(), union.copy(second.getValue()), false); - } - else { - first.setValue(union.union(first.getValue(), second.getValue())); - } - } - } - - if (externsize > minsize) { - // ensureCapacity(lstOwn, externsize, true); - // lstOwn.addAll(lstExtern.subList(minsize, externsize)); - - for (int j = minsize; j < externsize; j++) { - Entry second = lstExtern.get(j); - // if(first != null) { - // first.setValue(union.copy(first.getValue())); - // } - - if (second != null) { - putInternal(second.getKey(), union.copy(second.getValue()), false); - } - // lstOwn.add(lstExtern.get(j)); - } - } - } - } - - public List> entryList() { - List> list = new ArrayList>(); - - for (int i = 2; i >= 0; i--) { - for (Entry ent : lstElements.get(i)) { - if (ent != null) { - list.add(ent); - } - } - } - - return list; - } - - // public SFormsFastMapIterator iterator() { - // return new SFormsFastMapIterator(); - // } - - private void ensureCapacity(ArrayList> lst, int size, boolean exact) { - - if (!exact) { - int minsize = 2 * lst.size() / 3 + 1; - if (minsize > size) { - size = minsize; - } - } - - lst.ensureCapacity(size); - for (int i = size - lst.size(); i > 0; i--) { - lst.add(null); - } - } - - public interface IElementsUnion { - E union(E first, E second); - - E copy(E element); - } - - // public class SFormsFastMapIterator implements Iterator> { - // - // private int[] pointer = new int[]{0, -1}; - // private int[] next_pointer = null; - // - // private int[] getNextIndex(int list, int index) { - // - // while(list < 3) { - // ArrayList lst = lstElements.get(list); - // - // while(++index < lst.size()) { - // E element = lst.get(index); - // if(element != null) { - // return new int[] {list, index}; - // } - // } - // - // index = -1; - // list++; - // } - // - // return null; - // } - // - // public boolean hasNext() { - // next_pointer = getNextIndex(pointer[0], pointer[1]); - // return (next_pointer != null); - // } - // - // public Entry next() { - // if(next_pointer != null) { - // pointer = next_pointer; - // } else { - // int[] nextpointer = getNextIndex(pointer[0], pointer[1]); - // if(nextpointer != null) { - // pointer = nextpointer; - // } else { - // return null; - // } - // } - // - // next_pointer = null; - // - // return new Entry() { - // public Integer getKey() { - // return null; - // } - // - // public E getValue() { - // return null; - // } - // - // public E setValue(E value) { - // throw new RuntimeException("not implemented!"); - // } - // }; - // //lstElements.get(pointer[0]).get(pointer[1]); - // } - // - // public void remove() { - // throw new RuntimeException("not implemented!"); - // } - // - // } -}