@FunctionalInterface
public interface FieldValuesParser
TypeElement.JavaCompilerFieldValuesParser| 限定符和类型 | 字段和说明 |
|---|---|
static FieldValuesParser |
NONE
Implementation of
FieldValuesParser that always returns an empty result. |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getFieldValues(javax.lang.model.element.TypeElement element)
Return the field values for the given element.
|
static final FieldValuesParser NONE
FieldValuesParser that always returns an empty result.java.util.Map<java.lang.String,java.lang.Object> getFieldValues(javax.lang.model.element.TypeElement element)
throws java.lang.Exception
element - the element to inspectjava.lang.Exception - if the values cannot be extracted