Lines Matching refs:tsym

86     public TypeSymbol tsym;
118 public Type(int tag, TypeSymbol tsym) {
120 this.tsym = tsym;
160 return new Type(tag, tsym) {
167 return tsym.type;
195 String s = (tsym == null || tsym.name == null)
197 : tsym.name.toString();
333 return tsym.completer == null
338 && (tsym.flags() & COMPOUND) != 0;
342 return (tsym.flags() & INTERFACE) != 0;
346 return (tsym.flags() & FINAL) != 0;
406 return tsym;
445 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym) {
446 super(WILDCARD, tsym);
451 this(t.type, t.kind, t.tsym, bound);
454 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym, TypeVar bound) {
455 this(type, kind, tsym);
507 return new WildcardType(t, kind, tsym, bound);
563 public ClassType(Type outer, List<Type> typarams, TypeSymbol tsym) {
564 super(CLASS, tsym);
574 typarams.length() == tsym.type.typarams().length() :
588 return new ClassType(getEnclosingType(), typarams_field, tsym) {
595 return tsym.type;
604 if (getEnclosingType().tag == CLASS && tsym.owner.kind == TYP) {
607 buf.append(className(tsym, false));
609 buf.append(className(tsym, true));
629 ClassType norm = (ClassType) tsym.type;
681 this != tsym.type && tsym.type.isErroneous();
695 * allparams.isEmpty() && tsym.type.allparams.nonEmpty();
699 this != tsym.type && // necessary, but not sufficient condition
700 tsym.type.allparams().nonEmpty() &&
710 else return new ClassType(outer1, typarams1, tsym);
723 if (tsym.completer != null) tsym.complete();
736 public ErasedClassType(Type outer, TypeSymbol tsym) {
737 super(outer, List.<Type>nil(), tsym);
751 super(ct.outer_field, ct.typarams_field, ct.tsym);
760 return tsym.type;
827 return new ArrayType(elemtype, tsym) {
838 else return new ArrayType(elemtype1, tsym);
937 else return new MethodType(argtypes1, restype1, thrown1, tsym);
973 PackageType(TypeSymbol tsym) {
974 super(PACKAGE, tsym);
983 return tsym.getQualifiedName().toString();
1002 * The class type then has as `tsym' a compiler generated class `c',
1018 tsym = new TypeSymbol(0, name, this, owner);
1022 public TypeVar(TypeSymbol tsym, Type bound, Type lower) {
1023 super(TYPEVAR, tsym);
1097 super(tag, qtype.tsym);
1299 public ErrorType(Type originalType, TypeSymbol tsym) {
1302 this.tsym = tsym;