public class JavaCompilerRefAdapter extends java.lang.Object implements LanguageCompilerRefAdapter
EP_NAME, INSTANCES
Constructor and Description |
---|
JavaCompilerRefAdapter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAdapter, findAdapter, findAdapter
public java.util.Set<FileType> getFileTypes()
getFileTypes
in interface LanguageCompilerRefAdapter
public CompilerRef asCompilerRef(PsiElement element, NameEnumerator names) throws java.io.IOException
asCompilerRef
in interface LanguageCompilerRefAdapter
element
- PSI element written in corresponding languagenames
- enumerator to encode string namesjava.io.IOException
public java.util.List<CompilerRef> getHierarchyRestrictedToLibraryScope(CompilerRef baseRef, PsiElement basePsi, NameEnumerator names, GlobalSearchScope libraryScope) throws java.io.IOException
getHierarchyRestrictedToLibraryScope
in interface LanguageCompilerRefAdapter
java.io.IOException
public java.lang.Class<? extends CompilerRef.CompilerClassHierarchyElementDef> getHierarchyObjectClass()
LanguageCompilerRefAdapter
getHierarchyObjectClass
in interface LanguageCompilerRefAdapter
public java.lang.Class<? extends CompilerRef> getFunExprClass()
LanguageCompilerRefAdapter
getFunExprClass
in interface LanguageCompilerRefAdapter
public PsiClass [] findDirectInheritorCandidatesInFile(SearchId [] internalNames, PsiFileWithStubSupport file)
findDirectInheritorCandidatesInFile
in interface LanguageCompilerRefAdapter
public PsiFunctionalExpression [] findFunExpressionsInFile(SearchId [] funExpressions, PsiFileWithStubSupport file)
findFunExpressionsInFile
in interface LanguageCompilerRefAdapter
funExpressions
- - ordinal-numbers (corresponding to compiler tree index visitor) of required functional expressions.public boolean isClass(PsiElement element)
isClass
in interface LanguageCompilerRefAdapter
public PsiElement [] getInstantiableConstructors(PsiElement aClass)
getInstantiableConstructors
in interface LanguageCompilerRefAdapter
public boolean isDirectInheritor(PsiElement candidate, PsiNamedElement baseClass)
isDirectInheritor
in interface LanguageCompilerRefAdapter