The type of the function that is called if an inconsistent project is detected.
Creates a new Project.
Creates a new Project.
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.
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.
If true
then only the public interface
and no private methods or method implementations are available. Otherwise,
the libraries are completely loaded.
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.
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.)
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.
This default handler just "logs" inconsistent project exceptions at the org.opalj.log.Warn level.
Creates a new Project
that consists of the class files of the previous
project and the newly given class files.
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.
Definition of factory methods to create Projects.