Eclipse JDT
Release 3.1

org.eclipse.jdt.core.util
Interface IRuntimeInvisibleAnnotationsAttribute

All Superinterfaces:
IClassFileAttribute

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

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

Returns:
the number of annotations

getAnnotations

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

Returns:
the annotations

Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.