public interface LanguageCompilerRefAdapter
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<LanguageCompilerRefAdapter> |
EP_NAME |
static LanguageCompilerRefAdapter[] |
INSTANCES |
static final ExtensionPointName<LanguageCompilerRefAdapter> EP_NAME
static final LanguageCompilerRefAdapter[] INSTANCES
static LanguageCompilerRefAdapter findAdapter(VirtualFile file)
static LanguageCompilerRefAdapter findAdapter(FileType fileType)
static LanguageCompilerRefAdapter findAdapter(PsiElement element)
java.util.Set<FileType> getFileTypes()
CompilerRef asCompilerRef(PsiElement element, NameEnumerator names) throws java.io.IOException
element
- PSI element written in corresponding languagenames
- enumerator to encode string namesjava.io.IOException
java.util.List<CompilerRef> getHierarchyRestrictedToLibraryScope(CompilerRef baseRef, PsiElement basePsi, NameEnumerator names, GlobalSearchScope libraryScope) throws java.io.IOException
java.io.IOException
java.lang.Class<? extends CompilerRef.CompilerClassHierarchyElementDef> getHierarchyObjectClass()
java.lang.Class<? extends CompilerRef> getFunExprClass()
PsiElement [] findDirectInheritorCandidatesInFile(SearchId [] internalNames, PsiFileWithStubSupport file)
PsiElement [] findFunExpressionsInFile(SearchId [] indices, PsiFileWithStubSupport file)
indices
- - ordinal-numbers (corresponding to compiler tree index visitor) of required functional expressions.boolean isClass(PsiElement element)
PsiElement [] getInstantiableConstructors(PsiElement aClass)
boolean isDirectInheritor(PsiElement candidate, PsiNamedElement baseClass)