42 |
import static java.lang.annotation.RetentionPolicy.SOURCE; |
import static java.lang.annotation.RetentionPolicy.SOURCE; |
43 |
import static java.lang.annotation.ElementType.METHOD; |
import static java.lang.annotation.ElementType.METHOD; |
44 |
|
|
45 |
|
/** |
46 |
|
* This annotation is used as a marker to indicate that the annotated |
47 |
|
* method declaration is intended to override another method in the |
48 |
|
* class hierarchy. If this is not the case, the compiler will emit a |
49 |
|
* warning. |
50 |
|
* |
51 |
|
* @since 1.5 |
52 |
|
*/ |
53 |
@Retention(SOURCE) @Target(METHOD) |
@Retention(SOURCE) @Target(METHOD) |
54 |
public @interface Override |
public @interface Override |
55 |
{ |
{ |