public class LanguageFolding extends LanguageExtension<FoldingBuilder>
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<KeyedLazyInstance<FoldingBuilder>> |
EP_NAME |
static LanguageFolding |
INSTANCE |
myEpListenerAdded, myLock
EVER_CHANGED, NEVER_CHANGED
Modifier and Type | Method and Description |
---|---|
java.util.List<FoldingBuilder> |
allForLanguage(Language language)
Only queries base language results if there are no extensions for originally requested language.
|
static FoldingDescriptor [] |
buildFoldingDescriptors(FoldingBuilder builder,
PsiElement root,
Document document,
boolean quick) |
protected FoldingBuilder |
findForLanguage(Language l) |
FoldingBuilder |
forLanguage(Language l)
This method is left to preserve binary compatibility.
|
addExplicitExtension, allForLanguageOrAny, buildExtensions, clearCache, ensureValuesLoaded, getDefaultImplementation, invalidateCacheForExtension, keyToString, removeExplicitExtension
addExplicitExtension, buildExtensions, buildExtensionsFromExplicitRegistration, clearCache, findSingle, forKey, getExtensions, getModificationCount, getName, getPoint, hasAnyExtensions
public static final ExtensionPointName<KeyedLazyInstance<FoldingBuilder>> EP_NAME
public static final LanguageFolding INSTANCE
public FoldingBuilder forLanguage(Language l)
forLanguage
in class LanguageExtension<FoldingBuilder>
protected FoldingBuilder findForLanguage(Language l)
findForLanguage
in class LanguageExtension<FoldingBuilder>
public java.util.List<FoldingBuilder> allForLanguage(Language language)
allForLanguage
in class LanguageExtension<FoldingBuilder>
LanguageExtension.allForLanguageOrAny(Language)
public static FoldingDescriptor [] buildFoldingDescriptors(FoldingBuilder builder, PsiElement root, Document document, boolean quick)