Class JvmMethodSig
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.JvmMethodSig
Representation of JVM internal method signature. Example:
Lcom/abc/Foo;->bar(ILjava/lang/String;)V
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJvmMethodSig
(String csig, String mname, String rettype, String... partypes) JvmMethodSig
(String csig, String mname, String rettype, Collection<String> partypes) -
Method Summary
Modifier and TypeMethodDescriptiongenerate()
getType()
static String
nameAndParams
(String msig) Parse a jvvm method name and return the name+params string, egbar(I[J[[Ljava/lang/String;)
for msig=Lcom/abc/Foo;->bar(I[J[[Ljava/lang/String;)V
static JvmMethodSig
Explode the internal signature (full) of a method.static JvmMethodSig
Explode the internal signature (full) of a method.
-
Field Details
-
csig
-
mname
-
rettype
-
partypes
-
-
Constructor Details
-
JvmMethodSig
-
JvmMethodSig
-
-
Method Details
-
getType
-
getMethodName
-
getReturnType
-
getParameterTypes
-
generate
-
parse
Explode the internal signature (full) of a method. This method throws on error.- Parameters:
msig
- a binary method signature, egLcom/abc/Foo;->bar(I[J[[Ljava/lang/String;)V
- Returns:
- parsed object; throws on error
-
parseSafe
Explode the internal signature (full) of a method. This method does not throw on error.- Parameters:
msig
- a binary method signature, egLcom/abc/Foo;->bar(I[J[[Ljava/lang/String;)V
- Returns:
- null on error
-
nameAndParams
Parse a jvvm method name and return the name+params string, egbar(I[J[[Ljava/lang/String;)
for msig=Lcom/abc/Foo;->bar(I[J[[Ljava/lang/String;)V
- Parameters:
msig
- a binary method signature- Returns:
- null on error
-