forked from projectlombok/lombok
-
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.
Issue projectlombok#132: @XArgsConstructor don't show error when used…
… on a subclass that requires non-empty super call
- Loading branch information
Michail Plushnikov
committed
Nov 1, 2015
1 parent
be9098c
commit a3c4a62
Showing
4 changed files
with
55 additions
and
2 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
5 changes: 3 additions & 2 deletions
5
lombok-plugin/src/main/resources/messages/lombokBundle.properties
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
daemon.donate.title=Lombok support plugin updated to v{0} | ||
daemon.donate.content=\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/135">#132</a>): Make quickfix suggestion for @EqualsAndHashCode(callSuper = true) default<br/>\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/130">#130</a>): @XArgsConstructor don't show error when used on a subclass that requires non-empty super call<br/>\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/132">#132</a>): Make quickfix suggestion for @EqualsAndHashCode(callSuper = true) default<br/>\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/135">#135</a>): Feature request: support for @NoArgsConstructor(force = true)<br/>\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/135">#149</a>): Idea cannot generate another constructor when @NoArgsConstructor is used<br/>\ | ||
- Fixed (<a href="https://github.com/mplushnikov/lombok-intellij-plugin/issues/149">#149</a>): Idea cannot generate another constructor when @NoArgsConstructor is used<br/>\ | ||
<br/>\ | ||
If you find my plugin helpful, donate me using <b>\ | ||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\\&hosted_button_id=3F9HXD7A2SMCN">PayPal</a></b> |
23 changes: 23 additions & 0 deletions
23
test-manual/lombok/src/main/java/de/plushnikov/constructor/TestIssue130.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,23 @@ | ||
package de.plushnikov.constructor; | ||
|
||
import lombok.AllArgsConstructor; | ||
|
||
public class TestIssue130 { | ||
@AllArgsConstructor | ||
public static class Parent { | ||
private String name; | ||
} | ||
|
||
// @AllArgsConstructor | ||
public static class Subclass extends Parent { | ||
private String value; | ||
|
||
public Subclass(String name, String value) { | ||
super(name); | ||
} | ||
} | ||
|
||
public static void main(String[] args) { | ||
Subclass subclass = new Subclass("name", "value"); | ||
} | ||
} |