Schnittstelle IComponentInfo

Alle bekannten Implementierungsklassen:
ComponentInfo

public interface IComponentInfo
Description of a component info as described in the JVM specifications. This interface may be implemented by clients.
Seit:
3.22
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Answer back the attribute number of the component info.
    Answer back the collection of all attributes of the component info.
    char[]
    Answer back the descriptor of this component info.
    int
    Answer back the descriptor index of this component info.
    char[]
    Answer back the name of this component info.
    int
    Answer back the name index of this component info.
    int
    Answer back the total size
  • Methodendetails

    • getName

      char[] getName()
      Answer back the name of this component info. The name is returned as specified in the JVM specifications.
      Gibt zurück:
      the name of this component info. The name is returned as specified in the JVM specifications
    • getNameIndex

      int getNameIndex()
      Answer back the name index of this component info.
      Gibt zurück:
      the name index of this component info
    • getDescriptor

      char[] getDescriptor()
      Answer back the descriptor of this component info. The descriptor is returned as specified in the JVM specifications.
      Gibt zurück:
      the descriptor of this component info. The descriptor is returned as specified in the JVM specifications
    • getDescriptorIndex

      int getDescriptorIndex()
      Answer back the descriptor index of this component info.
      Gibt zurück:
      the descriptor index of this component info
    • getAttributeCount

      int getAttributeCount()
      Answer back the attribute number of the component info.
      Gibt zurück:
      the attribute number of the component info
    • getAttributes

      IClassFileAttribute[] getAttributes()
      Answer back the collection of all attributes of the component info. It includes SyntheticAttribute, ConstantValueAttributes, etc. Returns an empty collection if none.
      Gibt zurück:
      the collection of all attributes of the component info. Returns an empty collection if none
    • sizeInBytes

      int sizeInBytes()
      Answer back the total size
      Gibt zurück:
      the size of the component info