Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52869e6
commit 965ab85
Showing
8 changed files
with
107 additions
and
23 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
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
15 changes: 15 additions & 0 deletions
15
src/test/resources/GenericCollectionWithExtension.java.txt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
class Node { | |||
} | |||
|
|||
class Comment extends Node { | |||
} | |||
|
|||
class Foo { | |||
|
|||
public Object bar() { | |||
Node node; | |||
java.util.List<Node> children = new java.util.LinkedList<Node>(); | |||
java.util.List<Comment> commentsToAttribute; | |||
return children.addAll(commentsToAttribute); | |||
} | |||
} |
2 changes: 1 addition & 1 deletion
2
src/test/resources/javaparser_expected_output/com_github_javaparser_ast_internal_Utils.txt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
|
|
||
[ Class com.github.javaparser.ast.internal.Utils ] | [ Class com.github.javaparser.ast.internal.Utils ] | ||
superclass: java.lang.Object | superclass: java.lang.Object | ||
Line 35) list == null ? Collections.<T>emptyList() : list ==> java.util.List<E> | Line 35) list == null ? Collections.<T>emptyList() : list ==> java.util.List<T> | ||
Line 39) collection == null || collection.isEmpty() ==> boolean | Line 39) collection == null || collection.isEmpty() ==> boolean |