Record Class FieldBasedCallGraphBuilder.CallGraphResult
java.lang.Object
java.lang.Record
com.ibm.wala.cast.js.callgraph.fieldbased.FieldBasedCallGraphBuilder.CallGraphResult
- Enclosing class:
FieldBasedCallGraphBuilder
public static record FieldBasedCallGraphBuilder.CallGraphResult(JSCallGraph callGraph, PointerAnalysis<ObjectVertex> pointerAnalysis, FlowGraph flowGraph)
extends Record
Full result of call graph computation
- Author:
- mschaefer
-
Constructor Summary
ConstructorsConstructorDescriptionCallGraphResult(JSCallGraph callGraph, PointerAnalysis<ObjectVertex> pointerAnalysis, FlowGraph flowGraph) Creates an instance of aCallGraphResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecallGraphrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflowGraphrecord component.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UseflowGraph()insteadDeprecated, for removal: This API element is subject to removal in a future version.UsepointerAnalysis()insteadfinal inthashCode()Returns a hash code value for this object.Returns the value of thepointerAnalysisrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallGraphResult
public CallGraphResult(JSCallGraph callGraph, PointerAnalysis<ObjectVertex> pointerAnalysis, FlowGraph flowGraph) Creates an instance of aCallGraphResultrecord class.- Parameters:
callGraph- the value for thecallGraphrecord componentpointerAnalysis- the value for thepointerAnalysisrecord componentflowGraph- the value for theflowGraphrecord component
-
-
Method Details
-
getCallGraph
Deprecated, for removal: This API element is subject to removal in a future version.UsecallGraph()instead -
getPointerAnalysis
@Deprecated(forRemoval=true, since="1.8.0") public PointerAnalysis<ObjectVertex> getPointerAnalysis()Deprecated, for removal: This API element is subject to removal in a future version.UsepointerAnalysis()instead -
getFlowGraph
Deprecated, for removal: This API element is subject to removal in a future version.UseflowGraph()instead -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
callGraph
Returns the value of thecallGraphrecord component.- Returns:
- the value of the
callGraphrecord component
-
pointerAnalysis
Returns the value of thepointerAnalysisrecord component.- Returns:
- the value of the
pointerAnalysisrecord component
-
flowGraph
Returns the value of theflowGraphrecord component.- Returns:
- the value of the
flowGraphrecord component
-
callGraph()instead