code: public static boolean isListedAsParametrisation(JClass classToCheck, JType type) {
  		return type instanceof JClass && ((JClass) type).getTypeParameters().contains(classToCheck);
  	}
docs: Returns <code>true</code> of the given <code>type</code> is {@link JClass} and contains <code>classToCheck</code>
  in the list of parametrisations.