## Uses of Interface
javax.annotation.processing.ProcessingEnvironment

- Packages that use ProcessingEnvironment
  Package | Description
  --- | ---
  javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.

- - ### Uses of ProcessingEnvironment in javax.annotation.processing

    Fields in javax.annotation.processing declared as ProcessingEnvironment
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected ProcessingEnvironment` | AbstractProcessor.`processingEnv` Processing environment providing by the tool framework.

    Methods in javax.annotation.processing with parameters of type ProcessingEnvironment
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AbstractProcessor.`init(ProcessingEnvironment processingEnv)` Initializes the processor with the processing environment by setting the `processingEnv` field to the value of the `processingEnv` argument.
    `void` | Processor.`init(ProcessingEnvironment processingEnv)` Initializes the processor with the processing environment.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.