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 issues

    Defines implicit conversions to wrap some types of analyses such that they generate results of type org.opalj.br.analyses.ReportableAnalysisResult.

    Defines implicit conversions to wrap some types of analyses such that they generate results of type org.opalj.br.analyses.ReportableAnalysisResult.

    Definition Classes
    opalj
  • ClassComprehension
  • ClassLocation
  • CodeComprehension
  • FieldLocation
  • FieldValues
  • InstructionLocation
  • Issue
  • IssueCategory
  • IssueDetails
  • IssueDetailsWrites
  • IssueKind
  • IssueLocation
  • IssueLocationWrites
  • IssueOrdering
  • IssueRepresentations
  • LocalVariables
  • MethodComprehension
  • MethodLocation
  • MethodReturnValues
  • Operands
  • PCLineComprehension
  • PackageLocation
  • ProjectLocation
  • Relevance
  • RelevanceWrites
c

org.opalj.issues

FieldLocation

class FieldLocation extends ClassLocation

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldLocation
  2. ClassLocation
  3. ClassComprehension
  4. PackageLocation
  5. ProjectLocation
  6. IssueLocation
  7. Comparable
  8. IssueRepresentations
  9. ReportableAnalysisResult
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FieldLocation(description: Option[String], theProject: SomeProject, classFile: ClassFile, field: Field, details: Seq[IssueDetails] = List.empty)

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. val classFile: ClassFile
    Definition Classes
    ClassLocationClassComprehension
  6. def classFileFQN: String
    Definition Classes
    ClassComprehension
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def compareTo(other: IssueLocation): Int
    Definition Classes
    ProjectLocationIssueLocation → Comparable
  9. val description: Option[String]

    The description of the issue with respect to the given location.

    The description of the issue with respect to the given location.

    Definition Classes
    ProjectLocationIssueLocation
  10. def descriptionAsXHTML: List[Node]
    Definition Classes
    PackageLocation
  11. val details: Seq[IssueDetails]
    Definition Classes
    ProjectLocation
  12. def detailsAsIDL: JsValue
    Definition Classes
    PackageLocation
  13. def detailsAsXHTML(basicInfoOnly: Boolean): List[Node]
    Definition Classes
    PackageLocation
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. val field: Field
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def locationAsIDL: JsObject
    Definition Classes
    ClassLocationPackageLocation
  21. def locationAsInlineXHTML(basicInfoOnly: Boolean): List[Node]
    Definition Classes
    ClassLocationPackageLocation
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. val thePackage: String
    Definition Classes
    PackageLocation
  27. val theProject: SomeProject
    Definition Classes
    ProjectLocation
  28. def toAnsiColoredString: String

    Representation of this issue well suited for console output if the console supports ANSI color escapes.

    Representation of this issue well suited for console output if the console supports ANSI color escapes.

    If you are generating output related to (a line in) a class file, use a format as used by other compilers, e.g., CLANG and GCC:

    FILENAME:[LINE:[COLUMN:]] TYPE: MESSAGE
    
    where FILENAME denotes the name of the file, LINE is the line number if available, COLUMN is the column – which is usually not available when you analyze class files and TYPE identifies the type of the message (e.g., "note", "warning", "error", "fatal error").

    Line and column information is optional.

    If the real filename is not available use the fully qualified name of the class in binary notation (i.e., using "/" to separate the package qualifiers) with the suffice ".class" appended.

    Note that the space after the location information is required.

    Example

    demo/Buggy.class:100: warning: protected field in final class
    

    Definition Classes
    ClassLocationProjectLocationIssueRepresentations
  29. def toConsoleString: String

    A basic representation of this issue well suited for console output.

    A basic representation of this issue well suited for console output.

    Definition Classes
    IssueRepresentationsReportableAnalysisResult
  30. def toEclipseConsoleString: String

    A representation of this issue well suited for output to the Eclipse IDE console.

    A representation of this issue well suited for output to the Eclipse IDE console.

    Definition Classes
    ProjectLocationIssueRepresentations
  31. final def toIDL: JsValue

    A representation of this issue using the Issues Description Language (which is a JSON dialect.)

    A representation of this issue using the Issues Description Language (which is a JSON dialect.)

    Definition Classes
    PackageLocationIssueRepresentations
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def toXHTML(basicInfoOnly: Boolean): Node

    An (x)HTML5 representation of the issue, well suited for browser output.

    An (x)HTML5 representation of the issue, well suited for browser output.

    Definition Classes
    PackageLocationIssueRepresentations
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ClassLocation

Inherited from ClassComprehension

Inherited from PackageLocation

Inherited from ProjectLocation

Inherited from IssueLocation

Inherited from Comparable[IssueLocation]

Inherited from IssueRepresentations

Inherited from AnyRef

Inherited from Any

Ungrouped