Package org.eclipse.jdt.core
Class CompletionFlags
java.lang.Object
org.eclipse.jdt.core.CompletionFlags
Utility class for decoding additional flags in completion proposal.
This class provides static methods only; it is not intended to be instantiated or subclassed by clients.
- Since:
- 3.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant representing the absence of any flagstatic final intConstant representing a static import -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisStaticImport(int flags) Returns whether the given integer includes theStaticImportflag.
-
Field Details
-
Default
public static final int DefaultConstant representing the absence of any flag- See Also:
-
StaticImport
public static final int StaticImportConstant representing a static import- See Also:
-
-
Method Details
-
isStaticImport
public static boolean isStaticImport(int flags) Returns whether the given integer includes theStaticImportflag.- Parameters:
flags- the flags- Returns:
trueif theStaticImportflag is included
-