org.elasticsearch.common.inject.assistedinject
Annotation Type Assisted


@Target(value={FIELD,PARAMETER,METHOD})
@Retention(value=RUNTIME)
public @interface Assisted

Annotates an injected parameter or field whose value comes from an argument to a factory method.

Author:
jmourits@google.com (Jerome Mourits), jessewilson@google.com (Jesse Wilson)

Optional Element Summary
 String value
          The unique name for this parameter.
 

value

public abstract String value
The unique name for this parameter. This is matched to the @Assisted constructor parameter with the same value. Names are not necessary when the parameter types are distinct.

Default:
""


Copyright © 2009-2012. All Rights Reserved.