test_class.file: core/src/test/java/org/carrot2/attrs/AttrDoubleTest.java
test_class.identifier: AttrDoubleTest
test_class.superclass: extends TestBase
test_case.body: @Test
    public void testConstraintValidation() {
      AttrDouble attr = AttrDouble.builder().min(10).max(20).defaultValue(null);
  
      attr.set(10d);
      attr.set(20d);
      Assertions.assertThatExceptionOfType(IllegalArgumentException.class)
          .isThrownBy(() -> attr.set(9d));
      Assertions.assertThatExceptionOfType(IllegalArgumentException.class)
          .isThrownBy(() -> attr.set(21d));
    }
test_case.class_method_signature: AttrDoubleTest.testConstraintValidation()
test_case.full_signature: @Test public void testConstraintValidation()
test_case.identifier: testConstraintValidation
test_case.invocations: defaultValue max min builder set set isThrownBy assertThatExceptionOfType set isThrownBy assertThatExceptionOfType set
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConstraintValidation()
focal_class.file: core/src/main/java/org/carrot2/attrs/AttrDouble.java
focal_class.identifier: AttrDouble
focal_class.class_method_signature: AttrDouble.AttrDouble(
        Double value, List<? extends Constraint<? super Double>> constraint, String label)
focal_class.full_signature: private  AttrDouble(
        Double value, List<? extends Constraint<? super Double>> constraint, String label)
focal_class.identifier: AttrDouble
focal_class.modifiers: private
focal_class.parameters: (
        Double value, List<? extends Constraint<? super Double>> constraint, String label)
focal_class.signature:  AttrDouble(
        Double value, List<? extends Constraint<? super Double>> constraint, String label)
focal_class.class_method_signature: AttrDouble.builder()
focal_class.full_signature: public static Builder builder()
focal_class.identifier: builder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder builder()
focal_class.superclass: extends Attr<Double>
focal_method.body: public static Builder builder() {
      return new Builder();
    }
focal_method.class_method_signature: AttrDouble.builder()
focal_method.full_signature: public static Builder builder()
focal_method.identifier: builder
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Builder
focal_method.signature: Builder builder()