public static RefactoringStatus checkForMainMethods(ICompilationUnit cu) throws JavaModelException{ return checkForMainMethods(cu.getTypes());
public static RefactoringStatus checkForMainMethods(IType[] types) throws JavaModelException{ if (types == null) return null; RefactoringStatus result= new RefactoringStatus(); for (int i= 0; i < types.length; i++) result.merge(checkForMainMethod(types[i])); return result;
	public static RefactoringStatus checkForMainMethods(ICompilationUnit cu) throws JavaModelException{		return checkForMainMethods(cu.getTypes());	}