Module java4ever.binding
Class WildcardTypeName
java.lang.Object
tech.deplant.java4ever.binding.generator.javapoet.TypeName
tech.deplant.java4ever.binding.generator.javapoet.WildcardTypeName
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionannotated(List<AnnotationSpec> annotations) static TypeNameget(WildcardType wildcardName) static TypeNameget(WildcardType mirror) static WildcardTypeNamestatic WildcardTypeNameReturns a type that represents an unknown type that extendsbound.static WildcardTypeNamesupertypeOf(Type lowerBound) static WildcardTypeNamesupertypeOf(TypeName lowerBound) Returns a type that represents an unknown supertype ofbound.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
-
upperBounds
-
lowerBounds
-
-
Method Details
-
subtypeOf
Returns a type that represents an unknown type that extendsbound. For example, ifboundisCharSequence.class, this returns? extends CharSequence. IfboundisObject.class, this returns?, which is shorthand for? extends Object. -
subtypeOf
-
supertypeOf
Returns a type that represents an unknown supertype ofbound. For example, ifboundisString.class, this returns? super String. -
supertypeOf
-
get
-
get
-
annotated
-
withoutAnnotations
- Overrides:
withoutAnnotationsin classTypeName
-