Class AbstractLibraryCallFunctionClassificationStrategy

java.lang.Object
org.somox.gast2seff.visitors.AbstractFunctionClassificationStrategy
org.somox.gast2seff.visitors.AbstractLibraryCallFunctionClassificationStrategy
All Implemented Interfaces:
IFunctionClassificationStrategy
Direct Known Subclasses:
BasicFunctionClassificationStrategy

public abstract class AbstractLibraryCallFunctionClassificationStrategy extends AbstractFunctionClassificationStrategy
Class that defines how library calls are marked but not how external calls are marked.
  • Field Details

    • root

      protected final Root root
  • Constructor Details

  • Method Details

    • isLibraryCall

      protected boolean isLibraryCall(tools.mdsd.jamopp.model.java.members.Method method)
      Checks whether the method call is a access to a library. This is the case if the compilation unit of the target method is not in the root
      Specified by:
      isLibraryCall in class AbstractFunctionClassificationStrategy
      Parameters:
      method - The function access to test
      Returns:
      true if the function access is