Class DefaultValueUtils


  • public final class DefaultValueUtils
    extends Object
    • Method Detail

      • getDefaultValue

        public static @Nullable String getDefaultValue​(Annotation[] annotations)
        Returns the value of the DefaultValue.value() if found in annotations.
        Parameters:
        annotations - Array of annotations (can be null).
        Returns:
        Value of DefaultValue.value() if found, otherwise null.
        Since:
        2.0