< prev index next >

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

Print this page

        

*** 322,331 **** --- 322,341 ---- /** * Flag to indicate the given ParamSymbol has a user-friendly name filled. */ public static final long NAME_FILLED = 1L<<58; //ParamSymbols only + /** + * Flag to indicate the given variable is a match binding variable. + */ + public static final long MATCH_BINDING = 1L<<59; + + /** + * A flag to indicate a match binding variable whose scope extends after the current statement. + */ + public static final long MATCH_BINDING_TO_OUTER = 1L<<60; + /** Modifier masks. */ public static final int AccessFlags = PUBLIC | PROTECTED | PRIVATE, LocalClassFlags = FINAL | ABSTRACT | STRICTFP | ENUM | SYNTHETIC,
*** 439,449 **** DEPRECATED_ANNOTATION(Flags.DEPRECATED_ANNOTATION), DEPRECATED_REMOVAL(Flags.DEPRECATED_REMOVAL), HAS_RESOURCE(Flags.HAS_RESOURCE), POTENTIALLY_AMBIGUOUS(Flags.POTENTIALLY_AMBIGUOUS), ANONCONSTR_BASED(Flags.ANONCONSTR_BASED), ! NAME_FILLED(Flags.NAME_FILLED); Flag(long flag) { this.value = flag; this.lowercaseName = StringUtils.toLowerCase(name()); } --- 449,461 ---- DEPRECATED_ANNOTATION(Flags.DEPRECATED_ANNOTATION), DEPRECATED_REMOVAL(Flags.DEPRECATED_REMOVAL), HAS_RESOURCE(Flags.HAS_RESOURCE), POTENTIALLY_AMBIGUOUS(Flags.POTENTIALLY_AMBIGUOUS), ANONCONSTR_BASED(Flags.ANONCONSTR_BASED), ! NAME_FILLED(Flags.NAME_FILLED), ! MATCH_BINDING(Flags.MATCH_BINDING), ! MATCH_BINDING_TO_OUTER(Flags.MATCH_BINDING_TO_OUTER); Flag(long flag) { this.value = flag; this.lowercaseName = StringUtils.toLowerCase(name()); }
< prev index next >