Lines Matching defs:check
34 // We also check for a method with try/catch because the compiler then makes a slow
42 check(true, exactCheck instanceof ExactCheck);
43 check(false, regularObject instanceof ExactCheck);
45 check(true, abstractCheckImpl instanceof AbstractCheck);
46 check(false, regularObject instanceof AbstractCheck);
48 check(true, interfaceCheckImpl instanceof InterfaceCheck);
49 check(false, regularObject instanceof InterfaceCheck);
51 check(true, normalCheck instanceof NormalCheck);
52 check(true, exactCheck instanceof NormalCheck);
53 check(false, regularObject instanceof NormalCheck);
55 check(false, regularObject instanceof int[]);
56 check(false, objectArray instanceof int[]);
57 check(true, intArray instanceof int[]);
58 check(false, doubleArray instanceof int[]);
60 check(false, regularObject instanceof ExactCheck[]);
61 check(false, objectArray instanceof ExactCheck[]);
62 check(false, doubleArray instanceof ExactCheck[]);
63 check(true, exactArray instanceof ExactCheck[]);
64 check(false, normalArray instanceof ExactCheck[]);
66 check(false, regularObject instanceof NormalCheck[]);
67 check(false, objectArray instanceof NormalCheck[]);
68 check(false, doubleArray instanceof NormalCheck[]);
69 check(true, exactArray instanceof NormalCheck[]);
70 check(true, normalArray instanceof NormalCheck[]);
72 check(false, regularObject instanceof Object[]);
73 check(true, objectArray instanceof Object[]);
74 check(false, doubleArray instanceof Object[]);
75 check(true, exactArray instanceof Object[]);
76 check(true, normalArray instanceof Object[]);
81 check(true, exactCheck instanceof ExactCheck);
82 check(false, regularObject instanceof ExactCheck);
84 check(true, abstractCheckImpl instanceof AbstractCheck);
85 check(false, regularObject instanceof AbstractCheck);
87 check(true, interfaceCheckImpl instanceof InterfaceCheck);
88 check(false, regularObject instanceof InterfaceCheck);
90 check(true, normalCheck instanceof NormalCheck);
91 check(true, exactCheck instanceof NormalCheck);
92 check(false, regularObject instanceof NormalCheck);
94 check(false, regularObject instanceof int[]);
95 check(false, objectArray instanceof int[]);
96 check(true, intArray instanceof int[]);
97 check(false, doubleArray instanceof int[]);
99 check(false, regularObject instanceof ExactCheck[]);
100 check(false, objectArray instanceof ExactCheck[]);
101 check(false, doubleArray instanceof ExactCheck[]);
102 check(true, exactArray instanceof ExactCheck[]);
103 check(false, normalArray instanceof ExactCheck[]);
105 check(false, regularObject instanceof NormalCheck[]);
106 check(false, objectArray instanceof NormalCheck[]);
107 check(false, doubleArray instanceof NormalCheck[]);
108 check(true, exactArray instanceof NormalCheck[]);
109 check(true, normalArray instanceof NormalCheck[]);
111 check(false, regularObject instanceof Object[]);
112 check(true, objectArray instanceof Object[]);
113 check(false, doubleArray instanceof Object[]);
114 check(true, exactArray instanceof Object[]);
115 check(true, normalArray instanceof Object[]);
121 public static void check(boolean expected, boolean actual) {
128 // Exact check.
135 // Abstract check.
142 // Interface check.
149 // Normal check.
157 // Primitive array check.
174 // Array with final component type check.
196 // Array with non final component type check.
215 // Object[] check.