Class CallSiteAnalysis
- java.lang.Object
-
- com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
-
- com.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
-
- com.ensoftcorp.open.c.commons.analysis.CallSiteAnalysis
-
public class CallSiteAnalysis extends com.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
-
-
Constructor Summary
Constructors Constructor Description CallSiteAnalysis()
-
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 invocationsstatic 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 invocationsstatic com.ensoftcorp.atlas.core.query.Q
getFunctionInvocations(com.ensoftcorp.atlas.core.query.Q functions)
Given functions, returns function invocationsstatic 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 functionstatic 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 functionstatic com.ensoftcorp.atlas.core.query.Q
getInvokedFunction(com.ensoftcorp.atlas.core.query.Q callsites)
Given call sites, return the invoked functionsjava.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)
-
-
-
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 classcom.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 classcom.ensoftcorp.open.commons.analysis.CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
-
getName
public java.lang.String getName()
- Specified by:
getName
in classcom.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classcom.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
-
getSupportedLanguages
public java.util.Set<java.lang.String> getSupportedLanguages()
- Specified by:
getSupportedLanguages
in classcom.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
-
-