@Signature public Memory stashDrop(ArrayMemory settings) throws GitAPIException { StashDropCommand command = getWrappedObject().stashDrop(); if (settings != null) { command.setAll(settings.valueOfIndex("all").toBoolean()); Memory stashRef = settings.valueOfIndex("stashRef"); if (stashRef.isNotNull()) { command.setStashRef(stashRef.toInteger()); } } return GitUtils.valueOf(command.call()); }