Interface FieldValuesParser
- All Known Implementing Classes:
JavaCompilerFieldValuesParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Parser which can be used to obtain the field values from an
TypeElement.- Since:
- 1.1.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FieldValuesParserImplementation ofFieldValuesParserthat always returns an empty result. -
Method Summary
Modifier and TypeMethodDescriptiongetFieldValues(TypeElement element) Return the field values for the given element.
-
Field Details
-
NONE
Implementation ofFieldValuesParserthat always returns an empty result.
-
-
Method Details
-
getFieldValues
Return the field values for the given element.- Parameters:
element- the element to inspect- Returns:
- a map of field names to values.
- Throws:
Exception- if the values cannot be extracted
-