Class IrritantSet
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.impl.IrritantSet
Represent a set of irritant flags. Irritants are organized in up to 8 group
of 29, allowing for a maximum of 232 distinct irritants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static int
static int
static int
static int
static int
static int
static int
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
static IrritantSet
-
Constructor Summary
ConstructorDescriptionIrritantSet(int singleGroupIrritants)
Constructor with initial irritant setIrritantSet(IrritantSet other)
Constructor with initial irritant set -
Method Summary
Modifier and TypeMethodDescriptionboolean
clear(int singleGroupIrritants)
clearAll()
int[]
getBits()
boolean
hasSameIrritants(IrritantSet irritantSet)
Returns true if all of the irritants in the given irritant set are set in receivervoid
initialize(int singleGroupIrritants)
Initialize a set of irritants in one groupvoid
initialize(IrritantSet other)
boolean
isAnySet(IrritantSet other)
Returns true if any of the irritants in given other set is positionned in receiverboolean
isSet(int singleGroupIrritants)
set(int singleGroupIrritants)
set(IrritantSet other)
Return updated irritantSet or null if it was a no-opsetAll()
-
Field Details
-
GROUP_MASK
public static final int GROUP_MASK- See Also:
- Constant Field Values
-
GROUP_SHIFT
public static final int GROUP_SHIFT- See Also:
- Constant Field Values
-
GROUP_MAX
public static final int GROUP_MAX- See Also:
- Constant Field Values
-
GROUP0
public static final int GROUP0- See Also:
- Constant Field Values
-
GROUP1
public static final int GROUP1- See Also:
- Constant Field Values
-
GROUP2
public static final int GROUP2- See Also:
- Constant Field Values
-
GROUP3
public static final int GROUP3- See Also:
- Constant Field Values
-
ALL
-
BOXING
-
CAST
-
DEPRECATION
-
TERMINAL_DEPRECATION
-
DEP_ANN
-
FALLTHROUGH
-
FINALLY
-
HIDING
-
INCOMPLETE_SWITCH
-
NLS
-
NULL
-
RAW
-
RESTRICTION
-
SERIAL
-
STATIC_ACCESS
-
STATIC_METHOD
-
SYNTHETIC_ACCESS
-
SYNCHRONIZED
-
SUPER
-
UNUSED
-
UNCHECKED
-
UNQUALIFIED_FIELD_ACCESS
-
RESOURCE
-
UNLIKELY_ARGUMENT_TYPE
-
API_LEAK
-
MODULE
-
JAVADOC
-
PREVIEW
-
COMPILER_DEFAULT_ERRORS
-
COMPILER_DEFAULT_WARNINGS
-
COMPILER_DEFAULT_INFOS
-
-
Constructor Details
-
IrritantSet
public IrritantSet(int singleGroupIrritants)Constructor with initial irritant set -
IrritantSet
Constructor with initial irritant set
-
-
Method Details
-
areAllSet
public boolean areAllSet() -
clear
-
clearAll
-
initialize
public void initialize(int singleGroupIrritants)Initialize a set of irritants in one group- Parameters:
singleGroupIrritants
-
-
initialize
-
isAnySet
Returns true if any of the irritants in given other set is positionned in receiver- Parameters:
other
-
-
hasSameIrritants
Returns true if all of the irritants in the given irritant set are set in receiver- Parameters:
irritantSet
- the given irritant set
-
isSet
public boolean isSet(int singleGroupIrritants) -
getBits
public int[] getBits() -
set
-
set
Return updated irritantSet or null if it was a no-op- Parameters:
other
-
-
setAll
-