Home
last modified time | relevance | path

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

12

/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.java93 return Optional.ofNullable(tokens); in getTokens()
100 return Optional.ofNullable(commentsCollection); in getCommentsCollection()
107 return Optional.ofNullable(result); in getResult()
DProblem.java79 return Optional.ofNullable(location); in getLocation()
94 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DObjectCreationExpr.java120 return Optional.ofNullable(anonymousClassBody); in getAnonymousClassBody()
136 return Optional.ofNullable(scope); in getScope()
214 return Optional.ofNullable(typeArguments); in getTypeArguments()
DMethodCallExpr.java130 return Optional.ofNullable(scope); in getScope()
176 return Optional.ofNullable(typeArguments); in getTypeArguments()
DSuperExpr.java84 return Optional.ofNullable(classExpr); in getClassExpr()
DThisExpr.java88 return Optional.ofNullable(classExpr); in getClassExpr()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DWildcardType.java98 return Optional.ofNullable(extendedType); in getExtendedType()
103 return Optional.ofNullable(superType); in getSuperType()
DClassOrInterfaceType.java125 return Optional.ofNullable(scope); in getScope()
174 return Optional.ofNullable(typeArguments); in getTypeArguments()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DExplicitConstructorInvocationStmt.java125 return Optional.ofNullable(expression); in getExpression()
178 return Optional.ofNullable(typeArguments); in getTypeArguments()
DReturnStmt.java89 return Optional.ofNullable(expression); in getExpression()
DBreakStmt.java86 return Optional.ofNullable(label); in getLabel()
DContinueStmt.java88 return Optional.ofNullable(label); in getLabel()
DAssertStmt.java95 return Optional.ofNullable(message); in getMessage()
DSwitchEntryStmt.java104 return Optional.ofNullable(label); in getLabel()
/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()
538 return Optional.ofNullable(module); in getModule()
563 return Optional.ofNullable(storage); in getStorage()
DArrayCreationLevel.java115 return Optional.ofNullable(dimension); in getDimension()
/external/turbine/javatests/com/google/turbine/testing/
DTestClassPaths.java44 Optional.ofNullable(System.getProperty("sun.boot.class.path")).orElse("")))
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableEncodedValueFactory.java114 public static ImmutableEncodedValue ofNullable(@Nullable EncodedValue encodedValue) { in ofNullable() method in ImmutableEncodedValueFactory
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/
DComment.java104 return Optional.ofNullable(this.commentedNode); in getCommentedNode()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java68 this.initialValue = ImmutableEncodedValueFactory.ofNullable(initialValue); in ImmutableField()
/external/turbine/java/com/google/turbine/parse/
DParser.java520 Optional.ofNullable(xtnds), in classDeclaration()
834 result.add(new VarDecl(pos, access, annos, ty, name, Optional.ofNullable(init))); in fieldRest()
897 Optional.<Tree>ofNullable(result), in methodRest()
901 Optional.ofNullable(defaultValue)); in methodRest()
1092 ty = new ClassTy(pos, Optional.ofNullable(ty), name, tyargs, typeAnnos); in classty()
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigIntegrationTest.java62 Optional.ofNullable(System.getProperty("sun.boot.class.path")).orElse(""))) in forEachBootclass()

12