Constructor and Description |
---|
Builder(Type.Category category)
Constructor with parameters for the required properties of
Type . |
Modifier and Type | Method and Description |
---|---|
Type |
build() |
Type.Builder |
setBuiltinType(Type.BuiltinType builtinType)
Category of the built-in type.
|
Type.Builder |
setGenericInstantiation(GenericInstantiation genericInstantiation)
Instantiation of one of the generic types available in the interface definition
language.
|
Type.Builder |
setUserDefinedType(UserDefinedType userDefinedType)
Identifier and type of the user defined type.
|
public Builder(Type.Category category)
Type
.public Type.Builder setBuiltinType(Type.BuiltinType builtinType)
getCategory()
is Type.Category.BUILTIN
.builtinType
- New value for the property.public Type.Builder setUserDefinedType(UserDefinedType userDefinedType)
getCategory()
is Type.Category.USER_DEFINED
.userDefinedType
- New value for the property.public Type.Builder setGenericInstantiation(GenericInstantiation genericInstantiation)
getCategory()
is Type.Category.GENERIC
.genericInstantiation
- New value for the property.public Type build()