Constructs an instance.paramname {@code non-null;} attribute name if (name == null) { throw new NullPointerException("name == null"); } this.name = name;
if (name == null) { throw new NullPointerException("name == null"); } this.name = name;
{@inheritDoc} return name;
return name;