private static boolean definesRun(PsiClass aClass) {
      final PsiMethod[] methods = aClass.findMethodsByName(HardcodedMethodConstants.RUN, false);
      for (final PsiMethod method : methods) {
        final PsiParameterList parameterList = method.getParameterList();
        if (!method.hasModifierProperty(PsiModifier.ABSTRACT) && parameterList.isEmpty()) {
          return true;
        }
      }
      return false;
    }
private static boolean definesRun(PsiClass aClass)