FORGE-1450 - Forge will correctly create enum attribute on entity.

Hi, I've tried to implement FORGE-1450. I'would be really glad for any feedback. Thank you very much.


When adding new field to entity, it will detect if type of field is enum and will set correct annotations.
New attribute added "--enumType". "--columnName" is also supported.
Enums are also added to auto-complete feature.

 Usage:
1.

    jpa-new-field --named myCustomEnum --typeName sample.CustomEnumType

Output:

    @Enumerated
    private CustomEnumType myCustomEnum

2.

    jpa-new-field --named myCustomEnum --typeName sample.CustomEnumType --enumType STRING

Output:

    @Enumerated(EnumType.STRING)
    private CustomEnumType myCustomEnum

3.

    jpa-new-field --type PersonType --columnName "ENUM_COLUMN"

Output:

    @Enumerated
    @Column(name = "ENUM_COLUMN")
    private CustomEnumType myCustomEnum