private void checkTypeParameter(Method method){
  TypeVariable<Method> typeParameter=getTypeParameter(method);
  assertEquals("T",typeParameter.getName());
  assertEquals(method,typeParameter.getGenericDeclaration());
}

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