LanguageExtension.ExtMatch
com.jsmacrosce.jsmacros.core.extensions.LanguageExtension.ExtMatch
Categorizes an extension's match for a file. A name match takes precedence over ordinary matches when the loader chooses among matching providers.
js
const ExtMatch = Java.type("com.jsmacrosce.jsmacros.core.extensions.LanguageExtension$ExtMatch");
Chat.log(ExtMatch.MATCH_WITH_NAME.isMatch());Nested type declared in LanguageExtension.
Fields
MATCH
The extension matches the file.
MATCH_WITH_NAME
The extension matches the file by language name.
NOT_MATCH
The extension does not match the file.
Methods
isMatch
valueOf
static valueOf(String name): LanguageExtension.ExtMatch#Returns: LanguageExtension.ExtMatch
values
static values(): LanguageExtension.ExtMatch[]#Returns: LanguageExtension.ExtMatch[]