Packages

o

org.opalj.ai.analyses.cg

CallGraphFactory

object CallGraphFactory

Factory object to create call graphs.

Source
CallGraphFactory.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CallGraphFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var annotationsIndicatingImplicitUsage: Set[ObjectType]

    Annotations that are indicating that the code is generally only implicitly called.

    Annotations that are indicating that the code is generally only implicitly called. (E.g., by a container using Java reflection or using runtime generated classes.)

    • javax.annotation.PostConstruct and javax.annotation.PreDestroy are used by enterprise applications to tell the container that these methods should be called at the respective points in time. Such annotations may be used with private methods!
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def create(project: SomeProject, findEntryPoints: () ⇒ Iterable[Method], configuration: CallGraphAlgorithmConfiguration): ComputedCallGraph

    Creates a call graph using the configured call graph algorithm.

    Creates a call graph using the configured call graph algorithm.

    The call graph is created by analyzing each method using a new instance of a domain. Furthermore, the methods are analyzed in parallel. Hence, the call graph algorithm (and its used cache) have to be thread-safe.

  8. var debug: Boolean
  9. def defaultEntryPointsForLibraries(project: SomeProject): Iterable[Method]

    Returns a list of all entry points that is well suited if we want to analyze a library/framework.

    Returns a list of all entry points that is well suited if we want to analyze a library/framework.

    The set of all entry points consists of:

    • all static initializers,
    • every non-private static method,
    • every non-private constructor,
    • every non-private method,
    • every private method (including a default constructor) related to Serialization, even if the respective declaring class is not a current subtype of java.io.Serializable but maybe a subtype later on.
    • every private method that has an annotation that indicates that the method is implicitly called (e.g., using Java Reflection.) Unless, one of the following conditions is met:
    • the method is an instance method, but the class cannot be instantiated (all constructors are private and no factory methods are provided) [we currently ignore self-calls using reflection; this is – however – very unlikely.]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPotentiallySerializationRelated(method: Method)(implicit classHierarchy: ClassHierarchy): Boolean
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped