public class StaticAnalysis.MethodState extends StaticAnalysis.WorklistEntry
types
of the parameters and return value of a method. Also
serves as the worklist element to parse the bytecodes of the method.Modifier and Type | Field and Description |
---|---|
private StaticAnalysis.TypeFlow[] |
formalParameters |
private StaticAnalysis.TypeFlow |
formalReturn |
private ResolvedJavaMethod |
method |
private boolean |
processed |
Modifier | Constructor and Description |
---|---|
protected |
MethodState(ResolvedJavaMethod method) |
Modifier and Type | Method and Description |
---|---|
StaticAnalysis.TypeFlow[] |
getFormalParameters()
All
types that the parameters of this method can have. |
StaticAnalysis.TypeFlow |
getFormalReturn()
All
types that the return value of this method can have. |
protected void |
process() |
private final ResolvedJavaMethod method
private final StaticAnalysis.TypeFlow[] formalParameters
private final StaticAnalysis.TypeFlow formalReturn
private boolean processed
protected MethodState(ResolvedJavaMethod method)
public StaticAnalysis.TypeFlow[] getFormalParameters()
types
that the parameters of this method can have.public StaticAnalysis.TypeFlow getFormalReturn()
types
that the return value of this method can have.protected void process()
process
in class StaticAnalysis.WorklistEntry