You could move initialisation to the field:
private String id = UUID.randomUUID().toString();