@Retention(value=SOURCE)
@Target(value=METHOD)
public @interface Override
This annotation is used as a marker to indicate that the annotated
method declaration is intended to override another method in the
class hierarchy. If this is not the case, the compiler will emit a
warning.
- Since:
- 1.5