public JMethod(JType returnType, String name) { if ((name == null) || (name.length() == 0)) { String err = "The method name must not be null or zero-length"; throw new IllegalArgumentException(err); }  _classes   = new Vector(1); this.source       = new JSourceCode(); _signature = new JMethodSignature(name, returnType); this.jdc          = _signature.getJDocComment(); jdc.appendComment("Method " + name + "\n\n");
public JMethod(final String name) { this(null, name);
    public JMethod(JType returnType, String name) {        if ((name == null) || (name.length() == 0)) {            String err = "The method name must not be null or zero-length";            throw new IllegalArgumentException(err);        }                _classes   = new Vector(1);        this.source       = new JSourceCode();        _signature = new JMethodSignature(name, returnType);        this.jdc          = _signature.getJDocComment();        jdc.appendComment("Method " + name + "\n\n");    } //-- JMethod