Class SignatureHelper
java.lang.Object
com.buschmais.jqassistant.plugin.java.api.scanner.SignatureHelper
Provides utility functions for working with signatures.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFieldSignature(String name, String rawSignature) Return a field signature.static StringgetMethodSignature(String name, String rawSignature) Return a method signature.static StringgetObjectType(String desc) Returns the Java type name corresponding to the given internal name.static StringReturns the Java type name type corresponding to the given type descriptor.static StringgetType(org.objectweb.asm.Type t) Return the type name of the given ASM type.
-
Method Details
-
getObjectType
Returns the Java type name corresponding to the given internal name.- Parameters:
desc- The internal name.- Returns:
- The type name.
-
getType
Returns the Java type name type corresponding to the given type descriptor.- Parameters:
desc- The type descriptor.- Returns:
- The type name.
-
getType
Return the type name of the given ASM type.- Parameters:
t- The ASM type.- Returns:
- The type name.
-
getMethodSignature
Return a method signature.- Parameters:
name- The method name.rawSignature- The signature containing parameter, return and exception values.- Returns:
- The method signature.
-
getFieldSignature
Return a field signature.- Parameters:
name- The field name.rawSignature- The signature containing the type value.- Returns:
- The field signature.
-