question: private void checkTypeParameter ( Method method ) { TypeVariable < Method > typeParameter = getTypeParameter ( method ) ; assertEquals ( "T" , typeParameter . getName ( ) ) ; assertEquals ( method , typeParameter . getGenericDeclaration ( ) ) ; }
target:  Tests whether the specified method declares a type parameter T.