Package de.unkrig.commons.asm
Class Signature
- java.lang.Object
-
- de.unkrig.commons.asm.Signature
-
public final class Signature extends Object
Utility class for simple handling of class/method descriptors/signatures.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtoString(String className, String classSignature)Converts a class descriptor / signature into strings likestatic StringtoString(String methodName, String methodDescriptor, String methodSignature)Converts a method descriptor / signature into strings likestatic StringtoString(org.objectweb.asm.tree.MethodNode methodNode)Converts an ASM method node into strings like
-
-
-
Method Detail
-
toString
public static String toString(String className, @Nullable String classSignature)
Converts a class descriptor / signature into strings likeList<T extends java.lang.Exception>
Notice that the result does not include the accessibility.
-
toString
public static String toString(org.objectweb.asm.tree.MethodNode methodNode)
Converts an ASM method node into strings likemeth(java.lang.String, java.util.Map)} <T extends java.io.IOException> meth(T, double, java.lang.List<T>)
Notice that the result includes neither the return type nor the accessibility.
-
toString
public static String toString(String methodName, String methodDescriptor, @Nullable String methodSignature)
Converts a method descriptor / signature into strings likemeth(java.lang.String, java.util.Map) <T extends java.io.IOException>meth(T, double, java.lang.List<T>)
Notice that the result includes neither the return type nor the accessibility.
-
-