mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-20 01:49:34 +00:00
Attempt to handle references to anonymous inner classes
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user