Packages

c

org.opalj.br

FieldTemplate

final class FieldTemplate extends JVMField

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldTemplate
  2. JVMField
  3. Ordered
  4. Comparable
  5. ClassMember
  6. ConcreteSourceElement
  7. SourceElement
  8. CommonSourceElementAttributes
  9. CommonAttributes
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

    This field's access flags.

    This field's access flags. To analyze the access flags bit vector use org.opalj.bi.AccessFlag or org.opalj.bi.AccessFlagsIterator or use pattern matching.

    Definition Classes
    FieldTemplateJVMFieldConcreteSourceElement
  9. 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
  10. def asClassFile: ClassFile
    Definition Classes
    SourceElement
  11. def asField: Field
    Definition Classes
    SourceElement
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def asMethod: Method
    Definition Classes
    SourceElement
  14. def asVirtualField(declaringClassType: ObjectType): VirtualField
    Definition Classes
    JVMField
  15. final def asVirtualField(declaringClassFile: ClassFile): VirtualField
    Definition Classes
    JVMField
  16. val attributes: Attributes

    The defined attributes.

    The defined attributes. The JVM 8 specification defines the following attributes for fields: * ConstantValue, * Synthetic, * Signature, * Deprecated, * RuntimeVisibleAnnotationTable, * RuntimeInvisibleAnnotationTable, * RuntimeVisibleTypeAnnotationTable and * RuntimeInvisibleTypeAnnotationTable.

    Definition Classes
    FieldTemplateJVMFieldCommonAttributes
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  18. def compare(other: JVMField): Int

    Defines an absolute order on Field objects w.r.t.

    Defines an absolute order on Field objects w.r.t. their names and types. The order is defined by first lexicographically comparing the names of the fields and – if the names are identical – by comparing the types.

    Definition Classes
    JVMField → Ordered
  19. 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
  20. def compareTo(that: JVMField): Int
    Definition Classes
    Ordered → Comparable
  21. def constantFieldValue: Option[ConstantFieldValue[_]]

    Returns this field's constant value.

    Returns this field's constant value.

    Definition Classes
    JVMField
  22. def copy(accessFlags: Int = this.accessFlags, name: String = this.name, fieldType: FieldType = this.fieldType, attributes: Attributes = this.attributes): FieldTemplate
    Definition Classes
    JVMField
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. val fieldType: FieldType

    The (erased) type of this field.

    The (erased) type of this field.

    Definition Classes
    FieldTemplateJVMField
  26. def fieldTypeSignature: Option[FieldTypeSignature]

    Returns this field's type signature.

    Returns this field's type signature.

    Definition Classes
    JVMField
  27. final def foreachTypeAnnotation[U](f: (TypeAnnotation) => U): Unit
    Definition Classes
    CommonAttributes
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  29. final def hasDefaultVisibility: Boolean
    Definition Classes
    ClassMember
  30. def hasFlags(accessFlags: Int): Boolean
    Definition Classes
    ConcreteSourceElement
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  32. def isClass: Boolean
    Definition Classes
    SourceElement
  33. 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
  34. final def isField: Boolean
    Definition Classes
    FieldTemplateSourceElement
  35. final def isFinal: Boolean
    Definition Classes
    ClassMember
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isMethod: Boolean
    Definition Classes
    SourceElement
  38. final def isNotFinal: Boolean
    Definition Classes
    ClassMember
  39. final def isNotStatic: Boolean
    Definition Classes
    ClassMember
  40. final def isPackagePrivate: Boolean
    Definition Classes
    ClassMember
  41. final def isPrivate: Boolean
    Definition Classes
    ClassMember
  42. final def isProtected: Boolean
    Definition Classes
    ClassMember
  43. final def isPublic: Boolean
    Definition Classes
    ClassMember
  44. final def isStatic: Boolean
    Definition Classes
    ClassMember
  45. final def isSynthetic: Boolean

    True if the Synthetic access flag or attribute is used.

    True if the Synthetic access flag or attribute is used.

    Definition Classes
    ClassMemberCommonSourceElementAttributes
  46. def isTransient: Boolean
    Definition Classes
    JVMField
  47. def isVirtual: Boolean
    Definition Classes
    SourceElement
  48. def isVolatile: Boolean
    Definition Classes
    JVMField
  49. val name: String

    The name of this field.

    The name of this field. The name is interned (see String.intern() for details.) Note, that this name is not required to be a valid Java programming language identifier.

    Definition Classes
    FieldTemplateJVMFieldClassMember
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  53. def runtimeInvisibleAnnotations: Annotations
  54. def runtimeInvisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  55. def runtimeVisibleAnnotations: Annotations
  56. def runtimeVisibleTypeAnnotations: TypeAnnotations
    Definition Classes
    CommonAttributes
  57. def signatureToJava(withAccessFlags: Boolean = false): String
    Definition Classes
    JVMField
  58. def similar(other: JVMField, config: SimilarityTestConfiguration): Boolean

    Compares this field with the given one for structural equality.

    Compares this field with the given one for structural equality.

    Two fields are structurally equal if they have the same names, flags, type and attributes. In the latter case, the order doesn't matter!

    Definition Classes
    JVMField
  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    JVMField → AnyRef → Any
  61. def visibilityModifier: Option[VisibilityModifier]
    Definition Classes
    ConcreteSourceElement
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. 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 JVMField

Inherited from Ordered[JVMField]

Inherited from Comparable[JVMField]

Inherited from ClassMember

Inherited from ConcreteSourceElement

Inherited from SourceElement

Inherited from CommonAttributes

Inherited from AnyRef

Inherited from Any

Ungrouped