Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package opalj

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode.

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode. OPAL is designed with performance, scalability and adaptability in mind.

    Its main components are:

    • a library (Common) which provides generally useful data-structures and algorithms for static analyses.
    • a framework for implementing lattice based static analyses (Static Analysis Infrastructure)
    • a framework for parsing Java bytecode (Bytecode Infrastructure) that can be used to create arbitrary representations.
    • a library to create a one-to-one in-memory representation of Java bytecode (Bytecode Disassembler).
    • a library to create a representation of Java bytecode that facilitates writing simple static analyses (Bytecode Representation - org.opalj.br).
    • a scalable, easily customizable framework for the abstract interpretation of Java bytecode (Abstract Interpretation Framework - org.opalj.ai).
    • a library to extract dependencies between code elements and to facilitate checking architecture definitions.
    • a library for the lightweight manipulation and creation of Java bytecode (Bytecode Assembler).

    General Design Decisions

    Thread Safety

    Unless explicitly noted, OPAL is thread safe. I.e., the classes defined by OPAL can be considered to be thread safe unless otherwise stated. (For example, it is possible to read and process class files concurrently without explicit synchronization on the client side.)

    No null Values

    Unless explicitly noted, OPAL does not null values I.e., fields that are accessible will never contain null values and methods will never return null. If a method accepts null as a value for a parameter or returns a null value it is always explicitly documented. In general, the behavior of methods that are passed null values is undefined unless explicitly documented.

    No Typecasts for Collections

    For efficiency reasons, OPAL sometimes uses mutable data-structures internally. After construction time, these data-structures are generally represented using their generic interfaces (e.g., scala.collection.{Set,Map}). However, a downcast (e.g., to add/remove elements) is always forbidden as it would effectively prevent thread-safety.

    Assertions

    OPAL makes heavy use of Scala's Assertion Facility to facilitate writing correct code. Hence, for production builds (after thorough testing(!)) it is highly recommend to build OPAL again using -Xdisable-assertions.

    Definition Classes
    org
  • package ba

    Implementation of an eDSL for creating Java bytecode.

    Implementation of an eDSL for creating Java bytecode. The eDSL is designed to facilitate the creation of correct class files; i.e., whenever possible it tries to fill wholes. For example, when an interface is specified the library automatically ensures that the super class type is (initially) set to java.lang.Object as required by the JVM specification.

    This package in particular provides functionality to convert org.opalj.br classes to org.opalj.da classes.

    Definition Classes
    opalj
  • AccessModifier
  • AnnotatedInstructionElement
  • BRConstantsBuffer
  • CATCH
  • CLASS
  • CODE
  • CodeAttributeBuilder
  • CodeElement
  • EXCEPTIONS
  • ExceptionHandlerElement
  • ExceptionHandlerTableBuilder
  • FIELD
  • FIELDS
  • InsertionPosition
  • InstructionElement
  • InstructionLikeElement
  • LINENUMBER
  • LabelElement
  • LabeledCode
  • LineNumberTableBuilder
  • METHOD
  • METHODS
  • PCMapping
  • ProjectBasedInMemoryClassLoader
  • PseudoInstruction
  • TRY
  • TRYEND
  • ToDAConfig
c

org.opalj.ba

ProjectBasedInMemoryClassLoader

class ProjectBasedInMemoryClassLoader extends ClassLoader

A simple ClassLoader that looks-up the available classes from the given org.opalj.br.analyses.Project.

Source
ProjectBasedClassLoader.scala
Linear Supertypes
ClassLoader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectBasedInMemoryClassLoader
  2. ClassLoader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProjectBasedInMemoryClassLoader(project: ClassFileRepository, parent: ClassLoader = classOf[ProjectBasedInMemoryClassLoader].getClassLoader)

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 def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearAssertionStatus(): Unit
    Definition Classes
    ClassLoader
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  8. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: ProtectionDomain): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  9. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  10. def definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def findClass(name: String): Class[_]
    Definition Classes
    ProjectBasedInMemoryClassLoader → ClassLoader
    Annotations
    @throws(scala.this.throws.<init>$default$1[ClassNotFoundException])
  14. def findClass(arg0: String, arg1: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  15. def findLibrary(arg0: String): String
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  16. final def findLoadedClass(arg0: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  17. def findResource(arg0: String): URL
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  18. def findResource(arg0: String, arg1: String): URL
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.io.IOException])
  19. def findResources(arg0: String): Enumeration[URL]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.io.IOException])
  20. final def findSystemClass(arg0: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. def getClassLoadingLock(arg0: String): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  23. final def getDefinedPackage(arg0: String): Package
    Definition Classes
    ClassLoader
  24. final def getDefinedPackages(): Array[Package]
    Definition Classes
    ClassLoader
  25. def getName(): String
    Definition Classes
    ClassLoader
  26. def getPackages(): Array[Package]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  27. final def getParent(): ClassLoader
    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  28. def getResource(arg0: String): URL
    Definition Classes
    ClassLoader
  29. def getResourceAsStream(arg0: String): InputStream
    Definition Classes
    ClassLoader
  30. def getResources(arg0: String): Enumeration[URL]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.io.IOException])
  31. final def getUnnamedModule(): Module
    Definition Classes
    ClassLoader
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def isRegisteredAsParallelCapable(): Boolean
    Definition Classes
    ClassLoader
  35. def loadClass(arg0: String, arg1: Boolean): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  36. def loadClass(arg0: String): Class[_ <: AnyRef]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. val project: ClassFileRepository
  41. final def resolveClass(arg0: Class[_ <: AnyRef]): Unit
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  42. def resources(arg0: String): Stream[URL]
    Definition Classes
    ClassLoader
  43. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  44. def setDefaultAssertionStatus(arg0: Boolean): Unit
    Definition Classes
    ClassLoader
  45. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  46. final def setSigners(arg0: Class[_ <: AnyRef], arg1: Array[AnyRef]): Unit
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. final def defineClass(arg0: Array[Byte], arg1: Int, arg2: Int): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError]) @Deprecated
    Deprecated
  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  3. def getPackage(arg0: String): Package
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated
    Deprecated

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped