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
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,
List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic 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, unboundWildcard
protected OfNonGenericType(TypeDescription typeDescription)
typeDescription
- The type's erasure.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, 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(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
public boolean equals(Object other)
equals
in class TypeDescription.Generic.Builder
public int hashCode()
hashCode
in class TypeDescription.Generic.Builder
Copyright © 2014–2016. All rights reserved.