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.OfTypeVariableannotations| 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 spplied type annotations.
|
protected TypeDescription.Generic |
doBuild()
Builds the generic type.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
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, unboundWildcardprotected OfParameterizedType(TypeDescription rawType, 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, 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.BuilderdoAnnotate in class TypeDescription.Generic.Builderannotations - Type annotations to be declared by the current type.protected TypeDescription.Generic doBuild()
TypeDescription.Generic.BuilderdoBuild in class TypeDescription.Generic.Builderpublic boolean equals(Object other)
equals in class TypeDescription.Generic.Builderpublic int hashCode()
hashCode in class TypeDescription.Generic.BuilderCopyright © 2014–2016. All rights reserved.