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.
- Alphabetic
- By Inheritance
- VirtualClass
- Serializable
- Product
- Equals
- VirtualSourceElement
- Ordered
- Comparable
- SourceElement
- CommonSourceElementAttributes
- CommonAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VirtualClass(thisType: ObjectType)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def <(that: VirtualSourceElement): Boolean
- Definition Classes
- Ordered
- def <=(that: VirtualSourceElement): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: VirtualSourceElement): Boolean
- Definition Classes
- Ordered
- def >=(that: VirtualSourceElement): Boolean
- Definition Classes
- Ordered
- 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
- def asClassFile: ClassFile
- Definition Classes
- SourceElement
- def asField: Field
- Definition Classes
- SourceElement
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMethod: Method
- Definition Classes
- SourceElement
- def attributes: Attributes
- Definition Classes
- VirtualSourceElement → CommonAttributes
- def classType: ObjectType
Returns the declared/declaring class type of this
VirtualSourceElement
.Returns the declared/declaring class type of this
VirtualSourceElement
. If thisVirtualSourceElement
is a VirtualClass, the returned type is the declared class else it is the declaring class.- Definition Classes
- VirtualClass → VirtualSourceElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def compare(that: VirtualSourceElement): Int
The "natural order" is VirtualClasses < VirtualFields < VirtualMethods.
The "natural order" is VirtualClasses < VirtualFields < VirtualMethods.
- Definition Classes
- VirtualClass → VirtualSourceElement → Ordered
- 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
- def compareTo(that: VirtualSourceElement): Int
- Definition Classes
- Ordered → Comparable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- final def foreachTypeAnnotation[U](f: (TypeAnnotation) => U): Unit
- Definition Classes
- CommonAttributes
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getLineNumber(project: ClassFileRepository): Option[Int]
Returns the best line number information available.
Returns the best line number information available.
- Definition Classes
- VirtualClass → VirtualSourceElement
- def hashCode(): Int
- Definition Classes
- VirtualClass → AnyRef → Any
- def isClass: Boolean
- Definition Classes
- VirtualClass → SourceElement
- 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
- def isField: Boolean
- Definition Classes
- SourceElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMethod: Boolean
- Definition Classes
- SourceElement
- def isSynthetic: Boolean
True
if this element was created by the compiler and the attributeSynthetic
is present.True
if this element was created by the compiler and the attributeSynthetic
is present. Compilers are, however, free to use the attribute or the corresponding access flag.- Definition Classes
- CommonSourceElementAttributes
- final def isVirtual: Boolean
- Definition Classes
- VirtualSourceElement → SourceElement
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def runtimeInvisibleAnnotations: Annotations
- Definition Classes
- CommonSourceElementAttributes
- def runtimeInvisibleTypeAnnotations: TypeAnnotations
- Definition Classes
- CommonAttributes
- def runtimeVisibleAnnotations: Annotations
- Definition Classes
- CommonSourceElementAttributes
- def runtimeVisibleTypeAnnotations: TypeAnnotations
- Definition Classes
- CommonAttributes
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisType: ObjectType
- def toJava: String
- Definition Classes
- VirtualClass → VirtualSourceElement
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated