public static Object getArrayValue(Object[] array, int propertyIndex, int index) throws PropertyAccessException { // If the oa does not contain the key, this is allowed and represented as null Object value = array[propertyIndex]; return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }
/** * NOTE: Code-generation-invoked method, method name and parameter order matters * * @param array array * @param propertyIndex prop index * @param index index * @return value * @throws PropertyAccessException exception */ public static Object getObjectArrayIndexValue(Object[] array, int propertyIndex, int index) throws PropertyAccessException { Object value = array[propertyIndex]; return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }
private Object getObjectArrayInternal(Object[] array, int index) throws PropertyAccessException { Object value = array[propertyIndex]; return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }
private Object getMapInternal(Map<String, Object> map, int index) throws PropertyAccessException { // If the map does not contain the key, this is allowed and represented as null Object value = map.get(propertyMap); return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }
/** * NOTE: Code-generation-invoked method, method name and parameter order matters * * @param map map * @param fieldName name * @param index index * @return value * @throws PropertyAccessException exception */ public static Object getMapIndexedValue(Map<String, Object> map, String fieldName, int index) throws PropertyAccessException { Object value = map.get(fieldName); return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }
private Object getMapInternal(Map<String, Object> map, int index) throws PropertyAccessException { Object value = map.get(propertyName); return BaseNestableEventUtil.getBNArrayValueAtIndexWithNullCheck(value, index); }