-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-try to resolve types in java.lang
Because `java.lang` types get automatically imported, they can be "resolved" without being resolved to the same thing that they are in the source file. This ultimately winds up preventing the generated code from compiling.
- Loading branch information
1 parent
9fdadf7
commit 3487dc5
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
value-fixture/src-java-11/org/immutables/fixture/module/ModuleIF.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,8 @@ | ||
package org.immutables.fixture.module; | ||
|
||
import org.immutables.value.Value; | ||
|
||
@Value.Immutable | ||
@Value.Style(typeAbstract = {"*IF"}, typeImmutable = "*") | ||
public interface ModuleIF { | ||
} |
11 changes: 11 additions & 0 deletions
11
value-fixture/src-java-11/org/immutables/fixture/module/subpackage/HasModuleField.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,11 @@ | ||
package org.immutables.fixture.module.subpackage; | ||
|
||
import org.immutables.fixture.module.Module; | ||
import org.immutables.value.Value; | ||
|
||
|
||
@Value.Immutable | ||
@Value.Style(headerComments = true) | ||
public interface HasModuleField { | ||
Module getModule(); | ||
} |
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