< prev index next >

src/java.base/share/classes/java/lang/reflect/Field.java

Print this page

        

*** 1,7 **** /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1996, 2018, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 241,253 **** /** * Returns a {@code Type} object that represents the declared type for * the field represented by this {@code Field} object. * ! * <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. * * @return a {@code Type} object that represents the declared type for --- 241,253 ---- /** * 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 type of the underlying field is a type variable or a * parameterized type, it is created. Otherwise, it is resolved. * * @return a {@code Type} object that represents the declared type for
< prev index next >