projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a small bug about enumaration type: it should be able to recorgnize access patter...
[IRC.git]
/
Robust
/
src
/
IR
/
Tree
/
Modifiers.java
diff --git
a/Robust/src/IR/Tree/Modifiers.java
b/Robust/src/IR/Tree/Modifiers.java
index 5715d10c78e3e2387d711c7e7739de3c979f6611..f3ab2ed1e250f6e5bfb38b9b90488a9fc1a9df34 100644
(file)
--- a/
Robust/src/IR/Tree/Modifiers.java
+++ b/
Robust/src/IR/Tree/Modifiers.java
@@
-61,6
+61,10
@@
public class Modifiers {
public boolean isStatic() {
return ((value&STATIC)!=0);
}
+
+ public boolean isPublic() {
+ return ((value&PUBLIC)!=0);
+ }
public boolean isNative() {
return ((value&NATIVE)!=0);