com.sun.mirror.apt

## Class AnnotationProcessors

- java.lang.Object
- - com.sun.mirror.apt.AnnotationProcessors

-     public class AnnotationProcessors
      extends Object

  Utilities to create specialized annotation processors.
  Since:
    1.5

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static AnnotationProcessor` | `NO_OP` An annotation processor that does nothing and has no state.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AnnotationProcessors()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AnnotationProcessor` | `getCompositeAnnotationProcessor(AnnotationProcessor... aps)` Constructs a new composite annotation processor.
    `static AnnotationProcessor` | `getCompositeAnnotationProcessor(Collection<AnnotationProcessor> aps)` Constructs a new composite annotation processor.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### NO_OP

          public static final AnnotationProcessor NO_OP

      An annotation processor that does nothing and has no state. May be used multiple times.
      Since:
        1.5

  - ### Constructor Detail

    - #### AnnotationProcessors

          public AnnotationProcessors()

  - ### Method Detail

    - #### getCompositeAnnotationProcessor

          public static AnnotationProcessor getCompositeAnnotationProcessor(AnnotationProcessor... aps)

      Constructs a new composite annotation processor. A composite annotation processor combines multiple annotation processors into one and functions by invoking each of its component processors' process methods in sequence.
      Parameters:
        `aps` - The processors to create a composite of
      Since:
        1.5

    - #### getCompositeAnnotationProcessor

          public static AnnotationProcessor getCompositeAnnotationProcessor(Collection<AnnotationProcessor> aps)

      Constructs a new composite annotation processor. A composite annotation processor combines multiple annotation processors into one and functions by invoking each of its component processors' process methods in the sequence the processors are returned by the collection's iterator.
      Parameters:
        `aps` - A collection of processors to create a composite of
      Since:
        1.5

Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.