/** * Returns whether the template variable is optional, which means the template can be expanded to a URI without a * value given for that variable. * * @return */ boolean isRequired() { return !type.isOptional(); }
/** * Returns whether the template variable is optional, which means the template can be expanded to a URI without a * value given for that variable. * * @return */ boolean isRequired() { return !type.isOptional(); }