@Override
  public boolean isInQualifiedNew() {
    PsiClassStub<?> stub = getGreenStub();
    if (stub != null) {
      return stub.isAnonymousInQualifiedNew();
    }

    PsiElement parent = getParent();
    return parent instanceof PsiNewExpression && ((PsiNewExpression)parent).getQualifier() != null;
  }
@Override
  public boolean isInQualifiedNew()