8274321: Standardize values of @since tags in javax.lang.model
Reviewed-by: darcy
This commit is contained in:
parent
4838a2ca7c
commit
5ec1cdcaf3
src/java.compiler/share/classes/javax/lang/model
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2021, 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
|
||||
@ -292,7 +292,7 @@ public interface Element extends javax.lang.model.AnnotatedConstruct {
|
||||
* <p>Note that any annotations returned by this method are
|
||||
* declaration annotations.
|
||||
*
|
||||
* @since 8
|
||||
* @since 1.8
|
||||
*/
|
||||
@Override
|
||||
<A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2021, 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
|
||||
@ -149,7 +149,7 @@ public interface TypeMirror extends javax.lang.model.AnnotatedConstruct {
|
||||
* <p>Note that any annotations returned by this method are type
|
||||
* annotations.
|
||||
*
|
||||
* @since 8
|
||||
* @since 1.8
|
||||
*/
|
||||
@Override
|
||||
List<? extends AnnotationMirror> getAnnotationMirrors();
|
||||
@ -160,7 +160,7 @@ public interface TypeMirror extends javax.lang.model.AnnotatedConstruct {
|
||||
* <p>Note that any annotation returned by this method is a type
|
||||
* annotation.
|
||||
*
|
||||
* @since 8
|
||||
* @since 1.8
|
||||
*/
|
||||
@Override
|
||||
<A extends Annotation> A getAnnotation(Class<A> annotationType);
|
||||
@ -171,7 +171,7 @@ public interface TypeMirror extends javax.lang.model.AnnotatedConstruct {
|
||||
* <p>Note that any annotations returned by this method are type
|
||||
* annotations.
|
||||
*
|
||||
* @since 8
|
||||
* @since 1.8
|
||||
*/
|
||||
@Override
|
||||
<A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user