Annotation Type Calculator


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Calculator
    Declares that the annotated class is able to calculate the specified metric on the specified type. The fields fromType and toType are intended to be used if type is a Pair.
    The intended probes list all expedient combinations of probes.
    • Element Detail

      • fromType

        Class<?> fromType
        Default:
        java.lang.Void.class
      • toType

        Class<?> toType
        Default:
        java.lang.Void.class