boolean (@NotNull JvmMethod method) { if (!MAIN.equals(method.getName())) return false; final JvmClass containingClass = method.getContainingClass(); return containingClass != null && canBeMainClass(containingClass) && hasMainMethodSignature(method); }