8005097: Tie isSynthetic javadoc to the JLS
Reviewed-by: mduigou
This commit is contained in:
parent
4ce906db2b
commit
059b2b67b3
jdk/src/share/classes/java/lang
@ -506,6 +506,7 @@ public final
|
||||
* returns {@code false} otherwise.
|
||||
* @return {@code true} if and only if this class is a synthetic class as
|
||||
* defined by the Java Language Specification.
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @since 1.5
|
||||
*/
|
||||
public boolean isSynthetic() {
|
||||
|
@ -411,6 +411,7 @@ public final class Constructor<T> extends Executable {
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @since 1.5
|
||||
*/
|
||||
@Override
|
||||
|
@ -324,6 +324,7 @@ public abstract class Executable extends AccessibleObject
|
||||
* @return true if and only if this executable is a synthetic
|
||||
* construct as defined by
|
||||
* <cite>The Java™ Language Specification</cite>.
|
||||
* @jls 13.1 The Form of a Binary
|
||||
*/
|
||||
public boolean isSynthetic() {
|
||||
return Modifier.isSynthetic(getModifiers());
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2012, 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
|
||||
@ -87,6 +87,7 @@ interface Member {
|
||||
*
|
||||
* @return true if and only if this member was introduced by
|
||||
* the compiler.
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @since 1.5
|
||||
*/
|
||||
public boolean isSynthetic();
|
||||
|
@ -500,6 +500,7 @@ public final class Method extends Executable {
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @since 1.5
|
||||
*/
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user