forked from forge/roaster
-
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.
Fixes forge#223 - tries to resolve classes in current package before …
…looking into wildcard import , uses a new mechanism - ParsingContext , resolving java.lang according to actual order
- Loading branch information
1 parent
d5632f6
commit 1b93944
Showing
4 changed files
with
34 additions
and
5 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
17 changes: 17 additions & 0 deletions
17
tests/src/test/resources/org/jboss/forge/grammar/java/Object.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,17 @@ | ||
package org.jboss.forge.grammar.java; | ||
|
||
|
||
public class Object { | ||
|
||
private String fakeField; | ||
|
||
|
||
public String getFakeField() { | ||
return fakeField; | ||
} | ||
|
||
public <T extends Object> T setFakeField(String fakeField) { | ||
this.fakeField = fakeField; | ||
return (T) this; | ||
} | ||
} |