decompiler -> expr

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@253 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 3a71d9649d
commit 1348678a6b
  1. 2
      jode/jode/decompiler/CodeAnalyzer.java
  2. 4
      jode/jode/decompiler/FieldAnalyzer.java
  3. 2
      jode/jode/decompiler/LocalInfo.java
  4. 2
      jode/jode/decompiler/Opcodes.java
  5. 2
      jode/jode/expr/ArrayLengthOperator.java
  6. 2
      jode/jode/expr/ArrayLoadOperator.java
  7. 2
      jode/jode/expr/ArrayStoreOperator.java
  8. 2
      jode/jode/expr/BinaryOperator.java
  9. 2
      jode/jode/expr/CheckCastOperator.java
  10. 2
      jode/jode/expr/CheckNullOperator.java
  11. 2
      jode/jode/expr/ClassFieldOperator.java
  12. 2
      jode/jode/expr/CombineableOperator.java
  13. 2
      jode/jode/expr/CompareBinaryOperator.java
  14. 2
      jode/jode/expr/CompareToIntOperator.java
  15. 2
      jode/jode/expr/CompareUnaryOperator.java
  16. 2
      jode/jode/expr/ComplexExpression.java
  17. 2
      jode/jode/expr/ConstOperator.java
  18. 2
      jode/jode/expr/ConstructorOperator.java
  19. 2
      jode/jode/expr/ConvertOperator.java
  20. 2
      jode/jode/expr/Expression.java
  21. 2
      jode/jode/expr/GetFieldOperator.java
  22. 2
      jode/jode/expr/IIncOperator.java
  23. 2
      jode/jode/expr/IfThenElseOperator.java
  24. 2
      jode/jode/expr/InstanceOfOperator.java
  25. 2
      jode/jode/expr/InvokeOperator.java
  26. 2
      jode/jode/expr/LocalLoadOperator.java
  27. 2
      jode/jode/expr/LocalPrePostFixOperator.java
  28. 2
      jode/jode/expr/LocalStoreOperator.java
  29. 2
      jode/jode/expr/LocalVarOperator.java
  30. 2
      jode/jode/expr/MatchableOperator.java
  31. 2
      jode/jode/expr/MonitorEnterOperator.java
  32. 2
      jode/jode/expr/MonitorExitOperator.java
  33. 2
      jode/jode/expr/NewArrayOperator.java
  34. 2
      jode/jode/expr/NewOperator.java
  35. 2
      jode/jode/expr/NoArgOperator.java
  36. 2
      jode/jode/expr/NopOperator.java
  37. 2
      jode/jode/expr/Operator.java
  38. 2
      jode/jode/expr/PopOperator.java
  39. 2
      jode/jode/expr/PrePostFixOperator.java
  40. 2
      jode/jode/expr/PutFieldOperator.java
  41. 2
      jode/jode/expr/ShiftOperator.java
  42. 2
      jode/jode/expr/SimpleOperator.java
  43. 2
      jode/jode/expr/StoreInstruction.java
  44. 2
      jode/jode/expr/StringAddOperator.java
  45. 2
      jode/jode/expr/UnaryOperator.java
  46. 2
      jode/jode/flow/CaseBlock.java
  47. 2
      jode/jode/flow/CombineIfGotoExpressions.java
  48. 2
      jode/jode/flow/CompleteSynchronized.java
  49. 4
      jode/jode/flow/ConditionalBlock.java
  50. 2
      jode/jode/flow/CreateAssignExpression.java
  51. 2
      jode/jode/flow/CreateCheckNull.java
  52. 2
      jode/jode/flow/CreateConstantArray.java
  53. 2
      jode/jode/flow/CreateExpression.java
  54. 2
      jode/jode/flow/CreateForInitializer.java
  55. 2
      jode/jode/flow/CreateIfThenElseOperator.java
  56. 2
      jode/jode/flow/CreateNewConstructor.java
  57. 2
      jode/jode/flow/CreatePrePostIncExpression.java
  58. 4
      jode/jode/flow/FlowBlock.java
  59. 2
      jode/jode/flow/IfThenElseBlock.java
  60. 6
      jode/jode/flow/InstructionBlock.java
  61. 4
      jode/jode/flow/InstructionContainer.java
  62. 8
      jode/jode/flow/LoopBlock.java
  63. 2
      jode/jode/flow/MarkInlineExpression.java
  64. 2
      jode/jode/flow/RemoveEmpty.java
  65. 2
      jode/jode/flow/ReturnBlock.java
  66. 2
      jode/jode/flow/SpecialBlock.java
  67. 2
      jode/jode/flow/SwitchBlock.java
  68. 2
      jode/jode/flow/SynchronizedBlock.java
  69. 2
      jode/jode/flow/ThrowBlock.java
  70. 2
      jode/jode/flow/TransformConstructors.java
  71. 2
      jode/jode/flow/TransformExceptionHandlers.java
  72. 1
      jode/test/ClassOpTest.java

