Object/Class

org.opalj.br.analyses

Project

Related Docs: class Project | package analyses

Permalink

object Project

Definition of factory methods to create Projects.

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

Type Members

  1. type HandleInconsistenProject = (LogContext, InconsistentProjectException) ⇒ Unit

    Permalink

    The type of the function that is called if an inconsistent project is detected.

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. lazy val Java8ClassFileReader: Java8FrameworkWithCaching

    Permalink
  5. lazy val Java8LibraryClassFileReader: Java8LibraryFrameworkWithCaching

    Permalink
  6. def apply[Source](projectClassFilesWithSources: Traversable[(ClassFile, Source)], libraryClassFilesWithSources: Traversable[(ClassFile, Source)], libraryClassFilesAreInterfacesOnly: Boolean, virtualClassFiles: Traversable[ClassFile] = Traversable.empty, handleInconsistentProject: HandleInconsistenProject = ...)(implicit config: Config = ConfigFactory.load(), projectLogger: OPALLogger = OPALLogger.globalLogger()): Project[Source]

    Permalink

    Creates a new Project.

    Creates a new Project.

    projectClassFilesWithSources

    The list of class files of this project that are considered to belong to the application/library that will be analyzed. [Thread Safety] The underlying data structure has to support concurrent access.

    libraryClassFilesWithSources

    The list of class files of this project that make up the libraries used by the project that will be analyzed. [Thread Safety] The underlying data structure has to support concurrent access.

    libraryClassFilesAreInterfacesOnly

    If true then only the public interface and no private methods or method implementations are available. Otherwise, the libraries are completely loaded.

    virtualClassFiles

    A list of virtual class files that have no direct representation in the project. Such declarations are created, e.g., to handle invokedynamic instructions. In general, such class files should be added using projectClassFilesWithSources and the Source should be the file that was the reason for the creation of this additional ClassFile. [Thread Safety] The underlying data structure has to support concurrent access.

    handleInconsistentProject

    A function that is called back if the project is not consistent. The default behavior (defaultHandlerForInconsistentProjects) is to write a warning message to the console. Alternatively it is possible to throw the given exception to cancel the loading of the project (which is the only meaningful option for several advanced analyses.)

  7. def apply[Source](projectClassFilesWithSources: Traversable[(ClassFile, Source)], libraryClassFilesWithSources: Traversable[(ClassFile, Source)], libraryClassFilesAreInterfacesOnly: Boolean): Project[Source]

    Permalink
  8. def apply(projectFiles: Array[File], libraryFiles: Array[File]): Project[URL]

    Permalink
  9. def apply(projectFile: File, libraryFile: File): Project[URL]

    Permalink
  10. def apply[Source](projectClassFilesWithSources: Traversable[(ClassFile, Source)], projectLogger: OPALLogger): Project[Source]

    Permalink
  11. def apply[Source](projectClassFilesWithSources: Traversable[(ClassFile, Source)]): Project[Source]

    Permalink
  12. def apply(file: File, projectLogger: OPALLogger): Project[URL]

    Permalink
  13. def apply(file: File): Project[URL]

    Permalink

    Given a reference to a class file, jar file or a folder containing jar and class files, all class files will be loaded and a project will be returned.

    Given a reference to a class file, jar file or a folder containing jar and class files, all class files will be loaded and a project will be returned.

    The global logger will be used for logging messages.

  14. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def defaultHandlerForInconsistentProjects(logContext: LogContext, ex: InconsistentProjectException): Unit

    Permalink

    This default handler just "logs" inconsistent project exceptions at the org.opalj.log.Warn level.

  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def extend[Source](project: Project[Source], projectClassFilesWithSources: Iterable[(ClassFile, Source)]): Project[Source]

    Permalink

    Creates a new Project that consists of the class files of the previous project and the newly given class files.

  20. def extend(project: Project[URL], file: File): Project[URL]

    Permalink
  21. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def recreate[Source](project: Project[Source], config: Config, useOldConfigAsFallback: Boolean = true): Project[Source]

    Permalink

    Creates a new Project that consists of the source files of the previous project and uses the (new) configuration.

    Creates a new Project that consists of the source files of the previous project and uses the (new) configuration. The old project configuration is by default used as fallback, so not all values have to be updated.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped