8257799: Update JLS cross-references in java.compiler
Reviewed-by: jjg
This commit is contained in:
parent
a5297bd0d4
commit
6937d9f9dd
@ -392,7 +392,7 @@ public enum SourceVersion {
|
||||
* literal, or null literal, {@code false} otherwise.
|
||||
* @jls 3.9 Keywords
|
||||
* @jls 3.10.3 Boolean Literals
|
||||
* @jls 3.10.7 The Null Literal
|
||||
* @jls 3.10.8 The Null Literal
|
||||
*/
|
||||
public static boolean isKeyword(CharSequence s) {
|
||||
return isKeyword(s, latest());
|
||||
@ -410,7 +410,7 @@ public enum SourceVersion {
|
||||
* literal, or null literal, {@code false} otherwise.
|
||||
* @jls 3.9 Keywords
|
||||
* @jls 3.10.3 Boolean Literals
|
||||
* @jls 3.10.7 The Null Literal
|
||||
* @jls 3.10.8 The Null Literal
|
||||
* @since 9
|
||||
*/
|
||||
public static boolean isKeyword(CharSequence s, SourceVersion version) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2020, 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
|
||||
@ -73,7 +73,7 @@ public interface VariableElement extends Element {
|
||||
* otherwise
|
||||
*
|
||||
* @see Elements#getConstantExpression(Object)
|
||||
* @jls 15.28 Constant Expression
|
||||
* @jls 15.29 Constant Expressions
|
||||
* @jls 4.12.4 final Variables
|
||||
*/
|
||||
Object getConstantValue();
|
||||
|
Loading…
Reference in New Issue
Block a user