@HashCodeAndEqualsPlugin.Enhance protected static class TypeDescription.Generic.Builder.OfParameterizedType extends TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfGenericArrayType, TypeDescription.Generic.Builder.OfNonGenericType, TypeDescription.Generic.Builder.OfParameterizedType, TypeDescription.Generic.Builder.OfTypeVariable, TypeDescription.Generic.Builder.Visitor
annotations
Modifier | Constructor and Description |
---|---|
protected |
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a builder for a parameterized type.
|
protected |
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes,
List<? extends AnnotationDescription> annotations)
Creates a builder for a parameterized type.
|
Modifier and Type | Method and Description |
---|---|
protected TypeDescription.Generic.Builder |
doAnnotate(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, of, of, parameterizedType, parameterizedType, parameterizedType, parameterizedType, parameterizedType, parameterizedType, rawType, rawType, rawType, rawType, typeVariable, unboundWildcard, unboundWildcard, unboundWildcard, unboundWildcard, unboundWildcard
protected OfParameterizedType(TypeDescription rawType, @MaybeNull TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes)
rawType
- The raw base type.ownerType
- The generic owner type.parameterTypes
- The parameter types.protected OfParameterizedType(TypeDescription rawType, @MaybeNull TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes, List<? extends AnnotationDescription> annotations)
rawType
- The raw base type.ownerType
- The generic owner type.parameterTypes
- The parameter types.annotations
- The type's type annotations.protected TypeDescription.Generic.Builder doAnnotate(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
Copyright © 2014–2023. All rights reserved.