Interface ModuleElement.Directive

    • Method Detail

      • accept

        <R,P> R accept​(ModuleElement.DirectiveVisitor<R,P> v,
                       P p)
        Applies a visitor to this directive.
        Type Parameters:
        R - the return type of the visitor's methods
        P - the type of the additional parameter to the visitor's methods
        Parameters:
        v - the visitor operating on this directive
        p - additional parameter to the visitor
        Returns:
        a visitor-specified result