mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 08:02:13 +00:00
This commit is contained in:
1 parent
76856fb41e
commit
053bc174de
17 files changed
+459
-134
No files matched your search
@@ -1025,6 +1025,10 @@ public class ASMHelper {
|
||||
return arg == null ? "" : arg.toString();
|
||||
}
|
||||
|
||||
public static String getSimpleName(Class<? extends Annotation> annotationType) {
|
||||
return String.format("@%s", annotationType.getSimpleName());
|
||||
}
|
||||
|
||||
public static String getSimpleName(AnnotationNode annotation) {
|
||||
return ASMHelper.getSimpleName(annotation.desc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user