Packages

c

org.opalj.tac.fpcf.analyses

FieldLocalityAnalysis

class FieldLocalityAnalysis extends FPCFAnalysis

Determines whether the lifetime of a reference type field is the same as that of its owning instance. Base type fields are treated as local for convenience, but this should never be required anyway.

Source
FieldLocalityAnalysis.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldLocalityAnalysis
  2. FPCFAnalysis
  3. ProjectBasedAnalysis
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type V = DUVar[ValueInformation]

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. def allSubclassMethods(field: Field): Set[Method]

    All methods from all subclasses (including the declaring class) of the fields declaring class.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def ch: ClassHierarchy
    Definition Classes
    ProjectBasedAnalysis
  7. implicit final def classHierarchy: ClassHierarchy
    Definition Classes
    ProjectBasedAnalysis
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. implicit final val declaredMethods: DeclaredMethods
  10. final val definitionSites: DefinitionSites
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final val fieldAccessInformation: FieldAccessInformation
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def getTACAIAndCallers(method: Method, pcs: Option[PCs])(implicit state: FieldLocalityState): Option[(TACode[TACMethodParameter, V], Callers)]

    Returns the TACode for a method if available, registering dependencies as necessary.

  16. def handleCallSite(caller: DeclaredMethod, pc: Int)(implicit state: FieldLocalityState): Boolean

    Handles the influence of a call site on the field locality.

    Handles the influence of a call site on the field locality.

    returns

    false if the field may still be local, true otherwise.

    Note

    Adds dependees as necessary.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def isClone(method: Method): Boolean

    Determines if the given method implements clone.

  19. def isCloneable(tpe: ObjectType): Boolean

    Determines whether a type is (potentially) cloneable.

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit final def logContext: LogContext
    Definition Classes
    ProjectBasedAnalysis
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. implicit final def p: SomeProject
    Definition Classes
    ProjectBasedAnalysis
  26. final val project: SomeProject
  27. implicit final val propertyStore: PropertyStore
    Definition Classes
    FPCFAnalysis
  28. final def ps: PropertyStore
    Definition Classes
    FPCFAnalysis
  29. def step1(field: Field): ProperPropertyComputationResult

    Checks if the field locality can be determined trivially.

    Checks if the field locality can be determined trivially. Otherwise it forwards to FieldLocalityAnalysis.step2.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final val typeExtensiblity: (ObjectType) => Answer
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from FPCFAnalysis

Inherited from ProjectBasedAnalysis

Inherited from AnyRef

Inherited from Any

Ungrouped