@Target(value=FIELD) @Retention(value=CLASS) public @interface override
Override
but for properties.
Usage:
interface Foo {
@val String color;
}
public class FooImpl extends Foo {
@override @val String color = "Plaid";
}
Note, without an accompanying @get
, @set
, or @prop
, use of @override
implies
@prop
.Copyright © 2024. All rights reserved.