< prev index next >

src/java.compiler/share/classes/javax/lang/model/type/TypeMirror.java

Print this page

        

*** 136,145 **** --- 136,178 ---- * @return a string representation of this type */ String toString(); /** + * {@inheritDoc} + * + * <p>Note that any annotations returned by this method are type + * annotations. + * + * @since 8 + */ + @Override + List<? extends AnnotationMirror> getAnnotationMirrors(); + + /** + * {@inheritDoc} + * + * <p>Note that any annotation returned by this method is a type + * annotation. + * + * @since 8 + */ + @Override + <A extends Annotation> A getAnnotation(Class<A> annotationType); + + /** + * {@inheritDoc} + * + * <p>Note that any annotations returned by this method are type + * annotations. + * + * @since 8 + */ + @Override + <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType); + + /** * Applies a visitor to this type. * * @param <R> the return type of the visitor's methods * @param <P> the type of the additional parameter to the visitor's methods * @param v the visitor operating on this type
< prev index next >