Lines Matching defs:syms

74     final Symtab syms;
100 syms = Symtab.instance(context);
295 syms.errSymbol.name,
297 localEnv.enclClass.sym = syms.errSymbol;
436 tree.type = syms.errType;
546 types.setBounds(a, List.of(syms.objectType));
788 chk.checkType(l.head.pos(), l.head.type, syms.throwableType);
813 if (tree.name == names.init && owner.type != syms.objectType) {
926 attribExpr(tree.cond, env, syms.booleanType);
931 attribExpr(tree.cond, env, syms.booleanType);
940 if (tree.cond != null) attribExpr(tree.cond, loopEnv, syms.booleanType);
957 Type base = types.asSuper(exprType, syms.iterableType.tsym);
967 ? syms.objectType
1005 if (types.isSameType(seltype, syms.stringType)) {
1013 seltype = chk.checkType(tree.selector.pos(), seltype, syms.intType);
1071 return syms.errSymbol;
1106 chk.checkType(resource, resource.type, syms.autoCloseableType, "try.not.applicable.to.type");
1114 attribExpr(resource, tryEnv, syms.autoCloseableType, "try.not.applicable.to.type");
1137 syms.throwableType);
1151 types.asSuper(resource, syms.autoCloseableType.tsym) != null) {
1152 Symbol close = syms.noSymbol;
1170 close.overrides(syms.autoCloseableClose, resource.tsym, types, true) &&
1171 chk.isHandled(syms.interruptedExceptionType, types.memberType(resource, close).getThrownTypes()) &&
1179 attribExpr(tree.cond, env, syms.booleanType);
1249 Type candidate = syms.typeOfTag[i];
1282 attribExpr(tree.cond, env, syms.booleanType);
1398 attribExpr(tree.expr, env, syms.throwableType);
1403 attribExpr(tree.cond, env, syms.booleanType);
1447 if (site == syms.objectType) {
1449 site = types.createErrorType(syms.objectType);
1485 if (site.tsym == syms.enumSym && allowEnums)
1486 argtypes = argtypes.prepend(syms.intType).prepend(syms.stringType);
1509 result = tree.type = syms.voidType;
1548 syms.boundClass)),
1582 MethodType mt = new MethodType(argtypes, null, null, syms.methodClass);
1737 syms.errType :
1810 tree.constructorType = syms.errType;
1875 clazztype = syms.errType;
1884 pt.tag == NONE ? syms.objectType : pt,
1944 tree.operator = syms.nullcheck;
1957 attribExpr(l.head, env, syms.intType);
1958 owntype = new ArrayType(owntype, syms.arrayClass);
1975 owntype = new ArrayType(elemtype, syms.arrayClass);
2051 if (tree.arg.type.tsym == syms.stringType.tsym) {
2052 tree.arg.type = syms.stringType;
2091 if (tree.lhs.type.tsym == syms.stringType.tsym) {
2092 tree.lhs.type = syms.stringType;
2094 if (tree.rhs.type.tsym == syms.stringType.tsym) {
2095 tree.rhs.type = syms.stringType;
2133 result = check(tree, syms.booleanType, VAL, pkind, pt);
2139 attribExpr(tree.index, env, syms.intType);
2315 sym.overrides(syms.autoCloseableClose, sitesym.type.tsym, types, true) &&
2405 Type t = syms.classType;
2433 return syms.errSymbol;
2450 Type t = syms.classType;
2457 return syms.errSymbol;
2771 sym.owner == syms.enumSym)
2814 syms.methodClass);
2864 return (tag == TypeTags.CLASS) ? syms.stringType : syms.typeOfTag[tag];
2868 result = check(tree, syms.typeOfTag[tree.typetag], TYP, pkind, pt);
2873 Type type = new ArrayType(etype, syms.arrayClass);
2942 syms.throwableType);
3050 ? syms.objectType
3054 syms.boundClass),
3060 result = tree.type = syms.errType;
3067 result = tree.type = syms.errType;
3162 if (st.tsym == syms.enumSym &&
3238 if (!c.type.allparams().isEmpty() && types.isSubtype(c.type, syms.throwableType))
3283 syms.serializableType.complete();
3288 return types.isSubtype(c.type, syms.serializableType);
3342 that.type = syms.unknownType;
3358 that.sym = syms.unknownSymbol;
3365 that.sym = syms.unknownSymbol;
3374 that.sym = new ClassSymbol(0, that.name, that.type, syms.noSymbol);
3383 that.sym = new MethodSymbol(0, that.name, that.type, syms.noSymbol);
3392 that.sym = new VarSymbol(0, that.name, that.type, syms.noSymbol);
3401 that.constructor = new MethodSymbol(0, names.init, syms.unknownType, syms.noSymbol);
3404 that.constructorType = syms.unknownType;
3412 that.operator = new OperatorSymbol(names.empty, syms.unknownType, -1, syms.noSymbol);
3419 that.operator = new OperatorSymbol(names.empty, syms.unknownType, -1, syms.noSymbol);
3426 that.operator = new OperatorSymbol(names.empty, syms.unknownType, -1, syms.noSymbol);