protected static class TypeDescription.Generic.Builder.OfTypeVariable 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 |
OfTypeVariable(String symbol)
Creates a new builder for a symbolic type variable.
|
protected |
OfTypeVariable(String symbol,
List<? extends AnnotationDescription> annotations)
Creates a new builder for a symbolic type variable.
|
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 OfTypeVariable(String symbol)
symbol
- The variable's symbol.protected OfTypeVariable(String symbol, List<? extends AnnotationDescription> annotations)
symbol
- The variable's symbol.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.