use of org.eclipse.xtext.xbase.typesystem.references.IndexingLightweightTypeReferenceFactory in project xtext-xtend by eclipse.
the class CompilationUnitImpl method before.
public void before(final ActiveAnnotationContexts.AnnotationCallback phase) {
this.lastPhase = phase;
final StandardTypeReferenceOwner standardTypeReferenceOwner = new StandardTypeReferenceOwner(this.services, this.xtendFile);
boolean _equals = Objects.equal(ActiveAnnotationContexts.AnnotationCallback.INDEXING, phase);
if (_equals) {
IndexingLightweightTypeReferenceFactory _indexingLightweightTypeReferenceFactory = new IndexingLightweightTypeReferenceFactory(standardTypeReferenceOwner);
this.typeRefFactory = _indexingLightweightTypeReferenceFactory;
} else {
LightweightTypeReferenceFactory _lightweightTypeReferenceFactory = new LightweightTypeReferenceFactory(standardTypeReferenceOwner);
this.typeRefFactory = _lightweightTypeReferenceFactory;
}
boolean _equals_1 = Objects.equal(ActiveAnnotationContexts.AnnotationCallback.VALIDATION, phase);
if (_equals_1) {
this.problemSupport.validationPhaseStarted();
}
}
Aggregations