forked from projectlombok/lombok
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixes projectlombok#2443] Remove multiline Javadoc tags
- Loading branch information
Showing
8 changed files
with
132 additions
and
13 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
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
51 changes: 51 additions & 0 deletions
51
test/transform/resource/after-delombok/JavadocMultiline.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,51 @@ | ||
class JavadocMultiline { | ||
/** | ||
* This is a list of booleans. | ||
*/ | ||
private java.util.List<Boolean> booleans; | ||
/** | ||
* This is a list of booleans. | ||
*/ | ||
private java.util.List<Boolean> booleans2; | ||
|
||
/** | ||
* This is a list of booleans. | ||
* | ||
* @return A list of booleans to set for this object. This is a Javadoc return that is long | ||
* enough to wrap to multiple lines. | ||
*/ | ||
@java.lang.SuppressWarnings("all") | ||
public java.util.List<Boolean> getBooleans() { | ||
return this.booleans; | ||
} | ||
|
||
/** | ||
* This is a list of booleans. | ||
*/ | ||
@java.lang.SuppressWarnings("all") | ||
public java.util.List<Boolean> getBooleans2() { | ||
return this.booleans2; | ||
} | ||
|
||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
*/ | ||
@java.lang.SuppressWarnings("all") | ||
public void setBooleans(final java.util.List<Boolean> booleans) { | ||
this.booleans = booleans; | ||
} | ||
|
||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
*/ | ||
@java.lang.SuppressWarnings("all") | ||
public void setBooleans2(final java.util.List<Boolean> booleans2) { | ||
this.booleans2 = booleans2; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@lombok.Getter @lombok.Setter class JavadocMultiline { | ||
private java.util.List<Boolean> booleans; | ||
private java.util.List<Boolean> booleans2; | ||
JavadocMultiline() { | ||
super(); | ||
} | ||
/** | ||
* This is a list of booleans. | ||
* | ||
* @return A list of booleans to set for this object. This is a Javadoc return that is long | ||
* enough to wrap to multiple lines. | ||
*/ | ||
public @java.lang.SuppressWarnings("all") java.util.List<Boolean> getBooleans() { | ||
return this.booleans; | ||
} | ||
/** | ||
* This is a list of booleans. | ||
*/ | ||
public @java.lang.SuppressWarnings("all") java.util.List<Boolean> getBooleans2() { | ||
return this.booleans2; | ||
} | ||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
*/ | ||
public @java.lang.SuppressWarnings("all") void setBooleans(final java.util.List<Boolean> booleans) { | ||
this.booleans = booleans; | ||
} | ||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
*/ | ||
public @java.lang.SuppressWarnings("all") void setBooleans2(final java.util.List<Boolean> booleans2) { | ||
this.booleans2 = booleans2; | ||
} | ||
} |
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,22 @@ | ||
@lombok.Getter | ||
@lombok.Setter | ||
class JavadocMultiline { | ||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
* @return A list of booleans to set for this object. This is a Javadoc return that is long | ||
* enough to wrap to multiple lines. | ||
*/ | ||
private java.util.List<Boolean> booleans; | ||
|
||
|
||
/** | ||
* This is a list of booleans. | ||
* | ||
* @param booleans A list of booleans to set for this object. This is a Javadoc param that is | ||
* long enough to wrap to multiple lines. | ||
*/ | ||
private java.util.List<Boolean> booleans2; | ||
} |