-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow folders as classpath entries (#45)
The IJ parser allows for folders to be part of the classpath. This behaviour is useful for supplying folders of compiled .class or source files.
- Loading branch information
Showing
6 changed files
with
35 additions
and
3 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
1 change: 1 addition & 0 deletions
1
tests/data/accesstransformer/folder_classpath_entry/accesstransformer.cfg
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 @@ | ||
public C1 get()La/b/c/Reference; |
5 changes: 5 additions & 0 deletions
5
tests/data/accesstransformer/folder_classpath_entry/deps/a/b/c/Reference.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,5 @@ | ||
package a.b.c; | ||
|
||
public record Reference(int a) { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
tests/data/accesstransformer/folder_classpath_entry/expected/C1.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,7 @@ | ||
import a.b.c.Reference; | ||
|
||
public class C1 { | ||
public Reference get() { | ||
return new Reference(1); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
tests/data/accesstransformer/folder_classpath_entry/source/C1.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,7 @@ | ||
import a.b.c.Reference; | ||
|
||
public class C1 { | ||
private Reference get() { | ||
return new Reference(1); | ||
} | ||
} |
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