public class TypeParameterTypeBuilder extends AbstractBuilder<TypeParameterType> implements TypeBuilder<TypeParameterType>, WithAnnotation<TypeParameterTypeBuilder>
annotations, format
Modifier | Constructor and Description |
---|---|
protected |
TypeParameterTypeBuilder(String name,
MetadataFormat format) |
Modifier and Type | Method and Description |
---|---|
TypeParameterType |
build() |
TypeParameterTypeBuilder |
defaultValue(String defaultValue) |
TypeParameterTypeBuilder |
id(String typeIdentifier) |
TypeParameterTypeBuilder |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotation s |
addExtension
protected TypeParameterTypeBuilder(String name, MetadataFormat format)
public TypeParameterTypeBuilder with(TypeAnnotation extension)
WithAnnotation
TypeAnnotation
swith
in interface WithAnnotation<TypeParameterTypeBuilder>
extension
- TypeAnnotation
to addpublic TypeParameterTypeBuilder id(String typeIdentifier)
public TypeParameterTypeBuilder defaultValue(String defaultValue)
public TypeParameterType build()
build
in interface TypeBuilder<TypeParameterType>
Copyright © 2018. All rights reserved.