Determines whether the field can be modified using reflection.

@return Whether or not the field can be modified reflectively.
192066
public boolean canBeModifiedReflectively() {
        if (field.isSynthetic()) {
            return false;
        }
        int modifiers = field.getModifiers();
        if (Modifier.isFinal(modifiers) && Modifier.isStatic(modifiers)) {
            return false;
        }
        return true;
    }
425482
public boolean isGroovydocEnabled() {
        Boolean groovydocEnabled = this.getOptimizationOptions().get(GROOVYDOC);

        if (null == groovydocEnabled) {
            return false;
        }

        return groovydocEnabled;
    }
1366380
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case TRACE_ID:
      return isSetTrace_id();
    case SPAN_ID:
      return isSetSpan_id();
    case PARENT_SPAN_ID:
      return isSetParent_span_id();
    case SAMPLED:
      return isSetSampled();
    case CLIENT_ID:
      return isSetClient_id();
    case FLAGS:
      return isSetFlags();
    case CONTEXTS:
      return isSetContexts();
    case DEST:
      return isSetDest();
    case DELEGATIONS:
      return isSetDelegations();
    case TRACE_ID_HIGH:
      return isSetTrace_id_high();
    }
    throw new java.lang.IllegalStateException();
  }
1067592
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case REPLICATION_FACTOR:
      return is_set_replication_factor();
    }
    throw new IllegalStateException();
  }
35858
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case NAME:
      return isSetName();
    case VALIDATION_CLASS:
      return isSetValidation_class();
    case INDEX_TYPE:
      return isSetIndex_type();
    case INDEX_NAME:
      return isSetIndex_name();
    case INDEX_OPTIONS:
      return isSetIndex_options();
    }
    throw new IllegalStateException();
  }
516808
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case SESSION_HANDLE:
      return isSetSessionHandle();
    case CATALOG_NAME:
      return isSetCatalogName();
    case SCHEMA_NAME:
      return isSetSchemaName();
    case TABLE_NAME:
      return isSetTableName();
    case TABLE_TYPES:
      return isSetTableTypes();
    }
    throw new IllegalStateException();
  }
693677
private boolean canBeMadeFromString() {
        final Class<?> clazz = getClassForUnderlyingField();
        if (clazz.isEnum()) {
            return true;
        }
        try {
            // Need to use getDeclaredConstructor() instead of getConstructor() in case the constructor
            // is non-public
            clazz.getDeclaredConstructor(String.class);
            return true;
        } catch (final NoSuchMethodException e) {
            return false;
        }
    }
1043257
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case FORCE:
      return isSetForce();
    case BATCH_SIZE:
      return isSetBatchSize();
    }
    throw new IllegalStateException();
  }
107514
public boolean[] getModified()
    {
        int iFieldCount = this.getFieldCount();  // BaseField Count
        boolean[] rgbModified = new boolean[iFieldCount];
        for (int iFieldSeq = DBConstants.MAIN_FIELD; iFieldSeq < iFieldCount + DBConstants.MAIN_FIELD; iFieldSeq++)
        {
            BaseField field = this.getField(iFieldSeq);
            rgbModified[iFieldSeq] = field.isModified();
        }
        return rgbModified;
    }
443786
public static boolean hasModifier(Field field, ModifierType... modifierTypes) {
		if (null == field || ArrayUtil.isEmpty(modifierTypes)) {
			return false;
		}
		return 0 != (field.getModifiers() & modifiersToInt(modifierTypes));
	}
1262586
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case SESSION_HANDLE:
      return isSetSessionHandle();
    case CATALOG_NAME:
      return isSetCatalogName();
    case SCHEMA_NAME:
      return isSetSchemaName();
    case FUNCTION_NAME:
      return isSetFunctionName();
    }
    throw new IllegalStateException();
  }
53666
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case ACKNOWLEDGED_BY:
      return isSetAcknowledged_by();
    case ACKNOWLEDGED_BY_BATCHLOG:
      return isSetAcknowledged_by_batchlog();
    case PAXOS_IN_PROGRESS:
      return isSetPaxos_in_progress();
    }
    throw new IllegalStateException();
  }
349698
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case TOPOLOGY:
      return is_set_topology();
    case COMPONENTS:
      return is_set_components();
    case TASKS:
      return is_set_tasks();
    case METRICS:
      return is_set_metrics();
    }
    throw new IllegalStateException();
  }
868617
public boolean declaresField(Field field) {
        try {
            type.getDeclaredField(field.getName());
            return true;
        }
        catch (NoSuchFieldException e) {
            return false;
        }
    }
926872
private boolean isSetterForField(ExecutableElement setter, VariableElement field) {
    return setter.getParameters() != null
        && setter.getParameters().size() == 1
        && setter.getParameters().get(0).asType().equals(field.asType());
    // TODO inheritance? TypeUtils is applicable?
  }
457143
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case BLOCK:
      return isSetBlock();
    case NAMESPACE_ID:
      return isSetNamespaceId();
    case DATA_TRANSFER_VERSION:
      return isSetDataTransferVersion();
    case LOCATION:
      return isSetLocation();
    }
    throw new IllegalStateException();
  }
1216279
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case SETTABLE:
      return is_set_settable();
    case VERSION:
      return is_set_version();
    }
    throw new IllegalStateException();
  }