mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
6c57bd9174
For quick access, the sezpoz library stores lists in META-INF/annotations/ of classes that have been annotated in a special way. To support the use case where the annotations actually changed since sezpoz stored said lists, sezpoz then creates proxy instances for the annotations to provide some backwards compatibility: as long as there are default values for any newly-introduced annotation values, everything is groovy. Therefore, let's make sure that proxy instances inherit the annotations' default values. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
10 lines
233 B
Java
10 lines
233 B
Java
package avian.testing.annotations;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface Test {
|
|
public String value() default "Hello, world!";
|
|
}
|