OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Assisted
(Results
1 - 10
of
10
) sorted by null
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
DancePartyImpl.java
20
import com.google.inject.assistedinject.
Assisted
;
24
public DancePartyImpl(@
Assisted
String thatNewSound, MartyMcFly guitarist) {}
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
ManyConstructorsTest.java
193
@AssistedInject TooManyMatches(@
Assisted
String name, @
Assisted
int index) {
196
@AssistedInject TooManyMatches(@
Assisted
int index, @
Assisted
String name) {
206
@AssistedInject Foo(@
Assisted
String name) {
211
@AssistedInject Foo(@
Assisted
String name, @
Assisted
int index) {
252
Farm momsFarm(@
Assisted
("mom") String mom);
253
Farm momAndPopsFarm(@
Assisted
("mom") String mom, @
Assisted
("pop") String pop)
[
all
...]
FactoryProvider2Test.java
105
public Mustang(double engineSize, @
Assisted
Color color) {
122
@
Assisted
Color color) {
162
public Corvette(@
Assisted
Color color, Float maxMph, @
Assisted
boolean isConvertable) {
186
public Beetle(@
Assisted
Color color) {
218
public Porsche(@
Assisted
Color color, double price) {
249
public Firebird(Provider<String> modifiersProvider, @
Assisted
Color color) {
282
public Flamingbird(Provider<String> modifiersProvider, @
Assisted
Provider<Color> colorProvider) {
313
Set<String> extraFeatures, Set<Integer> featureActivationSpeeds, @
Assisted
Color color) {
341
public Z(Provider<Set<String>> manufacturersProvider, @
Assisted
Color color)
[
all
...]
FactoryProviderTest.java
126
public Mustang(double engineSize, @
Assisted
Color color) {
141
@
Assisted
Color color) {
182
public Corvette(@
Assisted
Color color) {
187
public Corvette(@
Assisted
Color color, @
Assisted
boolean isConvertable) {
192
public Corvette(@
Assisted
Color color, Float maxMph, @
Assisted
boolean isConvertable) {
211
public Beetle(@
Assisted
Color color) {
216
public Beetle(@
Assisted
Color color, @
Assisted
boolean isConvertable)
[
all
...]
ExtensionSpiTest.java
146
@Inject Cat(@
Assisted
String owner) {}
150
@Inject SimpleCat(@
Assisted
String owner) {
155
@AssistedInject StrangeCat(@
Assisted
String owner) {}
156
@AssistedInject StrangeCat(@
Assisted
Integer age) {}
160
@Inject public ExplodingCat(@Named("catName1") String name, @
Assisted
String owner,
165
@Inject CatWithAName(@
Assisted
String owner, @Named("catName2") String name) {
FactoryModuleBuilderTest.java
371
public Mustang(@
Assisted
Color color) {
379
public Beetle(@
Assisted
Color color) {
389
@Inject Foo(@
Assisted
Bar bar, Baz<E> baz) {}
473
@Inject Dog(@
Assisted
String a, double b) {}
479
@AssistedInject Cat(@
Assisted
String a, @Named("cat1") String b) {}
480
@AssistedInject Cat(@
Assisted
int a, @Named("cat2") String b) {}
481
@AssistedInject Cat(@
Assisted
byte a, @Named("catfail") String b) {} // not a dependency!
536
public AssistedSingleton(@SuppressWarnings("unused") @
Assisted
String string) {
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
Assisted.java
36
public @interface
Assisted
{
39
* The unique name for this parameter. This is matched to the {@literal @
Assisted
} constructor
FactoryProvider2.java
95
static final
Assisted
DEFAULT_ANNOTATION = new
Assisted
() {
101
return
Assisted
.class;
105
return o instanceof
Assisted
&& ((
Assisted
) o).value().isEmpty();
113
return "@" +
Assisted
.class.getName() + "(value=)";
117
/** All the data necessary to perform an
assisted
inject. */
128
/** All non-
assisted
dependencies required by this method. */
186
/** Mapping from method to the data about how the method will be
assisted
. */
453
* marked with {@link AssistedInject}, this requires all {@link
Assisted
} parameters to exactl
[
all
...]
Parameter.java
65
result.append("@
Assisted
");
75
if (annotation.annotationType().equals(
Assisted
.class)) {
FactoryProvider.java
69
* requires an {@literal @}{@link
Assisted
} annotation. This serves to document that the parameter
76
* <strong>{@literal @}
Assisted
Date startDate</strong>,
77
* <strong>{@literal @}
Assisted
Money amount</strong>) {
105
* the same type, use a named {@literal @}{@link
Assisted
} annotation to disambiguate the
110
* <strong>{@literal @}
Assisted
("startDate")</strong> Date startDate,
111
* <strong>{@literal @}
Assisted
("dueDate")</strong> Date dueDate,
120
* <strong>{@literal @}
Assisted
("startDate")</strong> Date startDate,
121
* <strong>{@literal @}
Assisted
("dueDate")</strong> Date dueDate,
122
* <strong>{@literal @}
Assisted
</strong> Money amount) {
138
* used for the first {@literal @}
Assisted
constructor parameter, etc.. Annotation names have n
[
all
...]
Completed in 354 milliseconds