trait ConfigurationEntryPointsFinder extends EntryPointFinder
This trait provides an analysis that loads entry points from the project configuration file.
All entry points must be configured under the following configuration key: **org.opalj.br.analyses.cg.InitialEntryPointsKey.entryPoints**
Example:
org.opalj.br.analyses.cg {
InitialEntryPointKey {
analysis = "org.opalj.br.analyses.cg.ConfigurationEntryPointsFinder"
entryPoints = [
{declaringClass = "java/util/List+", name = "add"},
{declaringClass = "java/util/List", name = "remove", descriptor = "(I)Z"}
]
}
}Please note that the first entry point, by adding the "+" to the declaring class' name, considers all "add" methods from all subtypes independently from the respective method's descriptor. In contrast, the second entry does specify a descriptor and does not consider List's subtypes (by not suffixing a plus to the declaringClass) which implies that only the remove method with this descriptor is considered as entry point.
- Source
- EntryPointFinder.scala
- Alphabetic
- By Inheritance
- ConfigurationEntryPointsFinder
- EntryPointFinder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def collectEntryPoints(project: SomeProject): Iterable[DeclaredMethod]
Returns the set of entry points for a given project under analysis.
Returns the set of entry points for a given project under analysis. Entry points may be virtual, if they are defined by the configuration but not contained in the project.
- project
The concrete project for which to compute entry points
- returns
Set of entry points to the project
- Definition Classes
- ConfigurationEntryPointsFinder → EntryPointFinder
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def requirements(project: SomeProject): ProjectInformationKeys
Returns ProjectInformationKeys required by this EntryPointFinder If no extra keys are required,
Nilcan be returned.Returns ProjectInformationKeys required by this EntryPointFinder If no extra keys are required,
Nilcan be returned.- project
The concrete project for which to compute requirements
- returns
The set of required project information key
- Definition Classes
- EntryPointFinder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated