Packages

sealed abstract class VirtualSourceElement extends SourceElement with Ordered[VirtualSourceElement]

A VirtualSourceElement is the representation of some source element that may be detached from the concrete source element that represents the implementation; that is, the virtual source element may not have a reference to the concrete element.

Source
VirtualSourceElement.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VirtualSourceElement
  2. Ordered
  3. Comparable
  4. SourceElement
  5. CommonSourceElementAttributes
  6. CommonAttributes
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def classType: ReferenceType

    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.

  2. abstract def compare(that: VirtualSourceElement): Int

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

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

    Definition Classes
    VirtualSourceElement → Ordered
  3. abstract def getLineNumber(project: ClassFileRepository): Option[Int]

    Returns the best line number information available.

  4. abstract def toJava: String

Concrete 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  15. 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
  16. def compareTo(that: VirtualSourceElement): Int
    Definition Classes
    Ordered → Comparable
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def foreachTypeAnnotation[U](f: (TypeAnnotation) => U): Unit
    Definition Classes
    CommonAttributes
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. def isClass: Boolean
    Definition Classes
    SourceElement
  23. 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
  24. def isField: Boolean
    Definition Classes
    SourceElement
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isMethod: Boolean
    Definition Classes
    SourceElement
  27. 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
  28. final def isVirtual: Boolean
    Definition Classes
    VirtualSourceElementSourceElement
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. def runtimeInvisibleAnnotations: Annotations
  33. def runtimeInvisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  34. def runtimeVisibleAnnotations: Annotations
  35. def runtimeVisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. 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 Ordered[VirtualSourceElement]

Inherited from SourceElement

Inherited from CommonAttributes

Inherited from AnyRef

Inherited from Any

Ungrouped