private static Object getConstantValue(DfaMemoryState memoryState, DfaValue value) {
    DfType type = DfaUtil.getUnboxedDfType(memoryState, value);
    Object constant = type.getConstantOfType(Object.class);
    if (constant instanceof String && ((String)constant).length() > MAX_STRING_CONSTANT_LENGTH_TO_TRACK) return null;
    return constant;
  }
private static Object getConstantValue(DfaMemoryState memoryState, DfaValue value)