Packages

c

org.opalj.br

VirtualClass

final case class VirtualClass(thisType: ObjectType) extends VirtualSourceElement with Product with Serializable

Represents a class for which we have found some references but have not analyzed any class file or do not want to keep the reference to the underlying class file.

Source
VirtualSourceElement.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VirtualClass
  2. Serializable
  3. Product
  4. Equals
  5. VirtualSourceElement
  6. Ordered
  7. Comparable
  8. SourceElement
  9. CommonSourceElementAttributes
  10. CommonAttributes
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new VirtualClass(thisType: ObjectType)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  4. def <=(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  7. def >=(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  8. def annotations: Annotations

    The list of all annotations.

    The list of all annotations. In general, if a specific annotation is searched for the method runtimeVisibleAnnotations or runtimeInvisibleAnnotations should be used.

    Definition Classes
    CommonSourceElementAttributes
  9. def asClassFile: ClassFile
    Definition Classes
    SourceElement
  10. def asField: Field
    Definition Classes
    SourceElement
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asMethod: Method
    Definition Classes
    SourceElement
  13. def attributes: Attributes
  14. def classType: ObjectType

    Returns the declared/declaring class type of this VirtualSourceElement.

    Returns the declared/declaring class type of this VirtualSourceElement. If this VirtualSourceElement is a VirtualClass, the returned type is the declared class else it is the declaring class.

    Definition Classes
    VirtualClassVirtualSourceElement
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  16. def compare(that: VirtualSourceElement): Int

    The "natural order" is VirtualClasses < VirtualFields < VirtualMethods.

    The "natural order" is VirtualClasses < VirtualFields < VirtualMethods.

    Definition Classes
    VirtualClassVirtualSourceElement → Ordered
  17. def compareAttributes(other: Attributes, config: SimilarityTestConfiguration): Option[AnyRef]

    Compares this element's attributes with the given one.

    Compares this element's attributes with the given one.

    returns

    None, if both attribute lists are similar; Some(<description of the difference>) otherwise.

    Attributes
    protected[this]
    Definition Classes
    CommonAttributes
  18. def compareTo(that: VirtualSourceElement): Int
    Definition Classes
    Ordered → Comparable
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(other: Any): Boolean

    Two objects of type VirtualClass are considered equal if they represent the same type.

    Two objects of type VirtualClass are considered equal if they represent the same type.

    Definition Classes
    VirtualClass → Equals → AnyRef → Any
  21. final def foreachTypeAnnotation[U](f: (TypeAnnotation) => U): Unit
    Definition Classes
    CommonAttributes
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  23. def getLineNumber(project: ClassFileRepository): Option[Int]

    Returns the best line number information available.

    Returns the best line number information available.

    Definition Classes
    VirtualClassVirtualSourceElement
  24. def hashCode(): Int
    Definition Classes
    VirtualClass → AnyRef → Any
  25. def isClass: Boolean
    Definition Classes
    VirtualClassSourceElement
  26. def isDeprecated: Boolean

    Returns true if this (field, method, class) declaration is declared as deprecated.

    Returns true if this (field, method, class) declaration is declared as deprecated.

    Note

    The deprecated attribute is always set by the Java compiler when either the deprecated annotation or the JavaDoc tag is used.

    Definition Classes
    CommonSourceElementAttributes
  27. def isField: Boolean
    Definition Classes
    SourceElement
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isMethod: Boolean
    Definition Classes
    SourceElement
  30. def isSynthetic: Boolean

    True if this element was created by the compiler and the attribute Synthetic is present.

    True if this element was created by the compiler and the attribute Synthetic is present. Compilers are, however, free to use the attribute or the corresponding access flag.

    Definition Classes
    CommonSourceElementAttributes
  31. final def isVirtual: Boolean
    Definition Classes
    VirtualSourceElementSourceElement
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. def runtimeInvisibleAnnotations: Annotations
  37. def runtimeInvisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  38. def runtimeVisibleAnnotations: Annotations
  39. def runtimeVisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. val thisType: ObjectType
  42. def toJava: String
    Definition Classes
    VirtualClassVirtualSourceElement
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from VirtualSourceElement

Inherited from Ordered[VirtualSourceElement]

Inherited from SourceElement

Inherited from CommonAttributes

Inherited from AnyRef

Inherited from Any

Ungrouped