public class PsiClassImplUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PsiClassImplUtil.MemberType |
Modifier and Type | Method and Description |
---|---|
static <T extends PsiType> |
correctType(T originalType,
GlobalSearchScope resolveScope) |
static PsiField |
findFieldByName(PsiClass aClass,
java.lang.String name,
boolean checkBases) |
static PsiClass |
findInnerByName(PsiClass aClass,
java.lang.String name,
boolean checkBases) |
static PsiMethod |
findMethodBySignature(PsiClass aClass,
PsiMethod patternMethod,
boolean checkBases) |
static java.util.List<Pair<PsiMethod,PsiSubstitutor>> |
findMethodsAndTheirSubstitutorsByName(PsiClass psiClass,
java.lang.String name,
boolean checkBases) |
static PsiMethod [] |
findMethodsByName(PsiClass aClass,
java.lang.String name,
boolean checkBases) |
static PsiMethod [] |
findMethodsBySignature(PsiClass aClass,
PsiMethod patternMethod,
boolean checkBases) |
static PsiField [] |
getAllFields(PsiClass aClass) |
static PsiClass [] |
getAllInnerClasses(PsiClass aClass) |
static PsiMethod [] |
getAllMethods(PsiClass aClass) |
static <T extends PsiMember> |
getAllWithSubstitutorsByMap(PsiClass aClass,
PsiClassImplUtil.MemberType type) |
static javax.swing.Icon |
getClassIcon(int flags,
PsiClass aClass) |
static javax.swing.Icon |
getClassIcon(int flags,
PsiClass aClass,
javax.swing.Icon symbolIcon) |
static SearchScope |
getClassUseScope(PsiClass aClass) |
static PsiClassType [] |
getExtendsListTypes(PsiClass psiClass) |
static PsiClassType [] |
getImplementsListTypes(PsiClass psiClass) |
static PsiClass [] |
getInterfaces(PsiClass psiClass) |
static PsiClass [] |
getInterfaces(PsiTypeParameter typeParameter) |
static java.util.List<PsiClassType.ClassResolveResult> |
getScopeCorrectedSuperTypes(PsiClass aClass,
GlobalSearchScope resolveScope) |
static PsiClass |
getSuperClass(PsiClass psiClass) |
static PsiClass [] |
getSupers(PsiClass psiClass) |
static PsiClassType [] |
getSuperTypes(PsiClass psiClass) |
static boolean |
isClassEquivalentTo(PsiClass aClass,
PsiElement another) |
static boolean |
isFieldEquivalentTo(PsiField field,
PsiElement another) |
static boolean |
isMainOrPremainMethod(PsiMethod method) |
static boolean |
isMethodEquivalentTo(PsiMethod method1,
PsiElement another) |
static PsiSubstitutor |
obtainFinalSubstitutor(PsiClass candidateClass,
PsiSubstitutor candidateSubstitutor,
PsiClass aClass,
PsiSubstitutor substitutor,
PsiElementFactory elementFactory,
LanguageLevel languageLevel) |
static boolean |
processDeclarationsInClass(PsiClass aClass,
PsiScopeProcessor processor,
ResolveState state,
java.util.Set<PsiClass> visited,
PsiElement last,
PsiElement place,
LanguageLevel languageLevel,
boolean isRaw) |
static boolean |
processDeclarationsInEnum(PsiScopeProcessor processor,
ResolveState state,
ClassInnerStuffCache innerStuffCache)
Deprecated.
synthetic enum methods are included into
PsiClass.getMethods() |
public static PsiField findFieldByName(PsiClass aClass, java.lang.String name, boolean checkBases)
public static PsiMethod [] findMethodsByName(PsiClass aClass, java.lang.String name, boolean checkBases)
public static PsiMethod findMethodBySignature(PsiClass aClass, PsiMethod patternMethod, boolean checkBases)
public static PsiMethod [] findMethodsBySignature(PsiClass aClass, PsiMethod patternMethod, boolean checkBases)
public static PsiClass findInnerByName(PsiClass aClass, java.lang.String name, boolean checkBases)
public static <T extends PsiMember> java.util.List<Pair<T,PsiSubstitutor>> getAllWithSubstitutorsByMap(PsiClass aClass, PsiClassImplUtil.MemberType type)
public static javax.swing.Icon getClassIcon(int flags, PsiClass aClass)
public static javax.swing.Icon getClassIcon(int flags, PsiClass aClass, javax.swing.Icon symbolIcon)
public static SearchScope getClassUseScope(PsiClass aClass)
public static boolean isMainOrPremainMethod(PsiMethod method)
@Deprecated public static boolean processDeclarationsInEnum(PsiScopeProcessor processor, ResolveState state, ClassInnerStuffCache innerStuffCache)
PsiClass.getMethods()
public static boolean processDeclarationsInClass(PsiClass aClass, PsiScopeProcessor processor, ResolveState state, java.util.Set<PsiClass> visited, PsiElement last, PsiElement place, LanguageLevel languageLevel, boolean isRaw)
public static PsiSubstitutor obtainFinalSubstitutor(PsiClass candidateClass, PsiSubstitutor candidateSubstitutor, PsiClass aClass, PsiSubstitutor substitutor, PsiElementFactory elementFactory, LanguageLevel languageLevel)
public static <T extends PsiType> T correctType(T originalType, GlobalSearchScope resolveScope)
public static java.util.List<PsiClassType.ClassResolveResult> getScopeCorrectedSuperTypes(PsiClass aClass, GlobalSearchScope resolveScope)
public static PsiClassType [] getSuperTypes(PsiClass psiClass)
public static PsiClass [] getInterfaces(PsiTypeParameter typeParameter)
public static java.util.List<Pair<PsiMethod,PsiSubstitutor>> findMethodsAndTheirSubstitutorsByName(PsiClass psiClass, java.lang.String name, boolean checkBases)
public static PsiClassType [] getExtendsListTypes(PsiClass psiClass)
public static PsiClassType [] getImplementsListTypes(PsiClass psiClass)
public static boolean isClassEquivalentTo(PsiClass aClass, PsiElement another)
public static boolean isFieldEquivalentTo(PsiField field, PsiElement another)
public static boolean isMethodEquivalentTo(PsiMethod method1, PsiElement another)