Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jdt.core.util
Interface IAnnotation

public interface IAnnotation

Description of a annotation structure as described in the JVM specifications (added in J2SE 1.5). This interface may be implemented by clients.

Since:
  3.0

Method Summary
`IAnnotationComponent[]` | `getComponents()` Answer back the components as described in the JVM specifications.
`int` | `getComponentsNumber()` Answer back the number of components as described in the JVM specifications.
`int` | `getTypeIndex()` Answer back the type index as described in the JVM specifications.

Method Detail

### getTypeIndex

    public int getTypeIndex()

  Answer back the type index as described in the JVM specifications.

  Returns:
    the type index

### getComponentsNumber

    public int getComponentsNumber()

  Answer back the number of components as described in the JVM specifications.

  Returns:
    the type index

### getComponents

    public IAnnotationComponent[] getComponents()

  Answer back the components as described in the JVM specifications. Answer an empty collection if none.

  Returns:
    the components

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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