private VPackCache.FieldInfo createFieldInfo(java.lang.reflect.Field field) { string fieldName = field.getName(); if (this.fieldNamingStrategy != null) { fieldName = this.fieldNamingStrategy.translateName(field); } com.arangodb.velocypack.annotations.SerializedName annotationName = field.getAnnotation <com.arangodb.velocypack.annotations.SerializedName>(); if (annotationName != null) { fieldName = annotationName.value(); } com.arangodb.velocypack.annotations.Expose expose = field.getAnnotation <com.arangodb.velocypack.annotations.Expose >(); bool serialize = expose != null?expose.serialize() : true; bool deserialize = expose != null?expose.deserialize() : true; java.lang.Class clazz = field.getType(); global::System.Type type; if (typeof(System.Collections.ICollection).isAssignableFrom (clazz) || typeof(System.Collections.IDictionary ).isAssignableFrom(clazz)) { type = (java.lang.reflect.ParameterizedType)field.getGenericType(); } else { type = clazz; } return(new _FieldInfo_153(field, type, fieldName, serialize, deserialize)); }