mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
7086604: (reflect) Clarifications to javadoc for getGeneric*Type methods in j.l.r
Reviewed-by: lancea, abuckley
This commit is contained in:
parent
94e1d7530f
commit
d3dd56d3b2
5 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 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
|
||||
|
@ -243,9 +243,9 @@ class Field extends AccessibleObject implements Member {
|
|||
* Returns a {@code Type} object that represents the declared type for
|
||||
* the field represented by this {@code Field} object.
|
||||
*
|
||||
* <p>If the {@code Type} is a parameterized type, the
|
||||
* {@code Type} object returned must accurately reflect the
|
||||
* actual type parameters used in the source code.
|
||||
* <p>If the declared type of the field is a parameterized type,
|
||||
* the {@code Type} object returned must accurately reflect the
|
||||
* actual type arguments used in the source code.
|
||||
*
|
||||
* <p>If the type of the underlying field is a type variable or a
|
||||
* parameterized type, it is created. Otherwise, it is resolved.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue