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<org.emftext.language.java.members.Method>
getMethodCalls
(org.emftext.language.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<org.emftext.language.java.members.Method> getMethodCalls(org.emftext.language.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
-