X-Git-Url: http://secure.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java
index 3fcf33a..9182b7f 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java
@@ -24,13 +24,17 @@ import net.sourceforge.phpdt.internal.compiler.env.IConstants;
* Note that the numeric values of these flags match the ones for class files
* as described in the Java Virtual Machine Specification. The AST class
* Modifier
provides the same functionality as this class, only in
- * the org.eclipse.jdt.core.dom
package.
+ * the net.sourceforge.phpdt.core.dom
package.
*
true
if the abstract
modifier is included
*/
-// public static boolean isAbstract(int flags) {
-// return (flags & AccAbstract) != 0;
-// }
+ public static boolean isAbstract(int flags) {
+ return (flags & AccAbstract) != 0;
+ }
/**
* Returns whether the given integer includes the indication that the
* element is deprecated (@deprecated
tag in Javadoc comment).
@@ -128,9 +132,9 @@ public final class Flags {
* @param flags the flags
* @return true
if the element is marked as deprecated
*/
-// public static boolean isDeprecated(int flags) {
-// return (flags & AccDeprecated) != 0;
-// }
+ public static boolean isDeprecated(int flags) {
+ return (flags & AccDeprecated) != 0;
+ }
/**
* Returns whether the given integer includes the final
modifier.
*
@@ -147,9 +151,9 @@ public final class Flags {
* @return true
if the interface
modifier is included
* @since 2.0
*/
-// public static boolean isInterface(int flags) {
-// return (flags & AccInterface) != 0;
-// }
+ public static boolean isInterface(int flags) {
+ return (flags & AccInterface) != 0;
+ }
/**
* Returns whether the given integer includes the native
modifier.
*