Packages

c

org.opalj.br

VirtualField

final case class VirtualField(declaringClassType: ObjectType, name: String, fieldType: FieldType) extends VirtualClassMember with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VirtualField
  2. Serializable
  3. Product
  4. Equals
  5. VirtualClassMember
  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. Protected

Instance Constructors

  1. new VirtualField(declaringClassType: ObjectType, name: String, fieldType: FieldType)

Value Members

  1. def <(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  2. def <=(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  3. def >(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  4. def >=(that: VirtualSourceElement): Boolean
    Definition Classes
    Ordered
  5. 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
  6. def asClassFile: ClassFile
    Definition Classes
    SourceElement
  7. def asField: Field
    Definition Classes
    SourceElement
  8. def asMethod: Method
    Definition Classes
    SourceElement
  9. def attributes: Attributes
  10. 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
    VirtualFieldVirtualSourceElement
  11. def compare(that: VirtualSourceElement): Int

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

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

    Definition Classes
    VirtualFieldVirtualSourceElement → Ordered
  12. def compareTo(that: VirtualSourceElement): Int
    Definition Classes
    Ordered → Comparable
  13. val declaringClassType: ObjectType
  14. def equals(other: Any): Boolean
    Definition Classes
    VirtualField → Equals → AnyRef → Any
  15. val fieldType: FieldType
  16. final def foreachTypeAnnotation[U](f: (TypeAnnotation) => U): Unit
    Definition Classes
    CommonAttributes
  17. def getLineNumber(project: ClassFileRepository): Option[Int]

    Returns the best line number information available.

    Returns the best line number information available.

    Definition Classes
    VirtualFieldVirtualSourceElement
  18. def hashCode(): Int
    Definition Classes
    VirtualField → AnyRef → Any
  19. def isClass: Boolean
    Definition Classes
    SourceElement
  20. 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
  21. def isField: Boolean
    Definition Classes
    VirtualFieldSourceElement
  22. def isMethod: Boolean
    Definition Classes
    SourceElement
  23. 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
  24. final def isVirtual: Boolean
    Definition Classes
    VirtualSourceElementSourceElement
  25. val name: String
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def runtimeInvisibleAnnotations: Annotations
  28. def runtimeInvisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  29. def runtimeVisibleAnnotations: Annotations
  30. def runtimeVisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  31. def toJava: String
    Definition Classes
    VirtualFieldVirtualSourceElement