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
Exceptionpublic Map<String,Object> getFieldValues(TypeElement element) throws Exception
FieldValuesParsergetFieldValues in interface FieldValuesParserelement - the element to inspectException - if the values cannot be extracted