public interface CallGraph
| Modifier and Type | Method and Description |
|---|---|
int |
callCount()
This method counts every edge in the call graph.
|
Set<MethodSignature> |
callsFrom(MethodSignature sourceMethod)
This method returns all method signatures that are called by a given method signature.
|
Set<MethodSignature> |
callsTo(MethodSignature targetMethod)
This method returns all method signatures that call a given method signature.
|
boolean |
containsCall(MethodSignature sourceMethod,
MethodSignature targetMethod)
This method checks if an edge is contained in the call graph.
|
boolean |
containsMethod(MethodSignature method)
This method checks if a given method signature is a node in the call graph.
|
MutableCallGraph |
copy()
This method copies a call graph.
|
String |
exportAsDot()
This method converts the call graph object into dot format and write it to a string file.
|
Set<MethodSignature> |
getMethodSignatures()
This method returns method signatures in the call graph.
|
@Nonnull Set<MethodSignature> getMethodSignatures()
@Nonnull Set<MethodSignature> callsFrom(@Nonnull MethodSignature sourceMethod)
sourceMethod - the method signature of the requested node in the call graph@Nonnull Set<MethodSignature> callsTo(@Nonnull MethodSignature targetMethod)
targetMethod - the method signature of the requested node in the call graphboolean containsMethod(@Nonnull MethodSignature method)
method - the method signature of the requested nodeboolean containsCall(@Nonnull MethodSignature sourceMethod, @Nonnull MethodSignature targetMethod)
sourceMethod - it defines the source node in the call graphtargetMethod - it defines the target node in the call graphint callCount()
String exportAsDot()
@Nonnull MutableCallGraph copy()
Copyright © 2024 Soot OSS. All rights reserved.