@Nullable @Override public SmartTypePointer createClassTypePointer(@NotNull PsiClassType classType, @NotNull Project project) { if (classType instanceof GrClassReferenceType) { return new GrClassReferenceTypePointer(((GrClassReferenceType)classType), project); } return null; }
@Nullable @Override public SmartTypePointer createClassTypePointer(@NotNull PsiClassType classType, @NotNull Project project) { if(classType instanceof PsiClassReferenceType) { return new ClassReferenceTypePointer((PsiClassReferenceType) classType, project); } return null; }