GT-2925 - Key Bindings - Support Window Menu Provider Key Bindings -

Step 6 - added action to 'Go To Last Provider'; cleanup for review
This commit is contained in:
dragonmacher 2019-06-28 07:56:40 -04:00
parent 115243801e
commit d684ee3ce6
7 changed files with 340 additions and 53 deletions

View file

@ -53,6 +53,9 @@ public abstract class WeakSet<T> implements Iterable<T> {
return;
}
// Note: sadly, this code does not work with labmda's, as we cannot get the enclosing
// method/constructor
Class<? extends Object> clazz = t.getClass();
if (!clazz.isAnonymousClass()) {
return; // O.K.