s">&lt;T extends <a href="UndoOperation.html" title="class in icyllis.modernui.core">UndoOperation</a>&lt;?&gt;&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">getLastOperation</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T&gt;&nbsp;clazz,
 <a href="UndoOwner.html" title="class in icyllis.modernui.core">UndoOwner</a>