Java 类com.intellij.psi.PsiTypeVariable 实例源码

项目:nullability-annotations-inspection    文件:NullabilityAnnotationsInspection.java   
/** Returns true if the type is a type variable or a type parameter reference. */
private static boolean isTypeVariable(@Nullable PsiType psiType) {
    return psiType instanceof PsiTypeVariable
            || psiType instanceof PsiClassReferenceType
            && ((PsiClassReferenceType) psiType).resolve() instanceof PsiTypeParameter;
}
项目:intellij-ce-playground    文件:Binding.java   
public abstract boolean binds(final PsiTypeVariable var);
项目:intellij-ce-playground    文件:Binding.java   
public abstract Set<PsiTypeVariable> getBoundVariables();
项目:intellij-ce-playground    文件:Binding.java   
public abstract void addTypeVariable (PsiTypeVariable var);
项目:tools-idea    文件:Binding.java   
public abstract boolean binds(final PsiTypeVariable var);
项目:tools-idea    文件:Binding.java   
public abstract HashSet<PsiTypeVariable> getBoundVariables();
项目:tools-idea    文件:Binding.java   
public abstract void addTypeVariable (PsiTypeVariable var);
项目:consulo-java    文件:Binding.java   
public abstract boolean binds(final PsiTypeVariable var);
项目:consulo-java    文件:Binding.java   
public abstract HashSet<PsiTypeVariable> getBoundVariables();
项目:consulo-java    文件:Binding.java   
public abstract void addTypeVariable (PsiTypeVariable var);