\r
public static String serialize(Set<String> strings) {\r
Assert.isLegal(strings != null);\r
- @SuppressWarnings("null")\r
StringBuffer buf= new StringBuffer(strings.size() * 20);\r
for (Iterator<String> it= strings.iterator(); it.hasNext();) {\r
buf.append(it.next());\r
fIsGlobal= helper.getDefaultAttribute(GLOBAL, true);\r
fIncludeInMenu= helper.getDefaultAttribute(INCLUDE_IN_MENU, true);\r
\r
- @SuppressWarnings("null")\r
IConfigurationElement[] targetEditors= element.getChildren(TARGET_ID);\r
IConfigurationElement[] targetClasses= element.getChildren(TARGET_CLASS);\r
\r
Assert.isLegal(disassembly != null);\r
RulerColumnTarget target= getTarget();\r
\r
- @SuppressWarnings("null")\r
IWorkbenchPartSite site= disassembly.getSite();\r
if (site != null && target.matchesEditorId(site.getId()))\r
return true;\r
* @param descriptor a ruler contribution descriptor\r
* @return <code>true</code> if the ruler is enabled, <code>false</code> otherwise\r
*/\r
- @SuppressWarnings("null")\r
public boolean isEnabled(RulerColumnDescriptor descriptor) {\r
Assert.isLegal(descriptor != null);\r
String preference= fStore.getString(fKey);\r
*/\r
public void setEnabled(RulerColumnDescriptor descriptor, boolean enabled) {\r
Assert.isLegal(descriptor != null);\r
- @SuppressWarnings("null")\r
String id= descriptor.getId();\r
String preference= fStore.getString(fKey);\r
Set<String> marked= StringSetSerializer.deserialize(preference);\r