@NotNull
  public PsiMethodPattern definedInClass(@NonNls final String qname) {
    return definedInClass(PsiJavaPatterns.psiClass().withQualifiedName(qname));
  }
@NotNull
  public PsiMethodPattern definedInClass(@NonNls final String qname)