1973 if (!types.isReifiable(elemtype)) |
1973 if (!types.isReifiable(elemtype)) |
1974 log.error(tree.pos(), "generic.array.creation"); |
1974 log.error(tree.pos(), "generic.array.creation"); |
1975 result = check(tree, owntype, VAL, pkind, pt); |
1975 result = check(tree, owntype, VAL, pkind, pt); |
1976 } |
1976 } |
1977 |
1977 |
|
1978 @Override |
|
1979 public void visitLambda(JCLambda that) { |
|
1980 throw new UnsupportedOperationException("Lambda expression not supported yet"); |
|
1981 } |
|
1982 |
1978 public void visitParens(JCParens tree) { |
1983 public void visitParens(JCParens tree) { |
1979 Type owntype = attribTree(tree.expr, env, pkind, pt); |
1984 Type owntype = attribTree(tree.expr, env, pkind, pt); |
1980 result = check(tree, owntype, pkind, pkind, pt); |
1985 result = check(tree, owntype, pkind, pkind, pt); |
1981 Symbol sym = TreeInfo.symbol(tree); |
1986 Symbol sym = TreeInfo.symbol(tree); |
1982 if (sym != null && (sym.kind&(TYP|PCK)) != 0) |
1987 if (sym != null && (sym.kind&(TYP|PCK)) != 0) |