Class

org.opalj.ai.analyses.cg

CallGraph

Related Doc: package cg

Permalink

class CallGraph extends AnyRef

Basic representation of a (calculated) call graph.

Terminology

A method that calls another method is referred to as the caller. The method that is called is called the callee. Hence, a caller calls a callee.

Thread Safety

The call graph is effectively immutable and can be accessed by multiple threads concurrently. Calls will never block.

Call Graph Construction

The call graph is constructed by the CallGraphFactory.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CallGraph
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to any2stringadd[CallGraph] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CallGraph, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to ArrowAssoc[CallGraph] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def callEdgesCount: Int

    Permalink
  8. def callSites: Int

    Permalink
  9. def calledBy(method: Method): Map[Method, br.PCs]

    Permalink

    Returns the invoke instructions (by means of (Method,PC) pairs) that call the given method.

    Returns the invoke instructions (by means of (Method,PC) pairs) that call the given method. If this method is not called by any other method an empty map is returned.

  10. def calledByCount: Int

    Permalink

    Number of methods that are called by at least one other method.

  11. def calledByEdgesCount: Int

    Permalink
  12. def calledByStatistics(maxNumberOfResults: Int = 65536): String

    Permalink

    Statistics about the number of methods that potentially call a specific method.

    Statistics about the number of methods that potentially call a specific method. (TSV format (tab-separated file) - can easily be read by most spreadsheet applications).

  13. def calls(method: Method): Map[br.PC, Iterable[Method]]

    Permalink

    Returns the methods that are called by the invoke instructions of the given method.

    Returns the methods that are called by the invoke instructions of the given method.

    If this method does not call any methods an empty map is returned.

  14. def calls(method: Method, pc: br.PC): Iterable[Method]

    Permalink

    Returns the methods that are potentially invoked by the invoke instruction identified by the (method,pc) pair.

    Returns the methods that are potentially invoked by the invoke instruction identified by the (method,pc) pair.

    If the project is incomplete the iterable may be empty!

  15. def callsCount: Int

    Permalink

    Number of methods that call at least one other method.

  16. def callsStatistics(maxNumberOfResults: Int = 65534): String

    Permalink

    Statistics about the number of potential targets per call site.

    Statistics about the number of potential targets per call site. (TSV format (tab-separated file) - can easily be read by most spreadsheet applications).

  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def ensuring(cond: (CallGraph) ⇒ Boolean, msg: ⇒ Any): CallGraph

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to Ensuring[CallGraph] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (CallGraph) ⇒ Boolean): CallGraph

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to Ensuring[CallGraph] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): CallGraph

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to Ensuring[CallGraph] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): CallGraph

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to Ensuring[CallGraph] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def foreachCalledByMethod[U](f: (Method, Map[Method, br.PCs]) ⇒ U): Unit

    Permalink

    Calls the function f for each method that is called by some other method.

  26. def foreachCallingMethod[U](f: (Method, Map[br.PC, Iterable[Method]]) ⇒ U): Unit

    Permalink

    Calls the function f for each method that calls some other method.

  27. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to StringFormat[CallGraph] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. val project: SomeProject

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (CallGraph, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallGraph to ArrowAssoc[CallGraph] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CallGraph to any2stringadd[CallGraph]

Inherited by implicit conversion StringFormat from CallGraph to StringFormat[CallGraph]

Inherited by implicit conversion Ensuring from CallGraph to Ensuring[CallGraph]

Inherited by implicit conversion ArrowAssoc from CallGraph to ArrowAssoc[CallGraph]

Ungrouped