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
Constructors -
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:FieldValuesParserReturn the field values for the given element.- Specified by:
getFieldValuesin interfaceFieldValuesParser- Parameters:
element- the element to inspect- Returns:
- a map of field names to values.
- Throws:
Exception- if the values cannot be extracted
-