Class RegexElementMatcher

  • All Implemented Interfaces:
    AutoCloseable, org.revapi.configuration.Configurable, org.revapi.ElementMatcher

    public final class RegexElementMatcher
    extends Object
    implements org.revapi.ElementMatcher
    Author:
    Lukas Krejci
    • Constructor Detail

      • RegexElementMatcher

        public RegexElementMatcher()
    • Method Detail

      • compile

        public Optional<org.revapi.ElementMatcher.CompiledRecipe> compile​(String recipe)
        Specified by:
        compile in interface org.revapi.ElementMatcher
      • getMatcherId

        public String getMatcherId()
        Specified by:
        getMatcherId in interface org.revapi.ElementMatcher
      • getExtensionId

        public String getExtensionId()
        Specified by:
        getExtensionId in interface org.revapi.configuration.Configurable
      • getJSONSchema

        @Nullable
        public Reader getJSONSchema()
        Specified by:
        getJSONSchema in interface org.revapi.configuration.Configurable
      • initialize

        public void initialize​(@Nonnull
                               org.revapi.AnalysisContext analysisContext)
        Specified by:
        initialize in interface org.revapi.configuration.Configurable