@ -22,7 +22,7 @@ import jode.bytecode.ClassInfo;
import jode.bytecode.ConstantPool; import jode.bytecode.ConstantPool;
import jode.bytecode.AttributeInfo; import jode.bytecode.AttributeInfo;
import jode.bytecode.CodeInfo; import jode.bytecode.CodeInfo;
import jode.decompiler.Opcodes; import jode.expr.Opcodes;
import jode.flow.FlowBlock; import jode.flow.FlowBlock;
import jode.flow.TransformExceptionHandlers; import jode.flow.TransformExceptionHandlers;

@ -22,8 +22,8 @@ import java.lang.reflect.Modifier;
import jode.bytecode.FieldInfo; import jode.bytecode.FieldInfo;
import jode.bytecode.AttributeInfo; import jode.bytecode.AttributeInfo;
import jode.bytecode.ClassFormatException; import jode.bytecode.ClassFormatException;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.ConstOperator; import jode.expr.ConstOperator;
public class FieldAnalyzer implements Analyzer { public class FieldAnalyzer implements Analyzer {
ClassAnalyzer clazz; ClassAnalyzer clazz;

@ -20,7 +20,7 @@
package jode; package jode;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.Vector; import java.util.Vector;
import jode.decompiler.LocalVarOperator; import jode.expr.LocalVarOperator;
/** /**
* The LocalInfo represents a local variable of a method. * The LocalInfo represents a local variable of a method.

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.CodeAnalyzer; import jode.CodeAnalyzer;
import jode.LocalInfo; import jode.LocalInfo;
import jode.Type; import jode.Type;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class ArrayLengthOperator extends Operator { public class ArrayLengthOperator extends Operator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.ArrayType; import jode.ArrayType;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.ArrayType; import jode.ArrayType;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class BinaryOperator extends Operator { public class BinaryOperator extends Operator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class CheckCastOperator extends SimpleOperator { public class CheckCastOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.CodeAnalyzer; import jode.CodeAnalyzer;

@ -16,7 +16,7 @@
* *
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
public interface CombineableOperator extends MatchableOperator { public interface CombineableOperator extends MatchableOperator {
/** /**

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class CompareBinaryOperator extends SimpleOperator { public class CompareBinaryOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class CompareToIntOperator extends SimpleOperator { public class CompareToIntOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class CompareUnaryOperator extends SimpleOperator { public class CompareUnaryOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Decompiler; import jode.Decompiler;
import jode.Type; import jode.Type;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class ConstOperator extends NoArgOperator { public class ConstOperator extends NoArgOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.MethodType; import jode.MethodType;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class ConvertOperator extends Operator { public class ConvertOperator extends Operator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public abstract class Expression { public abstract class Expression {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.CodeAnalyzer; import jode.CodeAnalyzer;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class IfThenElseOperator extends SimpleOperator { public class IfThenElseOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class InstanceOfOperator extends SimpleOperator { public class InstanceOfOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.CodeAnalyzer; import jode.CodeAnalyzer;
import jode.MethodType; import jode.MethodType;
import jode.Type; import jode.Type;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Decompiler; import jode.Decompiler;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class LocalPrePostFixOperator extends NoArgOperator { public class LocalPrePostFixOperator extends NoArgOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -16,7 +16,7 @@
* *
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
public interface MatchableOperator { public interface MatchableOperator {
/** /**

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class MonitorEnterOperator extends SimpleOperator { public class MonitorEnterOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class MonitorExitOperator extends SimpleOperator { public class MonitorExitOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.ArrayType; import jode.ArrayType;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class NewOperator extends NoArgOperator { public class NewOperator extends NoArgOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.AssertError; import jode.AssertError;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
/** /**

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public abstract class Operator extends Expression { public abstract class Operator extends Expression {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class PopOperator extends SimpleOperator { public class PopOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class PrePostFixOperator extends Operator { public class PrePostFixOperator extends Operator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
import jode.CodeAnalyzer; import jode.CodeAnalyzer;

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
/** /**

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public abstract class SimpleOperator extends Operator { public abstract class SimpleOperator extends Operator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public abstract class StoreInstruction extends Operator public abstract class StoreInstruction extends Operator

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class StringAddOperator extends SimpleOperator { public class StringAddOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.decompiler; package jode.expr;
import jode.Type; import jode.Type;
public class UnaryOperator extends SimpleOperator { public class UnaryOperator extends SimpleOperator {

@ -17,7 +17,7 @@
* $Id$ * $Id$
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.ConstOperator; import jode.expr.ConstOperator;
/** /**
* This block represents a case instruction. A case instruction is a * This block represents a case instruction. A case instruction is a

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import java.util.Vector; import java.util.Vector;
import jode.decompiler.*; import jode.expr.*;
import jode.Type; import jode.Type;
public class CombineIfGotoExpressions { public class CombineIfGotoExpressions {

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
public class CompleteSynchronized { public class CompleteSynchronized {

@ -17,8 +17,8 @@
*/ */
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.LocalVarOperator; import jode.expr.LocalVarOperator;
/** /**
* An ConditionalBlock is the structured block representing an if * An ConditionalBlock is the structured block representing an if

@ -18,7 +18,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.*; import jode.expr.*;
public class CreateAssignExpression { public class CreateAssignExpression {

@ -18,7 +18,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.*; import jode.expr.*;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
import jode.Type; import jode.Type;
public class CreateConstantArray { public class CreateConstantArray {

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
/** /**
* This transformation creates expressions. It transforms * This transformation creates expressions. It transforms

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
public class CreateForInitializer { public class CreateForInitializer {

@ -20,7 +20,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.Type; import jode.Type;
import jode.decompiler.*; import jode.expr.*;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.Vector; import java.util.Vector;

@ -18,7 +18,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.*; import jode.expr.*;
public class CreateNewConstructor { public class CreateNewConstructor {

@ -18,7 +18,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.*; import jode.expr.*;
import jode.Type; import jode.Type;
public class CreatePrePostIncExpression { public class CreatePrePostIncExpression {

@ -20,8 +20,8 @@
package jode.flow; package jode.flow;
import java.util.*; import java.util.*;
import jode.*; import jode.*;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.CombineableOperator; import jode.expr.CombineableOperator;
/** /**
* A flow block is the structure of which the flow graph consists. A * A flow block is the structure of which the flow graph consists. A

@ -17,7 +17,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
/** /**
* An IfThenElseBlock is the structured block representing an if * An IfThenElseBlock is the structured block representing an if

@ -18,9 +18,9 @@
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.LocalInfo; import jode.LocalInfo;
import jode.decompiler.ComplexExpression; import jode.expr.ComplexExpression;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.LocalStoreOperator; import jode.expr.LocalStoreOperator;
/** /**
* This is the structured block for atomic instructions. * This is the structured block for atomic instructions.

@ -16,8 +16,8 @@
* $Id$ * $Id$
*/ */
package jode.flow; package jode.flow;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.LocalVarOperator; import jode.expr.LocalVarOperator;
/** /**
* This is a method for block containing a single instruction. * This is a method for block containing a single instruction.

@ -21,10 +21,10 @@ package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;
import jode.decompiler.Expression; import jode.expr.Expression;
import jode.decompiler.ConstOperator; import jode.expr.ConstOperator;
import jode.decompiler.LocalStoreOperator; import jode.expr.LocalStoreOperator;
import jode.decompiler.CombineableOperator; import jode.expr.CombineableOperator;
/** /**
* This is the structured block for an Loop block. * This is the structured block for an Loop block.

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
/** /**
* This handles inline methods. When you compile with -O flag javac will * This handles inline methods. When you compile with -O flag javac will

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
public class RemoveEmpty { public class RemoveEmpty {

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
/** /**
* This is the structured block for an Return block. * This is the structured block for an Return block.

@ -18,7 +18,7 @@
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.Decompiler; import jode.Decompiler;
import jode.decompiler.*; import jode.expr.*;
/** /**
* This is the structured block for atomic instructions. * This is the structured block for atomic instructions.

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
/** /**
* This is the structured block for an empty block. * This is the structured block for an empty block.

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.LocalInfo; import jode.LocalInfo;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
/** /**
* This class represents a synchronized structured block. * This class represents a synchronized structured block.

@ -19,7 +19,7 @@
package jode.flow; package jode.flow;
import jode.TabbedPrintWriter; import jode.TabbedPrintWriter;
import jode.decompiler.Expression; import jode.expr.Expression;
/** /**
* This is the structured block for an Throw block. * This is the structured block for an Throw block.

@ -18,7 +18,7 @@
*/ */
package jode.flow; package jode.flow;
import jode.ClassAnalyzer; import jode.ClassAnalyzer;
import jode.decompiler.*; import jode.expr.*;
/** /**
* *

@ -21,7 +21,7 @@ import jode.AssertError;
import jode.Decompiler; import jode.Decompiler;
import jode.Type; import jode.Type;
import jode.LocalInfo; import jode.LocalInfo;
import jode.decompiler.*; import jode.expr.*;
import java.util.Enumeration; import java.util.Enumeration;

@ -5,6 +5,7 @@ public class ClassOpTest {
Class c1 = ClassOpTest.class; Class c1 = ClassOpTest.class;
Class c2 = Object.class; Class c2 = Object.class;
Class c3 = ClassOpTest.class; Class c3 = ClassOpTest.class;
c1.getClass();
} }
void test2() { void test2() {

Loading…
Cancel
Save