Class RecordComponentInfo

    • Field Detail

      • u2nameIndex

        public int u2nameIndex
      • u2descriptorIndex

        public int u2descriptorIndex
      • u2attributesCount

        public int u2attributesCount
      • referencedField

        public Field referencedField
        An extra field optionally pointing to the referenced Field object. This field is typically filled out by the ClassReferenceInitializer.
    • Constructor Detail

      • RecordComponentInfo

        public RecordComponentInfo()
        Creates an uninitialized RecordComponentInfo.
      • RecordComponentInfo

        public RecordComponentInfo​(int u2nameIndex,
                                   int u2descriptorIndex,
                                   int u2attributesCount,
                                   Attribute[] attributes)
        Creates an initialized RecordComponentInfo.
    • Method Detail

      • getName

        public java.lang.String getName​(Clazz clazz)
        Returns the record component descriptor name.
      • getDescriptor

        public java.lang.String getDescriptor​(Clazz clazz)
        Returns the record component descriptor descriptor.
      • referencedFieldAccept

        public void referencedFieldAccept​(Clazz clazz,
                                          MemberVisitor memberVisitor)
        Lets the referenced class field accept the given visitor.
      • attributesAccept

        public void attributesAccept​(Clazz clazz,
                                     AttributeVisitor attributeVisitor)
        Applies the given attribute visitor to all attributes.