Package org.somox.gast2seff.visitors
Class MethodCallFinder
java.lang.Object
org.somox.gast2seff.visitors.MethodCallFinder
The class finds methodCalls within a statement. It also caches the found
method calls for statements to improve performance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<tools.mdsd.jamopp.model.java.members.Method>
getMethodCalls
(tools.mdsd.jamopp.model.java.statements.Statement statement) Get and returns the child method or constructor called contained in the statement.
-
Constructor Details
-
MethodCallFinder
public MethodCallFinder()
-
-
Method Details
-
getMethodCalls
public List<tools.mdsd.jamopp.model.java.members.Method> getMethodCalls(tools.mdsd.jamopp.model.java.statements.Statement statement) Get and returns the child method or constructor called contained in the statement.- Parameters:
statement
- A statement- Returns:
- A list of methods called if the statement contains one. Otherwise: an empty list
-