public static TypeVariableToken of ( TypeDescription . Generic typeVariable , ElementMatcher < ? super TypeDescription > matcher ) { return new TypeVariableToken ( typeVariable . getSymbol ( ) , typeVariable . getUpperBounds ( ) . accept ( new TypeDescription . Generic . Visitor . Substitutor . ForDetachment ( matcher ) ) , typeVariable . getDeclaredAnnotations ( ) ) ; }
Transforms a type variable into a type variable token with its bounds detached .