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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldLocalityAnalysis
  2. FPCFAnalysis
  3. ProjectBasedAnalysis
  4. FPCFAnalysis
  5. ProjectBasedAnalysis
  6. AnyRef
  7. 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 declaredFields: DeclaredFields
  10. implicit final val declaredMethods: DeclaredMethods
  11. final val definitionSites: DefinitionSites
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. 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.

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

    Determines if the given method implements clone.

  18. def isCloneable(tpe: ClassType): Boolean

    Determines whether a type is (potentially) cloneable.

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. implicit final def logContext: LogContext
    Definition Classes
    ProjectBasedAnalysis
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. implicit def p: SomeProject
  25. final val project: SomeProject
  26. implicit final val propertyStore: PropertyStore
    Definition Classes
    FPCFAnalysis
  27. final def ps: PropertyStore
    Definition Classes
    FPCFAnalysis
  28. 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.

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final val typeExtensiblity: (ClassType) => Answer
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. 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
    Deprecated

Inherited from FPCFAnalysis

Inherited from ProjectBasedAnalysis

Inherited from FPCFAnalysis

Inherited from ProjectBasedAnalysis

Inherited from AnyRef

Inherited from Any

Ungrouped