org.ow2.asmdex.structureWriter
Interface IAnnotationsHolder

All Known Implementing Classes:
ClassDefinitionItem, Field, Method

public interface IAnnotationsHolder

An Interface used by the structures (Classes, Methods, Fields) that can hold Annotations. Parameters don't use it.

Author:
Julien Névo

Method Summary
 AnnotationSetItem getAnnotationSetItem()
          Returns the annotation_set_item this structure currently contains.
 int getNbAnnotations()
          Returns the number of annotation_items (size of annotation_set_item) this structure currently contains.
 

Method Detail

getNbAnnotations

int getNbAnnotations()
Returns the number of annotation_items (size of annotation_set_item) this structure currently contains.

Returns:
the number of annotation_items (size of annotation_set_item) this structure currently contains.

getAnnotationSetItem

AnnotationSetItem getAnnotationSetItem()
Returns the annotation_set_item this structure currently contains.

Returns:
the annotation_set_item this structure currently contains.