mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
a5c9dd6f24
We were not properly converting dots to slashes internally for package names and we did not properly handle Method.getAnnotations and Method.getAnnotation(Class<T>) on methods without any annotations. Added some tests to cover these cases.
10 lines
209 B
Java
10 lines
209 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();
|
|
}
|