Package io.micronaut.inject.visitor.util
Class VisitorContextUtils
java.lang.Object
io.micronaut.inject.visitor.util.VisitorContextUtils
Internal common helper functions to share among
VisitorContext
implementations.- Since:
- 1.3.0
- Author:
- Miguel A. Baldi Horlle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessorOptions
(ProcessingEnvironment processingEnv) Get visitor's context options fromProcessingEnvironment.getOptions()
Get visitor's context options fromSystem.getProperties()
-
Constructor Details
-
VisitorContextUtils
public VisitorContextUtils()
-
-
Method Details
-
getSystemOptions
Get visitor's context options fromSystem.getProperties()
Transforms
System.getProperties()
intoMap
allowing only Micronaut's properties, filtering everything else.- Returns:
- options map
-
getProcessorOptions
Get visitor's context options fromProcessingEnvironment.getOptions()
Get
ProcessingEnvironment.getOptions()
allowing only Micronaut's properties, filtering everything else.- Parameters:
processingEnv
-ProcessingEnvironment
- Returns:
- options map
-