use of org.eclipse.xtext.xbase.typesystem.references.ParameterizedTypeReference in project xtext-eclipse by eclipse.
the class JavaTypeQuickfixes method getVisibilityHelper.
protected ContextualVisibilityHelper getVisibilityHelper(final JvmDeclaredType contextType) {
StandardTypeReferenceOwner owner = new StandardTypeReferenceOwner(services, contextType);
final ParameterizedTypeReference contextTypeRef = owner.newParameterizedTypeReference(contextType);
final ContextualVisibilityHelper visibilityHelper = new ContextualVisibilityHelper(contextTypeRef);
return visibilityHelper;
}
Aggregations