# Package org.eclipse.e4.core.di.annotations

package org.eclipse.e4.core.di.annotations
Application programming interfaces for annotations used by the dependency injection.

## Package Specification

This package provides application programming interfaces for annotations used by the dependency injection.

Related Packages
Package
Description
org.eclipse.e4.core.di
Application programming interfaces describing dependency injection framework.
org.eclipse.e4.core.di.extensions
Application programming interfaces for Eclipse-specific extensions to the dependency injection framework.
org.eclipse.e4.core.di.suppliers
Application programming interfaces for dependency injection object suppliers.
Annotation Interfaces
Class
Description
CanExecute
Use this annotation to tag methods that determine if this object's `Execute` method can be called.
Creatable
Specifies that the target class can be created by an injector as needed.
Evaluate
Use this annotation to tag methods that determine if MUIElements (e.g., MMenu, MToolbar and it's items etc.) should be visible or not.
Execute
Use this annotation to tag methods that need to be executed.
GroupUpdates
This annotation indicates that injection field or method supports batching of updates.
Optional
This annotation can be applied to methods, fields, and parameters to mark them as optional for the dependency injection.