java.lang.Object
io.helidon.microprofile.testing.Proxies
Proxy helper.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Annotation>
Tannotation
(Class<T> type, Function<String, Object> function) Instantiate an annotation.static <T extends Annotation>
Tmirror
(Class<T> type, Annotation annotation) Mirror an annotation.
-
Method Details
-
mirror
Mirror an annotation.- Type Parameters:
T
- target type- Parameters:
type
- target typeannotation
- source annotation- Returns:
- mirror
-
annotation
Instantiate an annotation.- Type Parameters:
T
- annotation type- Parameters:
type
- annotation typefunction
- attributes function- Returns:
- annotation
-