Packages

o

org.opalj.tac.fpcf.analyses.cg

FinalizerAnalysisScheduler

object FinalizerAnalysisScheduler extends BasicFPCFTriggeredAnalysisScheduler

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FinalizerAnalysisScheduler
  2. BasicFPCFTriggeredAnalysisScheduler
  3. FPCFTriggeredAnalysisScheduler
  4. FPCFAnalysisScheduler
  5. ComputationSpecification
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type InitializationData = Null

    The type of the data used by the analysis at initialization time.

    The type of the data used by the analysis at initialization time. For analyses without special initialization requirements this type is Null.

    Definition Classes
    BasicFPCFTriggeredAnalysisSchedulerComputationSpecification

Value Members

  1. def afterPhaseCompletion(p: SomeProject, ps: PropertyStore, analysis: FPCFAnalysis): Unit
  2. final def afterPhaseCompletion(ps: PropertyStore, analysis: FPCFAnalysis): Unit

    Called after phase completion.

    Called after phase completion.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  3. def afterPhaseScheduling(ps: PropertyStore, analysis: FPCFAnalysis): Unit

    Called back after all analyses of a specific phase have been schedule (i.e., before calling waitOnPhaseCompletion).

    Called back after all analyses of a specific phase have been schedule (i.e., before calling waitOnPhaseCompletion).

    Definition Classes
    BasicFPCFTriggeredAnalysisSchedulerComputationSpecification
  4. def beforeSchedule(p: SomeProject, ps: PropertyStore): Unit
  5. final def beforeSchedule(ps: PropertyStore): Unit

    Called directly before the analyses belonging to a phase are effectively scheduled.

    Called directly before the analyses belonging to a phase are effectively scheduled. I.e., after phase setup, but potentially after other analyses' beforeSchedule method is called.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  6. final def computationType: ComputationType

    Specifies the kind of the computation that is performed.

    Specifies the kind of the computation that is performed. The kind restricts in which way the analysis is allowed to interact with the property store/other analyses.

    Definition Classes
    FPCFTriggeredAnalysisSchedulerComputationSpecification
  7. def derives: Iterator[PropertyBounds]
    Definition Classes
    ComputationSpecification
  8. def derivesCollaboratively: Set[PropertyBounds]
  9. def derivesEagerly: Set[PropertyBounds]

    Returns the set of property kinds eagerly derived by the underlying analysis.

    Returns the set of property kinds eagerly derived by the underlying analysis.

    Definition Classes
    FinalizerAnalysisSchedulerComputationSpecification
  10. final def derivesLazily: Option[PropertyBounds]

    Returns the kind of the property that is lazily (on-demand) derived.

    Returns the kind of the property that is lazily (on-demand) derived.

    Definition Classes
    FPCFTriggeredAnalysisSchedulerComputationSpecification
  11. def init(p: SomeProject, ps: PropertyStore): Null
  12. final def init(ps: PropertyStore): InitializationData

    Called directly after the analysis is registered with an analysis scheduler; in particular before any analysis belonging to the same analysis scenario is scheduled – independent of the batch in which it will run.

    Called directly after the analysis is registered with an analysis scheduler; in particular before any analysis belonging to the same analysis scenario is scheduled – independent of the batch in which it will run.

    This enables further initialization of the computations that will eventually be executed. For example to initialize global configuration information.

    A computation specification does not have to call any methods of the property store that may trigger or schedule computations; i.e., it must – in particular – not call the methods apply, schedule*, register* or waitOnPhaseCompletion.

    returns

    The initialization data that is later on passed to schedule.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
  13. def name: String

    Identifies this computation specification; typically the name of the class which implements the underlying analysis.

    Identifies this computation specification; typically the name of the class which implements the underlying analysis.

    The default name is the name of this class.

    This method should be overridden.

    Definition Classes
    ComputationSpecification
  14. def register(p: SomeProject, ps: PropertyStore, unused: Null): FinalizerAnalysis

    Called when a schedule is executed and when this analysis shall register itself with the property store using org.opalj.fpcf.PropertyStore#registerTriggeredComputation.

    Called when a schedule is executed and when this analysis shall register itself with the property store using org.opalj.fpcf.PropertyStore#registerTriggeredComputation. This method is typically called by the org.opalj.br.fpcf.FPCFAnalysesManager.

    Definition Classes
    FinalizerAnalysisSchedulerFPCFTriggeredAnalysisScheduler
    Note

    This analysis must not call registerLazyPropertyComputation or a variant of scheduleEagerComputationForEntity.

  15. final def register(project: SomeProject, i: InitializationData): FPCFAnalysis
  16. def requiredProjectInformation: ProjectInformationKeys

    Returns all org.opalj.br.analyses.ProjectInformationKeys required by the analyses.

    Returns all org.opalj.br.analyses.ProjectInformationKeys required by the analyses.

    This information is in particular required by keys which - when the key is computed - make use of other keys which are not statically known at compile time. If a single key that is (transitively) used is not correctly listed, a deadlock will _always_ occur.

    Definition Classes
    FinalizerAnalysisSchedulerFPCFAnalysisScheduler
  17. final def schedule(ps: PropertyStore, i: InitializationData): FPCFAnalysis

    Called by the scheduler to let the analysis register itself or to start execution.

    Called by the scheduler to let the analysis register itself or to start execution.

    Definition Classes
    FPCFTriggeredAnalysisSchedulerComputationSpecification
  18. def toString(): String
    Definition Classes
    ComputationSpecification → AnyRef → Any
  19. def toString(ps: PropertyStore): String
    Definition Classes
    ComputationSpecification
  20. def triggeredBy: PropertyKind

    Specifies the kind of the properties that will trigger the analysis to be registered.

    Specifies the kind of the properties that will trigger the analysis to be registered.

    Definition Classes
    FinalizerAnalysisSchedulerFPCFTriggeredAnalysisScheduler
  21. final val uniqueId: Int

    The unique id of this factory.

    The unique id of this factory.

    Every factory for a specific analysis is automatically associated with a unique id.

    Definition Classes
    FPCFAnalysisScheduler
  22. def uses: Set[PropertyBounds]

    The uses that are configuration independent.

    The uses that are configuration independent.

    Definition Classes
    FinalizerAnalysisSchedulerFPCFAnalysisScheduler
  23. def uses(p: SomeProject, ps: PropertyStore): Set[PropertyBounds]

    The uses that are configuration (project) dependent.

    The uses that are configuration (project) dependent.

    Definition Classes
    FPCFAnalysisScheduler
  24. final def uses(ps: PropertyStore): Set[PropertyBounds]

    Returns the kinds of properties which are queried by this analysis.

    Returns the kinds of properties which are queried by this analysis.

    Definition Classes
    FPCFAnalysisSchedulerComputationSpecification
    Note

    This set consists only of property kinds which are directly used by the analysis.

    ,

    Self usages should also be documented.

    ,

    This method is called after org.opalj.fpcf.ComputationSpecification#init(ps:org\.opalj\.fpcf\.PropertyStore)* was called for all analyses belonging to an analysis scenario. (E.g., it can be used to collect the set of used property bounds based on the configuration choices made in other analyses.)