code: public Class nextGenericClass () {
  		GenericType[] arguments = nextGenericTypes();
  		if (arguments == null) return null;
  		return arguments[0].resolve(this);
  	}
docs: Resolves the first type parameter and returns the class, or null if it could not be resolved or there are no type
  parameters. Uses {@link #nextGenericTypes()}, so must be balanced by {@link #popGenericType()} (optional if null is
  returned).
  <p>
  This method is intended for ease of use when a class has a single type parameter.
  @return May be null.