Attempt to handle references to anonymous inner classes

This commit is contained in:
Mumfrey committed 2015-01-24 00:39:00 +00:00
1 parent 5048a431bc
commit dcd44b91d2
7 files changed
+305 -12

No files matched your search

@@ -187,7 +187,10 @@ public abstract class MirrorUtils {
}
public static String getInternalName(DeclaredType type) {
TypeElement elem = (TypeElement)type.asElement();
return MirrorUtils.getInternalName((TypeElement)type.asElement());
}
public static String getInternalName(TypeElement elem) {
StringBuilder reference = new StringBuilder();
reference.append(elem.getSimpleName());
Element parent = elem.getEnclosingElement();