Class RecordAttribute

All Implemented Interfaces:
IClassFileAttribute, IRecordAttribute

public class RecordAttribute extends ClassFileAttribute implements IRecordAttribute
Default implementation of IRecordAttribute.
  • Constructor Details

  • Method Details

    • getNumberOfComponents

      public int getNumberOfComponents()
      Description copied from interface: IRecordAttribute
      Answer back the number of components as specified in the JVM specifications.
      Specified by:
      getNumberOfComponents in interface IRecordAttribute
      Returns:
      the number of components as specified in the JVM specifications
    • getComponentInfos

      public IComponentInfo[] getComponentInfos()
      Description copied from interface: IRecordAttribute
      Answer back the array of record component infos as specified in the JVM specifications, or an empty array if none.
      Specified by:
      getComponentInfos in interface IRecordAttribute
      Returns:
      the array of record component infos as specified in the JVM specifications, or an empty array if none