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 Details

    • CallGraphResult

      public CallGraphResult(JSCallGraph callGraph, PointerAnalysis<ObjectVertex> pointerAnalysis, FlowGraph flowGraph)
      Creates an instance of a CallGraphResult record class.
      Parameters:
      callGraph - the value for the callGraph record component
      pointerAnalysis - the value for the pointerAnalysis record component
      flowGraph - the value for the flowGraph record component
  • Method Details

    • getCallGraph

      @Deprecated(forRemoval=true, since="1.8.0") public JSCallGraph getCallGraph()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use callGraph() 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.
      Use pointerAnalysis() instead
    • getFlowGraph

      @Deprecated(forRemoval=true, since="1.8.0") public FlowGraph getFlowGraph()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use flowGraph() instead
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • callGraph

      public JSCallGraph callGraph()
      Returns the value of the callGraph record component.
      Returns:
      the value of the callGraph record component
    • pointerAnalysis

      public PointerAnalysis<ObjectVertex> pointerAnalysis()
      Returns the value of the pointerAnalysis record component.
      Returns:
      the value of the pointerAnalysis record component
    • flowGraph

      public FlowGraph flowGraph()
      Returns the value of the flowGraph record component.
      Returns:
      the value of the flowGraph record component