Given a field node, checks if we are accessing or setting a private field from an inner class.
774583
private void checkOrMarkPrivateAccess(Expression source, FieldNode fn, boolean lhsOfAssignment) {
        if (fn == null) return;
        ClassNode enclosingClassNode = typeCheckingContext.getEnclosingClassNode();
        ClassNode declaringClass = fn.getDeclaringClass();
        if (fn.isPrivate() &&
                (declaringClass != enclosingClassNode || typeCheckingContext.getEnclosingClosure() != null) &&
                declaringClass.getModule() == enclosingClassNode.getModule()) {
            if (!lhsOfAssignment && enclosingClassNode.isDerivedFrom(declaringClass)) {
                // check for a public/protected getter since JavaBean getters haven't been recognised as properties
                // at this point and we don't want private field access for that case which will be handled later
                boolean isPrimBool = fn.getOriginType().equals(ClassHelper.boolean_TYPE);
                String suffix = Verifier.capitalize(fn.getName());
                MethodNode getterNode = findValidGetter(enclosingClassNode, "get" + suffix);
                if (getterNode == null && isPrimBool) {
                    getterNode = findValidGetter(enclosingClassNode, "is" + suffix);
                }
                if (getterNode != null) {
                    source.putNodeMetaData(INFERRED_TYPE, getterNode.getReturnType());
                    return;
                }
            }
            StaticTypesMarker marker = lhsOfAssignment ? StaticTypesMarker.PV_FIELDS_MUTATION : StaticTypesMarker.PV_FIELDS_ACCESS;
            addPrivateFieldOrMethodAccess(source, declaringClass, marker, fn);
        }
    }
919867
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case KEYS:
      return is_set_keys();
    case SESSION:
      return is_set_session();
    }
    throw new IllegalStateException();
  }
635732
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case NAME:
      return is_set_name();
    case BITS:
      return is_set_bits();
    }
    throw new IllegalStateException();
  }
72735
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case COMPONENT_ID:
      return is_set_componentId();
    case STREAM_ID:
      return is_set_streamId();
    }
    throw new IllegalStateException();
  }
375178
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case IPV4:
      return isSetIpv4();
    case PORT:
      return isSetPort();
    case SERVICE_NAME:
      return isSetService_name();
    }
    throw new java.lang.IllegalStateException();
  }
540034
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case SESSION_HANDLE:
      return isSetSessionHandle();
    case INFO_TYPE:
      return isSetInfoType();
    }
    throw new IllegalStateException();
  }
775019
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case CREDENTIALS:
      return isSetCredentials();
    }
    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();
  }
354121
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case ID:
      return isSetId();
    case LOCATION:
      return isSetLocation();
    }
    throw new IllegalStateException();
  }
360941
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case BLOCK_ID:
      return isSetBlockId();
    case NUM_BYTES:
      return isSetNumBytes();
    case GENERATION_STAMP:
      return isSetGenerationStamp();
    }
    throw new IllegalStateException();
  }
549927
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case FULL_CLASS_NAME:
      return is_set_full_class_name();
    case ARGS_LIST:
      return is_set_args_list();
    }
    throw new IllegalStateException();
  }
802736
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case HANDLE:
      return isSetHandle();
    case CLUSTER_MANAGER_INFO:
      return isSetClusterManagerInfo();
    case POOL_INFO_STRINGS:
      return isSetPoolInfoStrings();
    }
    throw new IllegalStateException();
  }
137374
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case REQUEST_ID:
      return isSetRequestId();
    case GRANT_ID:
      return isSetGrantId();
    case RESOURCE_USAGES:
      return isSetResourceUsages();
    }
    throw new IllegalStateException();
  }
927950
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case TYPE:
      return isSetType();
    case TYPE_QUALIFIERS:
      return isSetTypeQualifiers();
    }
    throw new IllegalStateException();
  }
389504
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case POOL_INFO_STRING:
      return isSetPoolInfoString();
    case WHITELIST:
      return isSetWhitelist();
    }
    throw new IllegalStateException();
  }
231406
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case KEY:
      return isSetKey();
    case COLUMNS:
      return isSetColumns();
    }
    throw new IllegalStateException();
  }
227052
public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case WAIT_SECS:
      return is_set_wait_secs();
    }
    throw new IllegalStateException();
  }