From 2752c2b035ac90887b4451aa5bf474f7dbf08237 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 12 Mar 1999 19:24:32 +0000 Subject: [PATCH] addOperand, isConstant git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@394 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/NopOperator.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jode/jode/expr/NopOperator.java b/jode/jode/expr/NopOperator.java index 7ac6888..035c9c4 100644 --- a/jode/jode/expr/NopOperator.java +++ b/jode/jode/expr/NopOperator.java @@ -41,10 +41,18 @@ public class NopOperator extends SimpleOperator { return 0; } + public Expression addOperand(Expression op) { + return op; + } + public int getOperandPriority(int i) { return 0; } + public boolean isConstant() { + return false; + } + public boolean equals(Object o) { return (o instanceof NopOperator); }