I actually looked for a way to have Eclipse automatically generate a compareTo method and didn't find one (nothing under Source -> Generate... matched). But then realized this isn't something Eclipse could implement automatically, since the rules of semantic version comparison require a specification after all.

Word on preferring not using String comparison. In Python we could just compare tuples like so:

```python
if (self.major, self.minor, self.patch, self.tag) < (other.major, other.minor, other.patch, other.tag):
    # self is a lower version than other
```

and it would automatically do the right thing. Is there a nice way to spell this in Java?