Lines Matching refs:check
81 check(m.getGenericReturnType(), "return type of method " + m);
82 check(m.getGenericParameterTypes(), "parameter", "method " + m);
83 check(m.getTypeParameters(), "type parameter", "method " + m);
88 check(constr.getGenericParameterTypes(), "parameter",
90 check(constr.getTypeParameters(), "type parameter",
99 private static void check(Type[] types, String elementKind, String what) {
102 check(t, elementKind + " " + (i+1) + " of " + what);
108 private static void check(Type t, String what) {
122 check(pt.getActualTypeArguments(), "type argument", what);
125 check(tv.getBounds(), "bound", what);
128 check((Type) gd, "declaration containing " + what);
131 check(wt.getLowerBounds(), "lower bound", "wildcard type in " + what);
132 check(wt.getUpperBounds(), "upper bound", "wildcard type in " + what);
135 check(c.getGenericInterfaces(), "superinterface", c.toString());
136 check(c.getGenericSuperclass(), "superclass of " + c);
137 check(c.getTypeParameters(), "type parameter", c.toString());
145 check(comp, "component type of " + what);