if (!field.isReadOnly() && Flags.isDeprecated(field.getFlags()))
if (canEnable(field))
	private IMember getSelectedMember(final IStructuredSelection selection) throws JavaModelException {		final Object[] elements= selection.toArray();		if (elements.length == 1) {			if (elements[0] instanceof IMethod) {				final IMethod method= (IMethod) elements[0];				if (!method.isReadOnly() && !method.isMainMethod() && Flags.isDeprecated(method.getFlags()))					return method;			} else if (elements[0] instanceof IField) {				final IField field= (IField) elements[0];				if (!field.isReadOnly() && Flags.isDeprecated(field.getFlags()))					return field;			}		}		return null;	}