public static boolean isMethodReturnTypeGeneric(String desc){
  return desc.contains(")T");
}

public static boolean isMethodReturnTypeGeneric ( String desc ) { return desc . contains ( ")T" ) ; }
tells whether the given method signature is generic . the method is considered generic if its signature ends with something along the lines of " ) tv ; "
