String resolveTypeName ( TypeMirror type ) { Object reference = resolveTypeReference ( type ) ; if ( reference instanceof Class ) { return ( ( Class ) reference ) . getName ( ) ; } return reference . toString ( ) ; }
Resolves a type name for the given name .