Creates an unparented method declaration node owned by this AST. By default, the declaration is for a method of an unspecified, but legal, name; no modifiers; no doc comment; no parameters; return type void; no extra array dimensions; no thrown exceptions; and no body (as opposed to an empty body).
To create a constructor, use this method and then call MethodDeclaration.setConstructor(true)
and MethodDeclaration.setName(className)
.
@return a new unparented method declaration node