org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer Java Examples

The following examples show how to use org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RuntimeInjectorProviderWithReversedCandidates.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
@Override
protected Injector internalCreateInjector() {
    return new RuntimeTestSetup() {
    	@Override
    	public Injector createInjector() {
    		return Guice.createInjector(new XtendRuntimeTestModule() {
    			@Override
				public Class<? extends ITypeComputer> bindITypeComputer() {
    				return XtendTypeComputerWithReversedCandidates.class;
    			}
    		});
    	}
    	
    }.createInjectorAndDoEMFRegistration();
}
 
Example #2
Source File: PublicReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void setTypeComputer(ITypeComputer typeComputer) {
	super.setTypeComputer(typeComputer);
}
 
Example #3
Source File: DefaultReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
protected ITypeComputer getTypeComputer() {
	return typeComputer;
}
 
Example #4
Source File: DefaultReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
protected void setTypeComputer(ITypeComputer typeComputer) {
	this.typeComputer = typeComputer;
}
 
Example #5
Source File: AbstractTypeComputationState.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
protected ITypeComputer getTypeComputer() {
	return reentrantTypeResolver.getTypeComputer();
}
 
Example #6
Source File: DefaultXbaseWithAnnotationsRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ITypeComputer> bindITypeComputer() {
	return XbaseWithAnnotationsTypeComputer.class;
}
 
Example #7
Source File: EagerReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected ITypeComputer getTypeComputer() {
	return typeComputer;
}
 
Example #8
Source File: PublicReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void setTypeComputer(ITypeComputer typeComputer) {
	super.setTypeComputer(typeComputer);
}
 
Example #9
Source File: PublicReentrantTypeResolver.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void setTypeComputer(ITypeComputer typeComputer) {
	super.setTypeComputer(typeComputer);
}
 
Example #10
Source File: PublicReentrantTypeResolver.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void setTypeComputer(final ITypeComputer typeComputer) {
  super.setTypeComputer(typeComputer);
}
 
Example #11
Source File: XtendRuntimeModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends ITypeComputer> bindITypeComputer() {
	return XtendTypeComputer.class;
}
 
Example #12
Source File: CheckRuntimeModule.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public Class<? extends ITypeComputer> bindITypeComputer() {
  return CheckTypeComputer.class;
}
 
Example #13
Source File: XtxtUMLRuntimeModule.java    From txtUML with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends ITypeComputer> bindITypeComputer() {
	return XtxtUMLTypeComputer.class;
}
 
Example #14
Source File: AbstractSARLRuntimeModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public Class<? extends ITypeComputer> bindITypeComputer() {
	return SARLTypeComputer.class;
}