org.eclipse.jdt.core.util
Interface IRuntimeInvisibleAnnotationsAttribute

All Superinterfaces:
IClassFileAttribute
All Known Implementing Classes:
RuntimeInvisibleAnnotationsAttribute

public interface IRuntimeInvisibleAnnotationsAttribute
extends IClassFileAttribute

Description of a runtime invisible annotations attribute as described in the JVM specifications (added in J2SE 1.5). This interface may be implemented by clients.

Since:
3.0

Method Summary
 IAnnotation[] getAnnotations()
          Answer back the annotations.
 int getAnnotationsNumber()
          Answer back the number of annotations as described in the JVM specifications.
 
Methods inherited from interface org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 

Method Detail

getAnnotationsNumber

int getAnnotationsNumber()
Answer back the number of annotations as described in the JVM specifications.

Returns:
the number of annotations

getAnnotations

IAnnotation[] getAnnotations()
Answer back the annotations. Answers an empty collection if none.

Returns:
the annotations