/** Attribute a type argument list, returning a list of types. * Check that all the types are references. */ List<Type> attribTypes(List<JCExpression> trees, Env<AttrContext> env) { List<Type> types = attribAnyTypes(trees, env); return chk.checkRefTypes(trees, types); }
/** Attribute a type argument list, returning a list of types. * Check that all the types are references. */ List<Type> attribTypes(List<JCExpression> trees, Env<AttrContext> env) { List<Type> types = attribAnyTypes(trees, env); return chk.checkRefTypes(trees, types); }
restype = adjustMethodReturnType(qualifier, methName, argtypes, restype); chk.checkRefTypes(tree.typeargs, typeargtypes);
restype = adjustMethodReturnType(qualifier, methName, argtypes, restype); chk.checkRefTypes(tree.typeargs, typeargtypes);