oracle.cloud.scanning.api.config

## Interface IAnnotationContext

-     public interface IAnnotationContext

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `IAnnotationConfiguration` | `getMatchingConfiguration()` Returns annoation configuration for the current annoation parsing context.
    `IAnnotationContext` | `getNestedAnnotationContext(String name, String annotation)` Returns annotation parsing context for a nested anotation.

- - ### Method Detail

    - #### getNestedAnnotationContext

          IAnnotationContext getNestedAnnotationContext(String name,
                                                      String annotation)

      Returns annotation parsing context for a nested anotation. If there is an array of annoation, this method should be called for every annotation in the array.
      Parameters:
        `name` - the name of the enclosing annotation field. It will be same for each item in the array, if the value is an array of annoation.
        `annotation` - the nested annotation value which is nothing but an annocation class
      Returns:
        the annocation parsing context to valdate the annotation if there is any, null otherwise.

    - #### getMatchingConfiguration

          IAnnotationConfiguration getMatchingConfiguration()

      Returns annoation configuration for the current annoation parsing context.
      Returns:
        annoation configuration if anything is defined for the current parsing context, null otherwise.

Copyright © 2018 Oracle. All rights reserved.