code: private static CaptureStyle getAnnotationCaptureStyleValue(
              IAnnotationBinding annotation, String varName) {
          String fieldName = getEnumAnnotationFieldName(annotation, varName);
          if (fieldName == null) {
              return CaptureStyle.getDefault();
          }
          CaptureStyle resultCaptureStyle = CaptureStyle.valueOf(fieldName);
          if (resultCaptureStyle == null) {
              throw new RuntimeException("invalid captureStyle: " + fieldName);
          }
          return resultCaptureStyle;
      }
docs: returns default value if varName value is not specified