Home
last modified time | relevance | path

Searched refs:HAS_JAVA_OPTIONAL (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java85 private static final boolean HAS_JAVA_OPTIONAL; field in SpiUtils
91 HAS_JAVA_OPTIONAL = optional != null;
634 if (HAS_JAVA_OPTIONAL) { in assertOptionalVisitor()
663 Key<?> javaOptionalKey = HAS_JAVA_OPTIONAL ? in optionalInjectorTest()
675 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
684 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
691 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
700 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
707 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
716 if (HAS_JAVA_OPTIONAL) { in optionalInjectorTest()
[all …]
DOptionalBinderTest.java76 private static final boolean HAS_JAVA_OPTIONAL; field in OptionalBinderTest
89 HAS_JAVA_OPTIONAL = optional != null;
96 final TypeLiteral<?> javaOptionalOfString = HAS_JAVA_OPTIONAL ?
100 final TypeLiteral<?> javaOptionalOfProviderString = HAS_JAVA_OPTIONAL ?
104 final TypeLiteral<?> javaOptionalOfJavaxProviderString = HAS_JAVA_OPTIONAL ?
109 final TypeLiteral<?> javaOptionalOfInteger = HAS_JAVA_OPTIONAL ?
113 final TypeLiteral<?> javaOptionalOfProviderInteger = HAS_JAVA_OPTIONAL ?
117 final TypeLiteral<?> javaOptionalOfJavaxProviderInteger = HAS_JAVA_OPTIONAL ?
130 if (HAS_JAVA_OPTIONAL) { in testTypeNotBoundByDefault()
166 if (HAS_JAVA_OPTIONAL) { in testOptionalIsAbsentByDefault()
[all …]