Java Code Examples for org.eclipse.xtext.common.types.JvmUnknownTypeReference#setQualifiedName()

The following examples show how to use org.eclipse.xtext.common.types.JvmUnknownTypeReference#setQualifiedName() . 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: UnknownTypeReference.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public JvmTypeReference toTypeReference() {
	JvmUnknownTypeReference result = getTypesFactory().createJvmUnknownTypeReference();
	if (name != null)
		result.setQualifiedName(name);
	return result;
}
 
Example 2
Source File: JvmTypeReferenceBuilder.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
private JvmTypeReference createUnknownTypeReference(String name) {
	JvmUnknownTypeReference reference = TypesFactory.eINSTANCE.createJvmUnknownTypeReference();
	reference.setQualifiedName(name);
	return reference;
}
 
Example 3
Source File: TypeReferences.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
protected JvmUnknownTypeReference getUnknownTypeReference(String qualifiedName) {
	JvmUnknownTypeReference reference = TypesFactory.eINSTANCE.createJvmUnknownTypeReference();
	reference.setQualifiedName(qualifiedName);
	return reference;
}