Package org.revapi

Interface ElementMatcher

    • Method Detail

      • compile

        Optional<ElementMatcher.CompiledRecipe> compile​(String recipe)
        Tries to compile the provided recipe into a form that can test individual elements.
        Parameters:
        recipe - the recipe to compile
        Returns:
        a compiled recipe or empty optional if the string cannot be compiled by this matcher