public class TypeVariableResolver extends Object
Resolver for type variables used in class or interface hierarchy.
Usually it is used in BindType bean and Dao definitions.
| Constructor and Description |
|---|
TypeVariableResolver(TypeElement element,
List<com.squareup.javapoet.TypeName> typeArgs,
Map<String,com.squareup.javapoet.TypeName> typeVariableMap) |
| Modifier and Type | Method and Description |
|---|---|
static TypeVariableResolver |
build(TypeElement element) |
boolean |
hasTypeVariables() |
com.squareup.javapoet.TypeName |
resolve(com.squareup.javapoet.TypeName inputType) |
public TypeVariableResolver(TypeElement element, List<com.squareup.javapoet.TypeName> typeArgs, Map<String,com.squareup.javapoet.TypeName> typeVariableMap)
public boolean hasTypeVariables()
public static TypeVariableResolver build(TypeElement element)
public com.squareup.javapoet.TypeName resolve(com.squareup.javapoet.TypeName inputType)
Copyright © 2017. All rights reserved.