mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8265174: Update Class.getDeclaredMethods to discuss synthetic and bridge methods
Reviewed-by: jfranck
This commit is contained in:
parent
ffb3771816
commit
80026d81a4
5 changed files with 27 additions and 2 deletions
|
@ -607,6 +607,9 @@ public final class Method extends Executable {
|
|||
* @jls 8.4.8.3 Requirements in Overriding and Hiding
|
||||
* @jls 15.12.4.5 Create Frame, Synchronize, Transfer Control
|
||||
* @jvms 4.6 Methods
|
||||
* @see <a
|
||||
* href="{@docRoot}/java.base/java/lang/reflect/package-summary.html#LanguageJvmModel">Java
|
||||
* programming language and JVM modeling in core reflection</a>
|
||||
*/
|
||||
public boolean isBridge() {
|
||||
return (getModifiers() & Modifier.BRIDGE) != 0;
|
||||
|
@ -626,6 +629,9 @@ public final class Method extends Executable {
|
|||
* {@inheritDoc}
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @jvms 4.6 Methods
|
||||
* @see <a
|
||||
* href="{@docRoot}/java.base/java/lang/reflect/package-summary.html#LanguageJvmModel">Java
|
||||
* programming language and JVM modeling in core reflection</a>
|
||||
* @since 1.5
|
||||
*/
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue