Klasse AsmUtil
java.lang.Object
de.florianmichael.asmfabricloader.api.AsmUtil
This class is used to access the
Unsafe instance.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetClassStruct(Class<?> owner) static sun.misc.Unsafestatic StringnormalizeClassName(String input) static StringnormalizeDescriptor(String input)
-
Konstruktordetails
-
AsmUtil
public AsmUtil()
-
-
Methodendetails
-
normalizeDescriptor
- Parameter:
input- A class path- Gibt zurück:
- The class path converted to descriptor format (Replaced all '.' with '/')
-
normalizeClassName
- Parameter:
input- A class path- Gibt zurück:
- The class path converted to class name format (Replaced all '/' with '.')
-
getClassStruct
- Parameter:
owner- A class- Gibt zurück:
- All superclasses of the given class as a list of strings (formatted by
normalizeDescriptor(String)
-
getTheUnsafe
public static sun.misc.Unsafe getTheUnsafe()- Gibt zurück:
- the
Unsafeinstance
-