Java Code Examples for org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory#createTypeProvider()
The following examples show how to use
org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory#createTypeProvider() .
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: JdtBasedSimpleTypeScopeTest.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Before public void setUp() throws Exception { projectProvider = new MockJavaProjectProvider(); factory = new JdtTypeProviderFactory(projectProvider); resourceSet = new ResourceSetImpl(); typeScope = new JdtBasedSimpleTypeScope(factory.createTypeProvider(resourceSet), new IQualifiedNameConverter.DefaultImpl(),Predicates.<IEObjectDescription>alwaysTrue()); }
Example 2
Source File: JdtBasedConstructorScopeTest.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Before public void setUp() throws Exception { projectProvider = new MockJavaProjectProvider(); factory = new JdtTypeProviderFactory(projectProvider); resourceSet = new ResourceSetImpl(); typeScope = new JdtBasedSimpleTypeScope(factory.createTypeProvider(resourceSet), new IQualifiedNameConverter.DefaultImpl(),Predicates.<IEObjectDescription>alwaysTrue()); constructorScope = new JdtBasedConstructorScope(typeScope); }