Fix a small bug about enumaration type: it should be able to recorgnize access patter...
[IRC.git] / Robust / src / IR / Tree / Modifiers.java
index 5715d10c78e3e2387d711c7e7739de3c979f6611..f3ab2ed1e250f6e5bfb38b9b90488a9fc1a9df34 100644 (file)
@@ -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);