Trait

org.opalj.fpcf.properties

TypeExtensibilityPropertyMetaInformation

Related Doc: package properties

Permalink

sealed trait TypeExtensibilityPropertyMetaInformation extends PropertyMetaInformation

This property describes if a type (class, interface) is further extensible by yet unknown types (that is, can be (transitively) inherited from). This property generally depends on the kind of the project. If the project is an application, all classes are considered to be closed unless we explicitly know that some specific classes/ interfaces are used in combination with class loading to load new (unknown) classes at runtime. I.e., the class hierarchy is basically considered to be fixed; if the analyzed project is a library then the result depends on the concrete assumption about the openness of the library.

Extensibility w.r.t. the open-packages assumption

A class is extensible if:

Extensibility w.r.t. the closed-packages assumption

A class is extensible if:

Special cases

If a class is defined in a package starting with java.*, it always has to be treated like classes that are analyzed w.r.t. to closed-packages assumption. This is necessary because the default ClassLoader prevents the definition of further classes within these packages, hence, they are closed by definition.

If the analyzed codebase has an incomplete type hierarchy which leads to unknown subtype relationships, it is necessary to add these particular classes to the computed set of extensible classes.

Linear Supertypes
PropertyMetaInformation, PropertyKind, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeExtensibilityPropertyMetaInformation
  2. PropertyMetaInformation
  3. PropertyKind
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = TypeExtensibility

    Permalink
    Definition Classes
    TypeExtensibilityPropertyMetaInformation → PropertyMetaInformation

Abstract Value Members

  1. abstract def key: PropertyKey[Self]

    Permalink
    Definition Classes
    PropertyMetaInformation

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def id: Int

    Permalink
    Definition Classes
    PropertyMetaInformation → PropertyKind
  12. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PropertyMetaInformation

Inherited from PropertyKind

Inherited from AnyRef

Inherited from Any

Ungrouped