Interface RecordComponentDetails

All Superinterfaces:
AnnotationTarget, MemberDetails
All Known Implementing Classes:
JandexRecordComponentDetails, JdkRecordComponentDetails

public interface RecordComponentDetails extends MemberDetails
Models a component in a record
  • Method Details

    • getKind

      default AnnotationTarget.Kind getKind()
      Description copied from interface: AnnotationTarget
      The kind of target
      Specified by:
      getKind in interface AnnotationTarget
    • resolveAttributeName

      default String resolveAttributeName()
      Description copied from interface: MemberDetails
      For members potentially representing attributes based on naming patterns, determine the attribute name. Return null if the name does not match the pattern for an attribute name.
      Specified by:
      resolveAttributeName in interface MemberDetails
      Returns:
      The potential attribute name, or null.
    • isPersistable

      default boolean isPersistable()
      Description copied from interface: MemberDetails
      Can this member be a persistent attribute
      Specified by:
      isPersistable in interface MemberDetails