< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 317,331 **** * Flag that marks finalize block as body-only, should not be copied into catch clauses. * Used to implement try-with-resources. */ public static final long BODY_ONLY_FINALIZE = 1L<<17; //blocks only - /** - * Flag to indicate the given ParamSymbol has a user-friendly name filled. - */ - public static final long NAME_FILLED = 1L<<58; //ParamSymbols only - /** Modifier masks. */ public static final int AccessFlags = PUBLIC | PROTECTED | PRIVATE, LocalClassFlags = FINAL | ABSTRACT | STRICTFP | ENUM | SYNTHETIC, --- 317,326 ----
*** 438,449 **** SYSTEM_MODULE(Flags.SYSTEM_MODULE), 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()); } --- 433,443 ---- SYSTEM_MODULE(Flags.SYSTEM_MODULE), 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); Flag(long flag) { this.value = flag; this.lowercaseName = StringUtils.toLowerCase(name()); }
< prev index next >