final IFormattingContext context= new CommentFormattingContext(); if (context != null) {  final Map map= new Hashtable(JavaCore.getOptions());  context.storeToMap(PreferenceConstants.getPreferenceStore(), map, false); context.setProperty(FormattingContextProperties.CONTEXT_PREFERENCES, map); }
IFormattingContext context= new CommentFormattingContext(); Map map= new Hashtable(JavaCore.getOptions());  context.storeToMap(PreferenceConstants.getPreferenceStore(), map, false); context.setProperty(FormattingContextProperties.CONTEXT_PREFERENCES, map);
	public IFormattingContext createFormattingContext() {		final IFormattingContext context= new CommentFormattingContext();		if (context != null) {						final Map map= new Hashtable(JavaCore.getOptions());						context.storeToMap(PreferenceConstants.getPreferenceStore(), map, false);			context.setProperty(FormattingContextProperties.CONTEXT_PREFERENCES, map);		}		return context;	}