Class CallSiteAnalysis


  • public class CallSiteAnalysis
    extends com.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.graph.Node function)  
      java.lang.String getDescription()  
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getFunctionInvocations​(com.ensoftcorp.atlas.core.db.graph.Node function)
      Given a function, return the function invocations
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getFunctionInvocations​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> functions)
      Given a function, return the function invocations
      static com.ensoftcorp.atlas.core.query.Q getFunctionInvocations​(com.ensoftcorp.atlas.core.query.Q functions)
      Given functions, returns function invocations
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getInvokedFunction​(com.ensoftcorp.atlas.core.db.graph.Node callsite)
      Given call sites, returns the invoked function
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getInvokedFunction​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> callsites)
      Given a callsite, return the invoked function
      static com.ensoftcorp.atlas.core.query.Q getInvokedFunction​(com.ensoftcorp.atlas.core.query.Q callsites)
      Given call sites, return the invoked functions
      java.lang.String getName()  
      java.util.Set<java.lang.String> getSupportedLanguages()  
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.graph.Node callSite)  
      • Methods inherited from class com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis

        equals, getRegisteredAnalyses, getRegisteredAnalyses, getRegisteredAnalyses, getRegisteredAnalyses, hashCode, loadAnalysisContributions
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallSiteAnalysis

        public CallSiteAnalysis()
    • Method Detail

      • getInvokedFunction

        public static com.ensoftcorp.atlas.core.query.Q getInvokedFunction​(com.ensoftcorp.atlas.core.query.Q callsites)
        Given call sites, return the invoked functions
        Parameters:
        callsite -
        Returns:
      • getInvokedFunction

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getInvokedFunction​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> callsites)
        Given a callsite, return the invoked function
        Parameters:
        callsite -
        Returns:
      • getInvokedFunction

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getInvokedFunction​(com.ensoftcorp.atlas.core.db.graph.Node callsite)
        Given call sites, returns the invoked function
        Parameters:
        callsites -
        Returns:
      • getFunctionInvocations

        public static com.ensoftcorp.atlas.core.query.Q getFunctionInvocations​(com.ensoftcorp.atlas.core.query.Q functions)
        Given functions, returns function invocations
        Parameters:
        callsite -
        Returns:
      • getFunctionInvocations

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getFunctionInvocations​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> functions)
        Given a function, return the function invocations
        Parameters:
        callsite -
        Returns:
      • getFunctionInvocations

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getFunctionInvocations​(com.ensoftcorp.atlas.core.db.graph.Node function)
        Given a function, return the function invocations
        Parameters:
        callsites -
        Returns:
      • getTargets

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.graph.Node callSite)
        Specified by:
        getTargets in class com.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
      • getCallSites

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.graph.Node function)
        Specified by:
        getCallSites in class com.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in class com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
      • getSupportedLanguages

        public java.util.Set<java.lang.String> getSupportedLanguages()
        Specified by:
        getSupportedLanguages in class com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis