public class JavaCompilerFieldValuesParser extends java.lang.Object implements FieldValuesParser
FieldValuesParser
implementation for the standard Java compiler.NONE
构造器和说明 |
---|
JavaCompilerFieldValuesParser(javax.annotation.processing.ProcessingEnvironment env) |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getFieldValues(javax.lang.model.element.TypeElement element)
Return the field values for the given element.
|
public JavaCompilerFieldValuesParser(javax.annotation.processing.ProcessingEnvironment env) throws java.lang.Exception
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Object> getFieldValues(javax.lang.model.element.TypeElement element) throws java.lang.Exception
FieldValuesParser
getFieldValues
在接口中 FieldValuesParser
element
- the element to inspectjava.lang.Exception
- if the values cannot be extracted