It should be possible to provide a custom name for the generated accessor.
/**
* Method targetsCollection() now returns the value of $collection, instead of isCollection()
*/
#[Getter(Modifier::PUBLIC, "targetsCollection")]
private bool $collection = false;