Interface SimpleAnnotatedTypeScanner.DefaultAction<R,​P>

  • Type Parameters:
    R - the type of the result of the action
    P - the type of the parameter of action
    Enclosing class:
    SimpleAnnotatedTypeScanner<R,​P>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SimpleAnnotatedTypeScanner.DefaultAction<R,​P>
    Represents an action to perform on every type.
    • Method Detail

      • defaultAction

        R defaultAction​(AnnotatedTypeMirror type,
                        P p)
        The action to perform on every type.
        Parameters:
        type - a type on which to perform some action
        p - argument to pass to the action
        Returns:
        result of the action