Remove Eclipse's .project file.
Do not add enclosing method if method is null.