Lines Matching defs:tsym

126     public TypeSymbol tsym;
219 public Type(TypeSymbol tsym, TypeMetadata metadata) {
221 this.tsym = tsym;
239 else return new ClassType(outer1, typarams1, t.tsym, t.metadata) {
255 return new WildcardType(t, wt.kind, wt.tsym, wt.bound, wt.metadata) {
268 else return new ArrayType(elemtype1, t.tsym, t.metadata) {
287 else return new MethodType(argtypes1, restype1, thrown1, t.tsym) {
454 if (tsym == null || tsym.name == null) {
457 sb.append(tsym.name);
598 return (tsym.flags() & INTERFACE) != 0;
602 return (tsym.flags() & FINAL) != 0;
658 return tsym;
676 public JCPrimitiveType(TypeTag tag, TypeSymbol tsym) {
677 this(tag, tsym, TypeMetadata.EMPTY);
680 private JCPrimitiveType(TypeTag tag, TypeSymbol tsym, TypeMetadata metadata) {
681 super(tsym, metadata);
688 return new JCPrimitiveType(tag, tsym, md) {
734 return new JCPrimitiveType(tag, tsym, metadata) {
741 return tsym.type;
817 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym) {
818 this(type, kind, tsym, null, TypeMetadata.EMPTY);
821 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym,
823 this(type, kind, tsym, null, metadata);
826 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym,
828 this(type, kind, tsym, bound, TypeMetadata.EMPTY);
831 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym,
833 super(tsym, metadata);
841 return new WildcardType(type, kind, tsym, bound, md) {
963 public ClassType(Type outer, List<Type> typarams, TypeSymbol tsym) {
964 this(outer, typarams, tsym, TypeMetadata.EMPTY);
967 public ClassType(Type outer, List<Type> typarams, TypeSymbol tsym,
969 super(tsym, metadata);
979 return new ClassType(outer_field, typarams_field, tsym, md) {
997 return new ClassType(getEnclosingType(), typarams_field, tsym, metadata) {
1004 return tsym.type;
1014 if (getEnclosingType().hasTag(CLASS) && tsym.owner.kind == TYP) {
1018 buf.append(className(tsym, false));
1021 buf.append(className(tsym, true));
1042 ClassType norm = (ClassType) tsym.type;
1096 this != tsym.type && tsym.type.isErroneous();
1120 * {@code allparams.isEmpty() && tsym.type.allparams.nonEmpty(); }
1124 this != tsym.type && // necessary, but not sufficient condition
1125 tsym.type.allparams().nonEmpty() &&
1139 tsym.complete();
1154 public ErasedClassType(Type outer, TypeSymbol tsym,
1156 super(outer, List.nil(), tsym, metadata);
1172 super(ct.outer_field, ct.typarams_field, ct.tsym);
1186 return tsym.type;
1232 Assert.check(!supertype_field.tsym.isCompleted() ||
1295 this(that.elemtype, that.tsym, that.getMetadata());
1300 return new ArrayType(elemtype, tsym, md) {
1381 return new ArrayType(elemtype, tsym, metadata) {
1517 PackageType(PackageSymbol tsym) {
1519 super(tsym, TypeMetadata.EMPTY);
1539 return tsym.getQualifiedName().toString();
1555 ModuleType(ModuleSymbol tsym) {
1557 super(tsym, TypeMetadata.EMPTY);
1582 return tsym.getQualifiedName().toString();
1603 * The class type then has as `tsym' a compiler generated class `c',
1619 tsym = new TypeVariableSymbol(0, name, this, owner);
1624 public TypeVar(TypeSymbol tsym, Type bound, Type lower) {
1625 this(tsym, bound, lower, TypeMetadata.EMPTY);
1628 public TypeVar(TypeSymbol tsym, Type bound, Type lower,
1630 super(tsym, metadata);
1637 return new TypeVar(tsym, bound, lower, md) {
1655 if ((bound == null || bound.hasTag(NONE)) && this != tsym.type) {
1656 bound = tsym.type.getUpperBound();
1712 public CapturedType(TypeSymbol tsym,
1718 super(tsym, bound, lower, metadata);
1724 return new CapturedType(tsym, bound, bound, lower, wildcard, md) {
1762 super(qtype.tsym, metadata);
2307 public ErrorType(Type originalType, TypeSymbol tsym) {
2309 this.tsym = tsym;
2313 private ErrorType(Type originalType, TypeSymbol tsym,
2316 this.tsym = tsym;
2322 return new ErrorType(originalType, tsym, md) {