public class JavaCompilerFieldValuesParser extends Object implements FieldValuesParser
FieldValuesParser
implementation for the standard Java compiler.NONE
Constructor and Description |
---|
JavaCompilerFieldValuesParser(ProcessingEnvironment env) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getFieldValues(TypeElement element)
Return the field values for the given element.
|
public JavaCompilerFieldValuesParser(ProcessingEnvironment env) throws Exception
Exception
public Map<String,Object> getFieldValues(TypeElement element) throws Exception
FieldValuesParser
getFieldValues
in interface FieldValuesParser
element
- the element to inspectException
- if the values cannot be extracted