private void checkBoundedTypeParameter(Method method){
  TypeVariable<Method> typeParameter=getTypeParameter(method);
  assertEquals("T",typeParameter.getName());
  assertEquals(method,typeParameter.getGenericDeclaration());
  Type[] bounds=typeParameter.getBounds();
  assertLenghtOne(bounds);
  Type bound=bounds[0];
  assertEquals(BoundedGenericMethods.class,bound);
}

private void checkBoundedTypeParameter ( Method method ) { TypeVariable < Method > typeParameter = getTypeParameter ( method ) ; assertEquals ( "T" , typeParameter . getName ( ) ) ; assertEquals ( method , typeParameter . getGenericDeclaration ( ) ) ; Type [ ] bounds = typeParameter . getBounds ( ) ; assertLenghtOne ( bounds ) ; Type bound = bounds [ 0 ] ; assertEquals ( BoundedGenericMethods . class , bound ) ; }
tests whether the type parameter is upper bounded by boundedgenericmethods . < t extends boundedgenericmethods > .
