Class ConfigPropertyBuildItemCandidateUtil
- java.lang.Object
-
- io.quarkus.arc.deployment.configproperties.ConfigPropertyBuildItemCandidateUtil
-
public class ConfigPropertyBuildItemCandidateUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertyBuildItemCandidateUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
removePropertiesWithDefaultValue(ClassLoader classLoader, String configClass, List<ConfigPropertyBuildItemCandidate> candidates)
This method inspects theconfigClass
bytecode to identify all fields that have a default value set in the class constructor.
-
-
-
Method Detail
-
removePropertiesWithDefaultValue
public static void removePropertiesWithDefaultValue(ClassLoader classLoader, String configClass, List<ConfigPropertyBuildItemCandidate> candidates)
This method inspects theconfigClass
bytecode to identify all fields that have a default value set in the class constructor. These fields are removed from theConfigPropertyBuildItemCandidate
list because we don't want to throw an exception if no config property value was provided for them. There is no bytecode modification performed during this process.
-
-