class OpenCodeBase extends ClosedPackages
A conservative ClosedPackages analysis which considers all packages
(except of those starting with java
) as being open. The java.*
packages are protected
by the JVM itself.
This analysis can safely be used by every analysis, but - depending on the context -
may result in imprecise analysis results.
To use this analysis set the config key:
org.opalj.br.analyses.cg.ClosedPackagesKey.analysis
to
org.opalj.br.analyses.cg.OpenCodeBase
- Source
- ClosedPackages.scala
- Alphabetic
- By Inheritance
- OpenCodeBase
- ClosedPackages
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OpenCodeBase(project: SomeProject)
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
- def andThen[A](g: (Boolean) => A): (String) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def apply(packageName: String): Boolean
Returns
true
if the package with the given name is closed.Returns
true
if the package with the given name is closed.- Definition Classes
- ClosedPackages → Function1
- 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 compose[A](g: (A) => String): (A) => Boolean
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- 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()
- def isClosed(packageName: String): Boolean
- Definition Classes
- OpenCodeBase → ClosedPackages
- 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()
- val project: SomeProject
- Definition Classes
- OpenCodeBase → ClosedPackages
- implicit def projectLogContext: LogContext
- Definition Classes
- ClosedPackages
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → 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