We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276bf59 commit 9b572bbCopy full SHA for 9b572bb
doma-processor/src/main/java/org/seasar/doma/internal/apt/MoreTypes.java
@@ -160,7 +160,12 @@ public TypeElement toTypeElement(TypeMirror typeMirror) {
160
if (element == null) {
161
return null;
162
}
163
- return ctx.getMoreElements().toTypeElement(element);
+ TypeElement typeElement = ctx.getMoreElements().toTypeElement(element);
164
+ if (typeElement == null) {
165
+ return null;
166
+ }
167
+ // workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=544288
168
+ return ctx.getMoreElements().getTypeElement(typeElement.getQualifiedName());
169
170
171
public DeclaredType toDeclaredType(TypeMirror typeMirror) {
0 commit comments