Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Beta2
Description
For example, if we have the following classes:
public class A { public static class B { } }
The import com.example.foo.A$B is added for the class B instead of com.example.foo.A.B. It's because AbstractJavaSource#addImport(Class<?> type) uses type.getName() to create the import, which returns com.example.foo.A$B.
Attachments
Issue Links
- is related to
-
FORGE-28 add-constraint Pattern erronously adds flags to annotation even when none are defined
- Closed