Home
last modified time | relevance | path

Searched refs:kotlinStyleNulls (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt76 kotlinStyleNulls: Boolean, in toTypeString()
92 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
99 if (kotlinStyleNulls && (innerAnnotations || outerAnnotations)) { in toTypeString()
107 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
119 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
128 kotlinStyleNulls && outerAnnotations -> { in toTypeString()
136 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
143 kotlinStyleNulls && innerAnnotations -> { in toTypeString()
151 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
167 kotlinStyleNulls = kotlinStyleNulls, in toTypeString()
[all …]
DPsiTypePrinter.kt77 private val kotlinStyleNulls: Boolean = options.outputKotlinStyleNulls, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiTypePrinter
224 if (kotlinStyleNulls) { in <lambda>()
273 if (kotlinStyleNulls) { in <lambda>()
284 kotlinStyleNulls in <lambda>()
350 if (allowKotlinSuffix && kotlinStyleNulls) { in <lambda>()
482 …if (kotlinStyleNulls && (isNullableAnnotation(qualifiedName) || isNonNullAnnotation(qualifiedName)… in <lambda>()
623 if (kotlinStyleNulls) { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt91 kotlinStyleNulls = true, in <lambda>()
151 kotlinStyleNulls = false, in <lambda>()
214 kotlinStyleNulls = true, in <lambda>()
254 kotlinStyleNulls = true, in <lambda>()
289 kotlinStyleNulls = true, in <lambda>()
326 kotlinStyleNulls = true, in <lambda>()
375 kotlinStyleNulls = true, in <lambda>()
423 kotlinStyleNulls = true, in <lambda>()
477 kotlinStyleNulls = true, in <lambda>()
517 kotlinStyleNulls = true, in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java57 …public static TextCodebase parseApi(@Nonnull File file, boolean kotlinStyleNulls) throws ApiParseE… in parseApi() argument
60 return parseApi(files, kotlinStyleNulls); in parseApi()
74 public static TextCodebase parseApi(@Nonnull List<File> files, boolean kotlinStyleNulls) in parseApi() argument
95 parseApiSingleFile(api, !first, file.getPath(), apiText, kotlinStyleNulls); in parseApi()
106 Boolean kotlinStyleNulls) throws ApiParseException { in parseApi() argument
107 return parseApi(filename, apiText, kotlinStyleNulls != null && kotlinStyleNulls); in parseApi()
115 boolean kotlinStyleNulls) throws ApiParseException { in parseApi() argument
118 parseApiSingleFile(api, false, filename, apiText, kotlinStyleNulls); in parseApi()
124 boolean kotlinStyleNulls) throws ApiParseException { in parseApiSingleFile() argument
147 if (!kotlinStyleNulls) { in parseApiSingleFile()
[all …]
DTextTypeItem.kt47 kotlinStyleNulls = false, in toString()
56 kotlinStyleNulls: Boolean, in toTypeString()
62 if (innerAnnotations && kotlinStyleNulls && !primitive && context != null) { in toTypeString()
DTextCodebase.kt56 var kotlinStyleNulls = false variable
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureFileLoader.kt29 kotlinStyleNulls: Boolean? = null in load()
32 val loaded = loadFromSignatureFiles(file, kotlinStyleNulls) in load()
40 kotlinStyleNulls: Boolean? = null in loadFromSignatureFiles()
43 val codebase = ApiFile.parseApi(File(file.path), kotlinStyleNulls ?: false) in loadFromSignatureFiles()
52 fun loadFiles(files: List<File>, kotlinStyleNulls: Boolean? = null): Codebase { in loadFiles()
57 return ApiFile.parseApi(files, kotlinStyleNulls ?: false) in loadFiles()
DDriver.kt367 kotlinStyleNulls = options.inputKotlinStyleNulls in processFlags()
481 kotlinStyleNulls = options.inputKotlinStyleNulls in processNonCodebaseFlags()
495 kotlinStyleNulls = options.inputKotlinStyleNulls in processNonCodebaseFlags()
565 kotlinStyleNulls = options.inputKotlinStyleNulls in checkCompatibility()
589 kotlinStyleNulls = options.inputKotlinStyleNulls in checkCompatibility()
603 kotlinStyleNulls = options.inputKotlinStyleNulls in checkCompatibility()
828 kotlinStyleNulls = options.inputKotlinStyleNulls in loadFromSources()
DSignatureWriter.kt203 kotlinStyleNulls = false, in <lambda>()
255 kotlinStyleNulls = false, in <lambda>()
315 kotlinStyleNulls = outputKotlinStyleNulls, in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt55 kotlinStyleNulls: Boolean = false, in <lambda>()
111 …peString = toTypeString(outerAnnotations = true, innerAnnotations = true, kotlinStyleNulls = false) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt200 kotlinStyleNulls = true, in <lambda>()