@Qualifier @Documented @Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) public @interface Optional
null value will be injected; Example usage:
public class Car {
@Inject @Optional void setOverdrive(OverdriveMode mode);
...
}
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.