Packages

object ClassHierarchy

Factory methods for creating ClassHierarchy objects.

Source
ClassHierarchy.scala
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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val JustObject: UIDSet[ObjectType]
  5. lazy val PreInitializedClassHierarchy: ClassHierarchy

    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.

  6. def apply(classFiles: Traversable[ClassFile], typeHierarchyDefinitions: Seq[() ⇒ InputStream] = defaultTypeHierarchyDefinitions)(implicit logContext: LogContext): ClassHierarchy
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  9. def create(classFiles: Traversable[ClassFile], typeDeclarations: Traversable[TypeDeclaration])(implicit logContext: LogContext): ClassHierarchy

    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.

  10. def defaultTypeHierarchyDefinitions(): List[() ⇒ InputStream]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def noDefaultTypeHierarchyDefinitions(): List[() ⇒ InputStream]
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def parseTypeHierarchyDefinition(in: InputStream)(implicit logContext: LogContext): Seq[TypeDeclaration]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped