static final class TypeParameterMap.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.lang.Integer> |
propertyToClassParamIndexMap |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
(package private) TypeParameterMap.Builder |
addIndex(int classTypeParameterIndex)
Adds the type parameter index for a class that represents the whole property
|
(package private) TypeParameterMap.Builder |
addIndex(int propertyTypeParameterIndex,
int classTypeParameterIndex)
Adds a mapping that represents the property
|
(package private) TypeParameterMap |
build() |
private final java.util.Map<java.lang.Integer,java.lang.Integer> propertyToClassParamIndexMap
TypeParameterMap.Builder addIndex(int classTypeParameterIndex)
classTypeParameterIndex
- the class's type parameter index that represents the whole fieldTypeParameterMap.Builder addIndex(int propertyTypeParameterIndex, int classTypeParameterIndex)
propertyTypeParameterIndex
- the property's type parameter indexclassTypeParameterIndex
- the class's type parameter indexTypeParameterMap build()