<commit_before>package com.petterfactory.couchbaseliteorm.compiler;

import java.util.Arrays;
import java.util.List;

public enum FieldKind {
  primitive,
  simpleObject,
  object,
  list;

  private final static List<String> simpleObjects = Arrays.asList(
      Boolean.class.getTypeName(),
      Byte.class.getTypeName(),
      Short.class.getTypeName(),
      Integer.class.getTypeName(),
      Long.class.getTypeName(),
      Float.class.getTypeName(),
      Double.class.getTypeName(),
      String.class.getTypeName()
  );

  public static boolean isSimpleObject(String fullQualifiedName) {
    return simpleObjects.contains(fullQualifiedName);
  }<commit_msg>Fix Java7<commit_after>package com.petterfactory.couchbaseliteorm.compiler;

import java.util.Arrays;
import java.util.List;

public enum FieldKind {
  primitive,
  simpleObject,
  object,
  list;

  private final static List<String> simpleObjects = Arrays.asList(
      Boolean.class.getCanonicalName(),
      Byte.class.getCanonicalName(),
      Short.class.getCanonicalName(),
      Integer.class.getCanonicalName(),
      Long.class.getCanonicalName(),
      Float.class.getCanonicalName(),
      Double.class.getCanonicalName(),
      String.class.getCanonicalName()
  );

  public static boolean isSimpleObject(String fullQualifiedName) {
    return simpleObjects.contains(fullQualifiedName);
  }
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.0007309941520467836, 'mean_word_length': 4.033088235294118, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6819673', 'n_tokens_mistral': 403, 'n_tokens_neox': 409, 'n_words': 69}