projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1fd785
)
commit bug fix
author
bdemsky
<bdemsky>
Fri, 25 Feb 2011 01:24:46 +0000
(
01:24
+0000)
committer
bdemsky
<bdemsky>
Fri, 25 Feb 2011 01:24:46 +0000
(
01:24
+0000)
Robust/src/IR/FieldDescriptor.java
patch
|
blob
|
history
diff --git
a/Robust/src/IR/FieldDescriptor.java
b/Robust/src/IR/FieldDescriptor.java
index 763d252c6ea619bfa1670d4d26ae85e79f827403..09e5549375cfea2809c2281d6948f5293bf9047c 100644
(file)
--- a/
Robust/src/IR/FieldDescriptor.java
+++ b/
Robust/src/IR/FieldDescriptor.java
@@
-41,6
+41,13
@@
public class FieldDescriptor extends Descriptor {
public void setClassDescriptor(ClassDescriptor cn) {
this.cn = cn;
}
+
+ public String getSafeSymbol() {
+ if (isStatic()) {
+ cn.getSafeSymbol()+safename;
+ } else
+ return safename;
+ }
public boolean isEnum() {
return this.isenum;