@HashCodeAndEqualsPlugin.Enhance protected static class TypeDescription.Generic.Builder.OfNonGenericType extends TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfGenericArrayType, TypeDescription.Generic.Builder.OfNonGenericType, TypeDescription.Generic.Builder.OfParameterizedType, TypeDescription.Generic.Builder.OfTypeVariable
Modifier and Type | Field and Description |
---|---|
private TypeDescription.Generic |
ownerType
The raw type's (annotated) declaring type or
null if no such type is defined. |
private TypeDescription |
typeDescription
The type's erasure.
|
annotations
Modifier | Constructor and Description |
---|---|
protected |
OfNonGenericType(TypeDescription typeDescription)
Creates a builder for a non-generic type.
|
protected |
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType)
Creates a builder for a non-generic type.
|
protected |
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType,
java.util.List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic type.
|
private |
OfNonGenericType(TypeDescription typeDescription,
TypeDescription ownerType)
Creates a builder for a non-generic type.
|
Modifier and Type | Method and Description |
---|---|
protected TypeDescription.Generic.Builder |
doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
Creates a new builder for the current type and the applied type annotations.
|
protected TypeDescription.Generic |
doBuild()
Builds the generic type.
|
annotate, annotate, annotate, annotate, asArray, asArray, asWildcardLowerBound, asWildcardLowerBound, asWildcardLowerBound, asWildcardLowerBound, asWildcardLowerBound, asWildcardUpperBound, asWildcardUpperBound, asWildcardUpperBound, asWildcardUpperBound, asWildcardUpperBound, build, build, build, build, build, parameterizedType, parameterizedType, parameterizedType, parameterizedType, parameterizedType, parameterizedType, rawType, rawType, rawType, rawType, typeVariable, unboundWildcard, unboundWildcard, unboundWildcard, unboundWildcard, unboundWildcard
private final TypeDescription typeDescription
@HashCodeAndEqualsPlugin.ValueHandling(value=REVERSE_NULLABILITY) private final TypeDescription.Generic ownerType
null
if no such type is defined.protected OfNonGenericType(TypeDescription typeDescription)
typeDescription
- The type's erasure.private OfNonGenericType(TypeDescription typeDescription, TypeDescription ownerType)
typeDescription
- The type's erasure.ownerType
- The raw type's raw declaring type or null
if no such type is defined.protected OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType)
typeDescription
- The type's erasure.ownerType
- The raw type's (annotated) declaring type.protected OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType, java.util.List<? extends AnnotationDescription> annotations)
typeDescription
- The type's erasure.ownerType
- The raw type's (annotated) declaring type.annotations
- The type's type annotations.protected TypeDescription.Generic.Builder doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
TypeDescription.Generic.Builder
doAnnotate
in class TypeDescription.Generic.Builder
annotations
- Type annotations to be declared by the current type.protected TypeDescription.Generic doBuild()
TypeDescription.Generic.Builder
doBuild
in class TypeDescription.Generic.Builder