Class JavaCompilerFieldValuesParser
java.lang.Object
org.springframework.boot.configurationprocessor.fieldvalues.javac.JavaCompilerFieldValuesParser
- All Implemented Interfaces:
FieldValuesParser
FieldValuesParser
implementation for the standard Java compiler.- Since:
- 1.2.0
-
Field Summary
Fields inherited from interface org.springframework.boot.configurationprocessor.fieldvalues.FieldValuesParser
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldValues
(TypeElement element) Return the field values for the given element.
-
Constructor Details
-
JavaCompilerFieldValuesParser
- Throws:
Exception
-
-
Method Details
-
getFieldValues
Description copied from interface:FieldValuesParser
Return the field values for the given element.- Specified by:
getFieldValues
in interfaceFieldValuesParser
- Parameters:
element
- the element to inspect- Returns:
- a map of field names to values.
- Throws:
Exception
- if the values cannot be extracted
-