Schnittstelle IRuntimeVisibleAnnotationsAttribute

Alle Superschnittstellen:
IClassFileAttribute
Alle bekannten Implementierungsklassen:
RuntimeVisibleAnnotationsAttribute

public interface IRuntimeVisibleAnnotationsAttribute extends IClassFileAttribute
Description of a runtime visible annotations attribute as described in the JVM specifications (added in J2SE 1.5). This interface may be implemented by clients.
Seit:
3.0
  • Methodendetails

    • getAnnotationsNumber

      int getAnnotationsNumber()
      Answer back the number of annotations as described in the JVM specifications.
      Gibt zurück:
      the number of annotations
    • getAnnotations

      IAnnotation[] getAnnotations()
      Answer back the annotations. Answers an empty collection if none.
      Gibt zurück:
      the annotations. Answers an empty collection if none.