mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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.
8 lines
211 B
Java
8 lines
211 B
Java
package avian.testing.annotations;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface TestInteger {
|
|
public int value();
|
|
} |