static private ArrayList<Object> newList(final Object target, final Field field)
            throws ClassNotFoundException, IllegalAccessException, InstantiationException
    {
        @SuppressWarnings("unchecked")
        ArrayList<Object> oldinstance = (ArrayList<Object>) field.get(target);

        if (oldinstance == null)
        {
            oldinstance = new ArrayList<>();
            field.set(target, oldinstance);
        }
        return oldinstance;
    }
static private ArrayList < Object > newList ( final Object target , final Field field ) throws ClassNotFoundException , IllegalAccessException , InstantiationException { @ SuppressWarnings ( "unchecked" ) ArrayList < Object > oldinstance = ( ArrayList < Object > ) field . get ( target ) ; if ( oldinstance == null ) { oldinstance = new ArrayList < > ( ) ; field . set ( target , oldinstance ) ; } return oldinstance ; }
@param target
@param field
@return
@throws ClassNotFoundException
@throws IllegalAccessException
@throws InstantiationException