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