Top Description Methods
java.lang

public @Interface Override

extends Annotation
Annotations
@Target:METHOD
@Retention:SOURCE
Imports
java.lang.annotation.*

Indicates that a method declaration is intended to override a method declaration in a supertype. If a method is annotated with this annotation type compilers are required to generate an error message unless at least one of the following conditions hold:
Authors
Peter von der Ahé, Joshua Bloch
Since
1.5
Java Language Specification
8.4.8 Inheritance, Overriding, and Hiding, 9.4.1 Inheritance and Overriding, 9.6.4.4 @Override

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString