mirror of
https://github.com/revanced/smali.git
synced 2025-05-28 11:50:12 +02:00
Using Predicates.notNull() to filter for direct interfaces.
This commit is contained in:
parent
0ac9242368
commit
3aa6e2d4fa
@ -32,6 +32,7 @@
|
||||
package org.jf.dexlib2.analysis;
|
||||
|
||||
import com.google.common.base.Predicate;
|
||||
import com.google.common.base.Predicates;
|
||||
import com.google.common.collect.FluentIterable;
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.common.collect.Lists;
|
||||
@ -180,7 +181,7 @@ public class ClassProto implements TypeProto {
|
||||
throw new UnresolvedClassException("Interfaces for class %s not fully resolved", getType());
|
||||
}
|
||||
|
||||
return FluentIterable.from(getInterfaces().values()).filter(ClassDef.class);
|
||||
return FluentIterable.from(getInterfaces().values()).filter(Predicates.notNull());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user