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
Linear Supertypes
Serializable, Serializable, Product, Equals, VirtualSourceElement, Ordered[VirtualSourceElement], Comparable[VirtualSourceElement], SourceElement, CommonSourceElementAttributes, CommonAttributes, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VirtualClass
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. VirtualSourceElement
  7. Ordered
  8. Comparable
  9. SourceElement
  10. CommonSourceElementAttributes
  11. CommonAttributes
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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
    Definition Classes
    VirtualSourceElementCommonAttributes
  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( ... ) @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[_]
    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 runtimeInvisibleAnnotations: Annotations
  36. def runtimeInvisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  37. def runtimeVisibleAnnotations: Annotations
  38. def runtimeVisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. val thisType: ObjectType
  41. def toJava: String
    Definition Classes
    VirtualClassVirtualSourceElement
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 Serializable

Inherited from Product

Inherited from Equals

Inherited from VirtualSourceElement

Inherited from Ordered[VirtualSourceElement]

Inherited from Comparable[VirtualSourceElement]

Inherited from SourceElement

Inherited from CommonAttributes

Inherited from AnyRef

Inherited from Any

Ungrouped