class ClientToDomainMapper extends TypeVisitorBase<javax.lang.model.type.TypeMirror>
Modifier and Type | Class and Description |
---|---|
static class |
ClientToDomainMapper.UnmappedTypeException |
Constructor and Description |
---|
ClientToDomainMapper() |
Modifier and Type | Method and Description |
---|---|
protected javax.lang.model.type.TypeMirror |
convertSingleParamType(javax.lang.model.type.DeclaredType x,
javax.lang.model.type.DeclaredType convertTo,
int param,
State state)
Utility method to convert a
Foo<BarProxy> -> BarDomain . |
protected javax.lang.model.type.TypeMirror |
defaultAction(javax.lang.model.type.TypeMirror x,
State state) |
javax.lang.model.type.TypeMirror |
visitDeclared(javax.lang.model.type.DeclaredType x,
State state) |
javax.lang.model.type.TypeMirror |
visitNoType(javax.lang.model.type.NoType x,
State state) |
javax.lang.model.type.TypeMirror |
visitPrimitive(javax.lang.model.type.PrimitiveType x,
State state) |
javax.lang.model.type.TypeMirror |
visitTypeVariable(javax.lang.model.type.TypeVariable x,
State state) |
javax.lang.model.type.TypeMirror |
visitWildcard(javax.lang.model.type.WildcardType x,
State state) |
getValueTypes
visitArray, visitError, visitExecutable, visitNull
public javax.lang.model.type.TypeMirror visitDeclared(javax.lang.model.type.DeclaredType x, State state)
public javax.lang.model.type.TypeMirror visitNoType(javax.lang.model.type.NoType x, State state)
public javax.lang.model.type.TypeMirror visitPrimitive(javax.lang.model.type.PrimitiveType x, State state)
public javax.lang.model.type.TypeMirror visitTypeVariable(javax.lang.model.type.TypeVariable x, State state)
public javax.lang.model.type.TypeMirror visitWildcard(javax.lang.model.type.WildcardType x, State state)
protected javax.lang.model.type.TypeMirror convertSingleParamType(javax.lang.model.type.DeclaredType x, javax.lang.model.type.DeclaredType convertTo, int param, State state)
Foo<BarProxy> -> BarDomain
. The
param
parameter specifies the index of the type parameter to
extract.