java.lang.Object
io.helidon.microprofile.testing.Proxies

public class Proxies extends Object
Proxy helper.
  • Method Details

    • mirror

      public static <T extends Annotation> T mirror(Class<T> type, Annotation annotation)
      Mirror an annotation.
      Type Parameters:
      T - target type
      Parameters:
      type - target type
      annotation - source annotation
      Returns:
      mirror
    • annotation

      public static <T extends Annotation> T annotation(Class<T> type, Function<String,Object> function)
      Instantiate an annotation.
      Type Parameters:
      T - annotation type
      Parameters:
      type - annotation type
      function - attributes function
      Returns:
      annotation