mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8257636: Update usage of "type" terminology in java.lang.Class and java.lang.reflect
Reviewed-by: darcy
This commit is contained in:
parent
04a1e5b75b
commit
952dc70402
14 changed files with 74 additions and 73 deletions
|
@ -282,9 +282,9 @@ public final class Method extends Executable {
|
|||
* specified in
|
||||
* <cite>The Java Virtual Machine Specification</cite>
|
||||
* @throws TypeNotPresentException if the underlying method's
|
||||
* return type refers to a non-existent type declaration
|
||||
* return type refers to a non-existent class or interface declaration
|
||||
* @throws MalformedParameterizedTypeException if the
|
||||
* underlying method's return typed refers to a parameterized
|
||||
* underlying method's return type refers to a parameterized
|
||||
* type that cannot be instantiated for any reason
|
||||
* @since 1.5
|
||||
*/
|
||||
|
@ -603,8 +603,7 @@ public final class Method extends Executable {
|
|||
* method; returns {@code false} otherwise.
|
||||
*
|
||||
* A default method is a public non-abstract instance method, that
|
||||
* is, a non-static method with a body, declared in an interface
|
||||
* type.
|
||||
* is, a non-static method with a body, declared in an interface.
|
||||
*
|
||||
* @return true if and only if this method is a default
|
||||
* method as defined by the Java Language Specification.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue