static Method of(String name, Type type) {
        return new MethodImpl(name, type);
    }
Creates a new instance implementing this interface by using the default
implementation.

@param name the name
@param type the type
@return the new instance
common-parent/codegen/src/main/java/com/speedment/common/codegen/model/Method.java