Class MethodCallFinder

java.lang.Object
org.somox.gast2seff.visitors.MethodCallFinder

public class MethodCallFinder extends Object
The class finds methodCalls within a statement. It also caches the found method calls for statements to improve performance.
  • 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