mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
Merge pull request #3807 from jevanlingen/patch-1
Update onXExample_pre.jpage
This commit is contained in:
1 file changed
+2
-1
@@ -7,7 +7,8 @@ import javax.persistence.Id;
|
||||
import javax.persistence.Column;
|
||||
import javax.validation.constraints.Max;
|
||||
|
||||
@AllArgsConstructor(onConstructor=@__(@Inject))
|
||||
// @AllArgsConstructor(onConstructor=@__(@Inject)) //JDK7
|
||||
@AllArgsConstructor(onConstructor_=@Inject) //JDK8
|
||||
public class OnXExample {
|
||||
// @Getter(onMethod=@__({@Id, @Column(name="unique-id")})) //JDK7
|
||||
// @Setter(onParam=@__(@Max(10000))) //JDK7
|
||||
|
||||
Reference in new issue
Block a user