create a jawa method
create a jawa method
The declaring class of this method
name of the method. e.g. stackState
this param of the method, if the method is static or native it is None
List of param name with its type of the method
return type of the method
access flags of this field
Data structure to store all information about a catch clause LocUri should always looks like "L?[0-9a-f]+"
Jawa AST node for this JawaMethod.
Jawa AST node for this JawaMethod. Unless unknown, it should not be null.
access flags of this field
access flags of this field
Adds exception thrown by this method
set exception with details
Adds exception which can be thrown by this method
input ("Ljava/lang/String;", 1, "[", true) output "[Ljava/lang/String;"
input ("Ljava/lang/String;", 1, "[", true) output "[Ljava/lang/String;"
check whether we already resolved to desired level
check whether we already resolved to desired level
check whether we already resolved to desired level
check whether we already resolved to desired level
******************** JawaMethod related op end *************************
******************** JawaMethod related op end *************************
The declaring class of this method
convert type string from signature style to type.
convert type string from signature style to type. [Ljava/lang/Object; -> (java.lang.Object, 1)
generate signature of this field.
generate signature of this field. input: ("java.lang.Throwable", "stackState") output: "java.lang.Throwable.stackState"
generate signature of this method
generate signature of this method
get field access flags in text form
get field access flags in text form
resolve current method to body level
get class name from field signature.
get class name from field signature. e.g. java.lang.Throwable.stackState -> java.lang.Throwable [Ljava.lang.String;.length -> [Ljava.lang.String;
get class name from field signature.
get class name from field signature. e.g. java.lang.Throwable.stackState -> java.lang.Throwable [Ljava.lang.String;.length -> [Ljava.lang.String;
display this method.
display this method. e.g. isInteresting(IClassFile)
get exceptions
get field name from field FQN.
get field name from field FQN. e.g. java.lang.Throwable.stackState -> stackState
name of the method.
name of the method. e.g. equals
get outer class name from inner class name.
get outer class name from inner class name. e.g. android.os.Handler$Callback -> android.os.Handler
get i'th parameter of this method
get i'th parameter's name of this method
list of parameter names
get i'th parameter's type of this method
list of parameter types.
list of parameter types. e.g. List(java.lang.Object, java.lang.String)
list of parameters.
list of parameters. e.g. List((v1, java.lang.Object), (v2, java.lang.String))
return resolving level
return resolving level
return type.
return type. e.g. boolean
signature of the method.
signature of the method. e.g. Ljava/lang/Object;.equals:(Ljava/lang/Object;)Z
sub-signature of the method.
sub-signature of the method. e.g. equals:(Ljava/lang/Object;)Z
get thrown exception target location
input ("java.lang.String", 1) output Type
input ("java.lang.String", 1) output Type
input: "java.lang.String[]" output: JawaType("java.lang.String", 1)
input: "java.lang.String[]" output: JawaType("java.lang.String", 1)
return true if this class is abstract
return true if this class is abstract
return true if this method is concrete which means it is not abstract nor native nor unknown
return true if this method is concrete which means it is not abstract nor native nor unknown
return true if this method is constructor
return true if this method is declared_synchronized
return true if this method is a class initializer or main function
check if given string is field signature or not
check if given string is field signature or not
return true if this class is final
return true if this class is final
return true if the given typ is a inner class or not
return true if the given typ is a inner class or not
return whether given type is java primitive type
return whether given type is java primitive type
return whether given type is java primitive type
return whether given type is java primitive type
return true if this method is main method
return true if this method is native
return true if this method is native
return true if this class is private
return true if this class is private
return true if this class is protected
return true if this class is protected
return true if this class is public
return true if this class is public
return true if this class is static
return true if this class is static
return true if this method is synthetic
return true if this class is unknown class
return true if this class is unknown class
FQN of the field.
FQN of the field. e.g. java.lang.Throwable.stackState or @@java:lang:Enum.sharedConstantsCache
FQN of the field.
FQN of the field. e.g. java.lang.Throwable.stackState or @@java.lang.Enum.sharedConstantsCache
e.g.
e.g. java.lang.Throwable.run
name of the method.
name of the method. e.g. stackState
List of param name with its type of the method
supply property
supply property
removes exception from this method
resolving level of current class
resolving level of current class
retrieve code belong to this method
return type of the method
input: "java.lang.String" output: (Some("java.lang"), "String") input: "int" output: (None, "int")
input: "java.lang.String" output: (Some("java.lang"), "String") input: "int" output: (None, "int")
set exceptions for this method
set resolving level
set resolving level
this param of the method, if the method is static or native it is None
throws this exception or not?
unknown means it's not available in our code repo
unknown means it's not available in our code repo
This class is an jawa representation of a pilar method. It can belong to JawaClass. You can also construct it manually.
The declaring class of this method
name of the method. e.g. stackState
this param of the method, if the method is static or native it is None
List of param name with its type of the method
return type of the method
access flags of this field