@HashCodeAndEqualsPlugin.Enhance protected static class TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal extends Object implements TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable
A type description that represents a type variable with bounds that are resolved lazily.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Formal(String symbol,
List<TypePool.Default.LazyTypeDescription.GenericTypeToken> boundTypeTokens)
Creates generic type token that represent a formal type variable.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic |
toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
protected Formal(String symbol, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> boundTypeTokens)
symbol - This type variable's nominal symbol.boundTypeTokens - A list of tokens that represent this type variable's upper bounds.public TypeDescription.Generic toGenericType(TypePool typePool, TypeVariableSource typeVariableSource, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
toGenericType in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariabletypePool - The type pool to be used for locating non-generic type descriptions.typeVariableSource - The type variable source.annotationTokens - A mapping of the type variables' type annotations.boundaryAnnotationTokens - A mapping of the type variables' bounds' type annotation by their bound index.Copyright © 2014–2019. All rights reserved.