@Internal public class VisitorContextUtils extends Object
VisitorContext
implementations.Constructor and Description |
---|
VisitorContextUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getProcessorOptions(ProcessingEnvironment processingEnv)
Get visitor's context options from
ProcessingEnvironment.getOptions() |
static Map<String,String> |
getSystemOptions()
Get visitor's context options from
System.getProperties() |
public static Map<String,String> getSystemOptions()
System.getProperties()
Transforms System.getProperties()
into Map
allowing only Micronaut's properties, filtering everything else.
public static Map<String,String> getProcessorOptions(ProcessingEnvironment processingEnv)
ProcessingEnvironment.getOptions()
Get ProcessingEnvironment.getOptions()
allowing only Micronaut's properties, filtering everything else.
processingEnv
- ProcessingEnvironment