diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-08-30 17:10:34 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2004-08-30 17:10:34 +0000 |
commit | f39d058e65fb1a8b53a965f3ef20b38337ccfd76 (patch) | |
tree | 593db80f17e810672b344e47e77099375e6658e1 /src/main/javassist/compiler/ast/Expr.java | |
parent | be3a1d153f56e20dde215368b2f7cb5f98ea9370 (diff) | |
download | javassist-f39d058e65fb1a8b53a965f3ef20b38337ccfd76.tar.gz javassist-f39d058e65fb1a8b53a965f3ef20b38337ccfd76.zip |
implemented CtField#getConstantValue().
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@128 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/compiler/ast/Expr.java')
-rw-r--r-- | src/main/javassist/compiler/ast/Expr.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/javassist/compiler/ast/Expr.java b/src/main/javassist/compiler/ast/Expr.java index 88fc09e6..aafe8a75 100644 --- a/src/main/javassist/compiler/ast/Expr.java +++ b/src/main/javassist/compiler/ast/Expr.java @@ -52,6 +52,10 @@ public class Expr extends ASTList implements TokenId { public ASTree oprand1() { return getLeft(); } + public void setOprand1(ASTree expr) { + setLeft(expr); + } + public ASTree oprand2() { return getRight().getLeft(); } public void setOprand2(ASTree expr) { |