mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8026017: Make history of AnnotatedConstruct methods in jx.l.m.e.Element clearer
Reviewed-by: jjg
This commit is contained in:
parent
03c9c56f88
commit
640945b6f3
1 changed files with 10 additions and 1 deletions
|
@ -202,6 +202,7 @@ public interface Element extends javax.lang.model.AnnotatedConstruct {
|
|||
* @return {@code true} if the specified object represents the same
|
||||
* element as this
|
||||
*/
|
||||
@Override
|
||||
boolean equals(Object obj);
|
||||
|
||||
/**
|
||||
|
@ -209,6 +210,7 @@ public interface Element extends javax.lang.model.AnnotatedConstruct {
|
|||
*
|
||||
* @see #equals
|
||||
*/
|
||||
@Override
|
||||
int hashCode();
|
||||
|
||||
|
||||
|
@ -219,11 +221,18 @@ public interface Element extends javax.lang.model.AnnotatedConstruct {
|
|||
* Elements#getAllAnnotationMirrors(Element)
|
||||
* getAllAnnotationMirrors}.
|
||||
*
|
||||
* @see ElementFilter
|
||||
* @since 1.6
|
||||
*/
|
||||
@Override
|
||||
List<? extends AnnotationMirror> getAnnotationMirrors();
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @since 1.6
|
||||
*/
|
||||
@Override
|
||||
<A extends Annotation> A getAnnotation(Class<A> annotationType);
|
||||
|
||||
/**
|
||||
* Applies a visitor to this element.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue