Home
last modified time | relevance | path

Searched refs:ofNullable (Results 1 – 25 of 55) sorted by relevance

123

/external/turbine/java/com/google/turbine/options/
DTurbineOptions.java67 this.output = Optional.ofNullable(output); in TurbineOptions()
70 this.release = Optional.ofNullable(release); in TurbineOptions()
71 this.system = Optional.ofNullable(system); in TurbineOptions()
76 this.outputDeps = Optional.ofNullable(outputDeps); in TurbineOptions()
78 this.targetLabel = Optional.ofNullable(targetLabel); in TurbineOptions()
79 this.injectingRuleKind = Optional.ofNullable(injectingRuleKind); in TurbineOptions()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DParseResult.java87 return Optional.ofNullable(commentsCollection); in getCommentsCollection()
94 return Optional.ofNullable(result); in getResult()
DProblem.java79 return Optional.ofNullable(location); in getLocation()
86 return Optional.ofNullable(cause); in getCause()
DJavaToken.java134 return Optional.ofNullable(range); in getRange()
150 return Optional.ofNullable(nextToken); in getNextToken()
154 return Optional.ofNullable(previousToken); in getPreviousToken()
/external/guava/guava/src/com/google/common/graph/
DAbstractValueGraph.java105 return Optional.ofNullable(edgeValueOrDefault(nodeU, nodeV, null));
110 return Optional.ofNullable(edgeValueOrDefault(endpoints, null));
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DUtilsTest.java175 Optional.ofNullable("foo"))); in testValueIsNullOrEmpty()
188 Optional.ofNullable("foo"))); in testValueIsNullOrEmptyStringOrOptional()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DObjectCreationExpr.java123 return Optional.ofNullable(anonymousClassBody); in getAnonymousClassBody()
139 return Optional.ofNullable(scope); in getScope()
217 return Optional.ofNullable(typeArguments); in getTypeArguments()
DMethodCallExpr.java136 return Optional.ofNullable(scope); in getScope()
182 return Optional.ofNullable(typeArguments); in getTypeArguments()
DSuperExpr.java86 return Optional.ofNullable(typeName); in getTypeName()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DWildcardType.java95 return Optional.ofNullable(extendedType); in getExtendedType()
100 return Optional.ofNullable(superType); in getSuperType()
DClassOrInterfaceType.java123 return Optional.ofNullable(scope); in getScope()
172 return Optional.ofNullable(typeArguments); in getTypeArguments()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DProjectRoot.java35 return Optional.ofNullable(cache.get(sourceRoot)); in getSourceRoot()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DExplicitConstructorInvocationStmt.java112 return Optional.ofNullable(expression); in getExpression()
165 return Optional.ofNullable(typeArguments); in getTypeArguments()
DBreakStmt.java98 return Optional.ofNullable(value); in getValue()
DReturnStmt.java89 return Optional.ofNullable(expression); in getExpression()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java196 return Optional.ofNullable(comment); in getComment()
203 return Optional.ofNullable(range); in getRange()
210 return Optional.ofNullable(tokenRange); in getTokenRange()
306 return Optional.ofNullable(parentNode); in getParentNode()
DCompilationUnit.java173 return Optional.ofNullable(packageDeclaration); in getPackageDeclaration()
535 return Optional.ofNullable(module); in getModule()
560 return Optional.ofNullable(storage); in getStorage()
/external/dagger2/java/dagger/internal/codegen/
DScopes.java64 return Optional.ofNullable(getOnlyElement(scopesOf(element), null)); in uniqueScopeOf()
DComponentDescriptor.java209 return Optional.ofNullable( in getFactoryMethodForChildComponent()
286 ? Optional.ofNullable(typeElement().getAnnotation(CancellationPolicy.class)) in cancellationPolicy()
DModifiableBindingMethods.java77 return Optional.ofNullable(methods.get(request)); in getMethod()
/external/turbine/javatests/com/google/turbine/testing/
DTestClassPaths.java44 Optional.ofNullable(System.getProperty("sun.boot.class.path")).orElse("")))
/external/guava/guava/src/com/google/common/base/
DOptional.java156 return java.util.Optional.ofNullable(orNull()); in toJavaUtil()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableEncodedValueFactory.java118 public static ImmutableEncodedValue ofNullable(@Nullable EncodedValue encodedValue) { in ofNullable() method in ImmutableEncodedValueFactory
/external/guava/guava/src/com/google/common/collect/
DMoreCollectors.java150 return Optional.ofNullable(element); in getOptional()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java68 this.initialValue = ImmutableEncodedValueFactory.ofNullable(initialValue); in ImmutableField()

123