Bug 271823 Define common injection annotations
We currently have three copies of the various annotations for injection (@Inject, @In, @Out, etc). We should have a single set of annotations in a common place rather than copying them everywhere. This is inhibiting wider use of annotations within the e4 workbench because currently each bundle needs to redefine them. I propose creating a new bundle org.eclipse.e4.core.services.annotations that contains these common annotations (and possibly others in the future).
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/ExifTable.java
try {
						Exif exif = new Exif(resource.getLocationURI(), contents);
						inputList.add(exif);
					} catch (Exception e) {
						logger.warn(((IFile) resource).getFullPath() + ": "
								+ e.getMessage());
					} finally {
						try {
							contents.close();
						} catch (IOException e) {
							logger.warn(e, "Could not close stream");
						}
					}
				}
			}
		} catch (CoreException e) {
			
			e.printStackTrace();
		}
	}
	@In
	void setPersistedState(String persistedState) {
		changeSupport.firePropertyChange("persistedState", this.persistedState,
				this.persistedState = persistedState);
	}
	private void setSelection(Exif newSelection) {
		changeSupport.firePropertyChange("selection", this.selection,
				this.selection = newSelection);
	}
	@PostConstruct