private static boolean hasRedefinedContext(PsiClass panelClass) {
      MethodSignature signature = MethodSignatureUtil
        .createMethodSignature("getAccessibleContext", PsiType.EMPTY_ARRAY, PsiTypeParameter.EMPTY_ARRAY, PsiSubstitutor.EMPTY);
      PsiMethod found = MethodSignatureUtil.findMethodBySignature(panelClass, signature, true);
      if (found != null) {
        PsiClass containingClass = found.getContainingClass();
        if (containingClass != null && !"javax.swing.JPanel".equals(containingClass.getQualifiedName())) {
          return true;
        }
      }
      return false;
    }
private static boolean hasRedefinedContext(PsiClass panelClass)