X-Git-Url: http://git.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..a9ccaae 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/Flags.java @@ -30,7 +30,11 @@ import net.sourceforge.phpdt.internal.compiler.env.IConstants; * @see IMember#getFlags */ public final class Flags { - + /** + * Constant representing the absence of any flag + * @since 3.0 + */ + public static final int AccDefault = 0; /** * Public access flag. See The Java Virtual Machine Specification for more details. * @since 2.0 @@ -80,12 +84,12 @@ public final class Flags { * Interface property flag. See The Java Virtual Machine Specification for more details. * @since 2.0 */ -// public static final int AccInterface = IConstants.AccInterface; + public static final int AccInterface = IConstants.AccInterface; /** * Abstract property flag. See The Java Virtual Machine Specification for more details. * @since 2.0 */ -// public static final int AccAbstract = IConstants.AccAbstract; + public static final int AccAbstract = IConstants.AccAbstract; /** * Strictfp property flag. See The Java Virtual Machine Specification for more details. * @since 2.0 @@ -105,7 +109,7 @@ public final class Flags { * Deprecated property flag. See The Java Virtual Machine Specification for more details. * @since 2.0 */ -// public static final int AccDeprecated = IConstants.AccDeprecated; + public static final int AccDeprecated = IConstants.AccDeprecated; /** * Not instantiable. @@ -118,9 +122,9 @@ public final class Flags { * @param flags the flags * @return 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. *