Module java4ever.binding
Class ParameterizedTypeName
java.lang.Object
tech.deplant.java4ever.binding.generator.javapoet.TypeName
tech.deplant.java4ever.binding.generator.javapoet.ParameterizedTypeName
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionannotated(List<AnnotationSpec> annotations) static ParameterizedTypeNameReturns a parameterized type, applyingtypeArgumentstorawType.static ParameterizedTypeNameget(ParameterizedType type) Returns a parameterized type equivalent totype.static ParameterizedTypeNameReturns a parameterized type, applyingtypeArgumentstorawType.nestedClass(String name) Returns a newParameterizedTypeNameinstance for the specifiedparameterNameas nested inside this class.nestedClass(String name, List<TypeName> typeArguments) Returns a newParameterizedTypeNameinstance for the specifiedparameterNameas nested inside this class, with the specifiedtypeArguments.Methods inherited from class tech.deplant.java4ever.binding.generator.javapoet.TypeName
annotated, box, concatAnnotations, equals, get, get, hashCode, isAnnotated, isBoxedPrimitive, isPrimitive, toString, unbox
-
Field Details
-
rawType
-
typeArguments
-
-
Method Details
-
get
Returns a parameterized type, applyingtypeArgumentstorawType. -
get
Returns a parameterized type, applyingtypeArgumentstorawType. -
get
Returns a parameterized type equivalent totype. -
annotated
-
withoutAnnotations
- Overrides:
withoutAnnotationsin classTypeName
-
nestedClass
Returns a newParameterizedTypeNameinstance for the specifiedparameterNameas nested inside this class. -
nestedClass
Returns a newParameterizedTypeNameinstance for the specifiedparameterNameas nested inside this class, with the specifiedtypeArguments.
-