public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) { if (getClass() == TypeVariableBinding.class) { // TVB only: if the declaration itself carries type annotations, // make sure TypeSystem will still have an unannotated variant at position 0, to answer getUnannotated() // (in this case the unannotated type is never explicit in source code, that's why we need this charade). this.environment.typeSystem.forceRegisterAsDerived(this); } else { this.environment.getUnannotatedType(this); // exposes original TVB/capture to type system for id stamping purposes. } super.setTypeAnnotations(annotations, evalNullAnnotations); } /**
public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) { if (getClass() == TypeVariableBinding.class) { // TVB only: if the declaration itself carries type annotations, // make sure TypeSystem will still have an unannotated variant at position 0, to answer getUnannotated() // (in this case the unannotated type is never explicit in source code, that's why we need this charade). this.environment.typeSystem.forceRegisterAsDerived(this); } else { this.environment.getUnannotatedType(this); // exposes original TVB/capture to type system for id stamping purposes. } super.setTypeAnnotations(annotations, evalNullAnnotations); } /**
public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) { if (getClass() == TypeVariableBinding.class) { // TVB only: if the declaration itself carries type annotations, // make sure TypeSystem will still have an unannotated variant at position 0, to answer getUnannotated() // (in this case the unannotated type is never explicit in source code, that's why we need this charade). this.environment.typeSystem.forceRegisterAsDerived(this); } else { this.environment.getUnannotatedType(this); // exposes original TVB/capture to type system for id stamping purposes. } super.setTypeAnnotations(annotations, evalNullAnnotations); } /**
@Override public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) { if (getClass() == TypeVariableBinding.class) { // TVB only: if the declaration itself carries type annotations, // make sure TypeSystem will still have an unannotated variant at position 0, to answer getUnannotated() // (in this case the unannotated type is never explicit in source code, that's why we need this charade). this.environment.typeSystem.forceRegisterAsDerived(this); } else { this.environment.getUnannotatedType(this); // exposes original TVB/capture to type system for id stamping purposes. } super.setTypeAnnotations(annotations, evalNullAnnotations); } /**
public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) { if (getClass() == TypeVariableBinding.class) { // TVB only: if the declaration itself carries type annotations, // make sure TypeSystem will still have an unannotated variant at position 0, to answer getUnannotated() // (in this case the unannotated type is never explicit in source code, that's why we need this charade). this.environment.typeSystem.forceRegisterAsDerived(this); } else { this.environment.getUnannotatedType(this); // exposes original TVB/capture to type system for id stamping purposes. } super.setTypeAnnotations(annotations, evalNullAnnotations); } /**