File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
main/java/com/fasterxml/classmate
test/java/com/fasterxml/classmate/types Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,12 @@ public final boolean canCreateSubtype(Class<?> subtype) {
90
90
91
91
/**
92
92
* Returns ordered list of interfaces (in declaration order) that this type
93
- * implements.
93
+ * <b>directly</b> implements.
94
+ * NOTE: returned list does NOT include transitively implemented types (that is,
95
+ * interfaces implemented by parent classes or interfaces).
94
96
*
95
- * @return List of interfaces this type implements, if any; empty list if none
97
+ * @return List of interfaces this type implements, if any; empty list if none (never
98
+ * {@code null}).
96
99
*/
97
100
public abstract List <ResolvedType > getImplementedInterfaces ();
98
101
Original file line number Diff line number Diff line change 4
4
5
5
import org .junit .Test ;
6
6
7
- import static junit . framework .Assert .*;
7
+ import static org . junit .Assert .*;
8
8
9
9
/**
10
10
* @author blangel
11
11
*/
12
- @ SuppressWarnings ("deprecation" )
13
12
public class ResolvedInterfaceTypeTest {
14
13
15
14
private static interface Parent { }
You can’t perform that action at this time.
0 commit comments