Assert.isTrue(isPatternFilter() ^ isCustomFilter()); Assert.isNotNull(getId()); Assert.isNotNull(getName());
Assert.isTrue(isPatternFilter() ^ isCustomFilter(), "An extension for extension-point org.eclipse.jdt.ui.javaElementFilters does not specify a correct filter"); Assert.isNotNull(getId(), "An extension for extension-point org.eclipse.jdt.ui.javaElementFilters does not provide a valid ID"); Assert.isNotNull(getName(), "An extension for extension-point org.eclipse.jdt.ui.javaElementFilters does not provide a valid name");
	private FilterDescriptor(IConfigurationElement element) {		fElement= element;		// it is either a pattern filter or a custom filter		Assert.isTrue(isPatternFilter() ^ isCustomFilter());		Assert.isNotNull(getId());		Assert.isNotNull(getName());	}