code: protected void completeSarlCapacities(boolean allowCapacityType, boolean isExtensionFilter, ContentAssistContext context,
  			ICompletionProposalAcceptor acceptor) {
  		if (isSarlProposalEnabled()) {
  			completeSubJavaTypes(Capacity.class, allowCapacityType, context,
  					TypesPackage.Literals.JVM_PARAMETERIZED_TYPE_REFERENCE__TYPE,
  					getQualifiedNameValueConverter(),
  					isExtensionFilter ? createExtensionFilter(context, IJavaSearchConstants.INSTANCEOF_TYPE_REFERENCE)
  							: createVisibilityFilter(context, IJavaSearchConstants.INTERFACE), acceptor);
  		}
  	}
docs: Complete for obtaining SARL capacities if the proposals are enabled.
  
  @param allowCapacityType is <code>true</code> for enabling the {@link Capacity} type to be in the proposals.
  @param isExtensionFilter indicates if the type filter is for "extends" or only based on visibility.
  @param context the completion context.
  @param acceptor the proposal acceptor.
  @see #isSarlProposalEnabled()