get Type Sign
Convert type to type sign.
----------------转换类型为类型签名。
getTypeSign(boolean.class) -> "Z"
getTypeSign(int.class) -> "I"
getTypeSign(String.class) -> "Ljava/lang/String;"
getTypeSign(String[].class) -> "[Ljava/lang/String;"
Content copied to clipboard
Return
type sign / 类型签名
Parameters
type
type / 类型
Convert type name to type sign.
----------------转换类型名为类型签名。
getTypeSign("int") -> "I"
getTypeSign("java.lang.String") -> "Ljava/lang/String;"
getTypeSign("java.lang.String[]") -> "[Ljava/lang/String;"
Content copied to clipboard
Return
type sign / 类型签名
Parameters
type Name
type name / 类型名