Object/Class

org.opalj.br

ClassHierarchy

Related Docs: class ClassHierarchy | package br

Permalink

object ClassHierarchy

Factory methods for creating ClassHierarchy objects.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ClassHierarchy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. def apply(classFiles: Traversable[ClassFile], typeHierarchyDefinitions: Seq[() ⇒ InputStream] = ...)(implicit logContext: LogContext): ClassHierarchy

    Permalink

    Creates the class hierarchy by analyzing the given class files, the predefined type declarations, and the specified predefined class hierarchies.

    Creates the class hierarchy by analyzing the given class files, the predefined type declarations, and the specified predefined class hierarchies.

    By default the class hierarchy related to the exceptions thrown by bytecode instructions are predefined as well as the class hierarchy related to the main classes of the JDK. See the file ClassHierarchyJVMExceptions.ths, ClassHierarchyJLS.ths and ClassHierarchyJava7-java.lang.reflect.ths (text files) for further details.

    Basically, only the part of a project's class hierarchy is reified that is referred to in the class declarations of the analyzed classes I.e., those classes which are directly referred to in class declarations, but for which the respective class file was not analyzed, are also considered to be visible and are integrated in the class hierarchy. However, types only referred to in the body of a method, but for which neither the defining class file is analyzed nor a class exists that inherits from them are not integrated. For example, if the class file of the class java.util.ArrayList is analyzed, then the class hierarchy will have some information about, e.g., java.util.List from which ArrayList inherits. However, the information about List is incomplete and List will be a boundary class unless we also analyze the class file that defines java.util.List.

  5. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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. def preInitializedClassHierarchy: ClassHierarchy

    Permalink

    Creates a ClassHierarchy that captures the type hierarchy related to the exceptions thrown by specific Java bytecode instructions as well as fundamental types such as Cloneable and Serializable and also those types related to reflection..

    Creates a ClassHierarchy that captures the type hierarchy related to the exceptions thrown by specific Java bytecode instructions as well as fundamental types such as Cloneable and Serializable and also those types related to reflection..

    This class hierarchy is primarily useful for testing purposes.

  17. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped