Package org.revapi.java.matcher
Class JavaElementMatcher
- java.lang.Object
-
- org.revapi.java.matcher.JavaElementMatcher
-
- All Implemented Interfaces:
AutoCloseable,org.revapi.configuration.Configurable,org.revapi.ElementMatcher
public final class JavaElementMatcher extends Object implements org.revapi.ElementMatcher
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description JavaElementMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Optional<org.revapi.ElementMatcher.CompiledRecipe>compile(String recipe)StringgetExtensionId()ReadergetJSONSchema()StringgetMatcherId()voidinitialize(org.revapi.AnalysisContext analysisContext)
-
-
-
Method Detail
-
compile
public Optional<org.revapi.ElementMatcher.CompiledRecipe> compile(String recipe)
- Specified by:
compilein interfaceorg.revapi.ElementMatcher
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
getMatcherId
public String getMatcherId()
- Specified by:
getMatcherIdin interfaceorg.revapi.ElementMatcher
-
getExtensionId
public String getExtensionId()
- Specified by:
getExtensionIdin interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
@Nullable public Reader getJSONSchema()
- Specified by:
getJSONSchemain interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initializein interfaceorg.revapi.configuration.Configurable
-
-