-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from victorhsr/adding_lombok_support
Adding lombok support
- Loading branch information
Showing
9 changed files
with
361 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
src/main/java/com/github/victorhsr/hermes/sample/ExpectedCustomGenericKeyValuePairDSL.java
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
src/main/java/com/github/victorhsr/hermes/sample/lombok/DataAnnotationPojo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.github.victorhsr.hermes.sample.lombok; | ||
|
||
import com.github.victorhsr.hermes.core.annotations.DSLRoot; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
@Data | ||
@DSLRoot | ||
@EqualsAndHashCode | ||
public class DataAnnotationPojo { | ||
|
||
private String foo; | ||
private Boolean bar; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/com/github/victorhsr/hermes/sample/lombok/SetterAnnotationOnFieldPojo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.github.victorhsr.hermes.sample.lombok; | ||
|
||
import com.github.victorhsr.hermes.core.annotations.DSLRoot; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Setter; | ||
|
||
@DSLRoot | ||
@EqualsAndHashCode | ||
public class SetterAnnotationOnFieldPojo { | ||
|
||
@Setter | ||
private String someString; | ||
@Setter | ||
private Boolean someBoolean; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/github/victorhsr/hermes/sample/lombok/SetterAnnotationPojo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.github.victorhsr.hermes.sample.lombok; | ||
|
||
import com.github.victorhsr.hermes.core.annotations.DSLRoot; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Setter; | ||
|
||
@Setter | ||
@DSLRoot | ||
@EqualsAndHashCode | ||
public class SetterAnnotationPojo { | ||
|
||
private Boolean fieldWithoutAnnotation; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.