src/share/classes/com/sun/tools/javac/code/Flags.java

changeset 2411
71767cdf52a7
parent 2409
7e0ba7b086c8
child 2413
fe033d997ddf
equal deleted inserted replaced
2410:e64bb2f5f0cf 2411:71767cdf52a7
292 public static final long 292 public static final long
293 ExtendedStandardFlags = (long)StandardFlags | DEFAULT, 293 ExtendedStandardFlags = (long)StandardFlags | DEFAULT,
294 ModifierFlags = ((long)StandardFlags & ~INTERFACE) | DEFAULT, 294 ModifierFlags = ((long)StandardFlags & ~INTERFACE) | DEFAULT,
295 InterfaceMethodMask = ABSTRACT | STATIC | PUBLIC | STRICTFP | DEFAULT, 295 InterfaceMethodMask = ABSTRACT | STATIC | PUBLIC | STRICTFP | DEFAULT,
296 AnnotationTypeElementMask = ABSTRACT | PUBLIC, 296 AnnotationTypeElementMask = ABSTRACT | PUBLIC,
297 LocalVarFlags = FINAL | PARAMETER, 297 LocalVarFlags = FINAL | PARAMETER;
298 BridgeMethodMask = AccessFlags | FINAL | STRICTFP; 298
299 299
300 public static Set<Modifier> asModifierSet(long flags) { 300 public static Set<Modifier> asModifierSet(long flags) {
301 Set<Modifier> modifiers = modifierSets.get(flags); 301 Set<Modifier> modifiers = modifierSets.get(flags);
302 if (modifiers == null) { 302 if (modifiers == null) {
303 modifiers = java.util.EnumSet.noneOf(Modifier.class); 303 modifiers = java.util.EnumSet.noneOf(Modifier.class);

mercurial