You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
@EBeanpublicclassMyClass {
// ... some methods of my class ...@EBeanstaticclassStringResourcesOfMyClass {
@StringResstaticStringmyString;
@StringResstaticStringmyStringAnother;
}
Gives me an error like:
The package com.test.MyClass collides with a type
StringResourcesOfMyClass_.java /MyProject/.apt_generated/com/test/MyClass line 6 Java Problem
It won't be easy to fix though, because this occurs for all @EXXX annotations.
We can find a fix for static inner classes by creating a subclass that isn't an inner class but lives in the same package. We have to determine a naming convention for the generated subclass of an inner class.
By the way, I don't think we can fix this for non static inner classes, because subclasses of such classes must live in a subclass of the outer class. Still following me :-P ? This means that if StringResourcesOfMyClass wasn't static, we'd have to generate MyClass_ with StringResourcesOfMyClass_ as an inner class, at the same time. Hard to do in AndroidAnnotations architecture, I believe. So we should add a compile time error in such a case.
Gives me an error like:
The package com.test.MyClass collides with a type
StringResourcesOfMyClass_.java /MyProject/.apt_generated/com/test/MyClass line 6 Java Problem