oracle.cloud.scanning.api.config.annotation.model

## Interface AnnotationCollectionRoot

- All Superinterfaces:
    EnclosingParent

      public interface AnnotationCollectionRoot
      extends EnclosingParent

  Represents a list of annotations. For eg) the list of annotations that go on top of a class. If there are multiple annotations in the list, each `AbstractValue.getEnclosingValue()` should return the same instance (of this class).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Annotation>` | `getAnnotations()` List of annotations in the collection

- - ### Method Detail

    - #### getAnnotations

          List<Annotation> getAnnotations()

      List of annotations in the collection
      Returns:
        the list of annotations. It will never be empty. Typically the size will be 2 or more.

Copyright © 2018 Oracle. All rights reserved.