Home
last modified time | relevance | path

Searched refs:ApiParseException (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTokenizer.kt72 return token ?: throw ApiParseException("Unexpected end of file", this) in requireToken()
102 throw ApiParseException("Unexpected end of file for \" starting at $line", this) in getToken()
106 throw ApiParseException( in getToken()
167 throw ApiParseException("Unexpected end of file for \" starting at $line", this) in getToken()
176 throw ApiParseException("Expected identifier: $token", this) in assertIdent()
DApiFile.kt193 throw ApiParseException(
219 @Throws(ApiParseException::class)
239 @Throws(ApiParseException::class)
375 throw ApiParseException( in parseApiSingleFile()
398 throw ApiParseException("expected package got $token", tokenizer) in parseApiSingleFile()
420 throw ApiParseException( in parsePackage()
441 throw ApiParseException("expected '{' got $token", tokenizer) in parsePackage()
490 throw ApiParseException("missing class or interface. got: $token", tokenizer) in parseClass()
553 throw ApiParseException("expected {, was $token", tokenizer) in parseClass()
646 throw ApiParseException( in tryMergingIntoExistingClass()
[all …]
DFileFormat.kt402 throw ApiParseException( in <lambda>()
407 throw ApiParseException("${exceptionContext}must not contain a 'migrating' property") in <lambda>()
459 } catch (cause: ApiParseException) { in <lambda>()
463 throw ApiParseException( in <lambda>()
533 throw ApiParseException( in <lambda>()
613 throw ApiParseException( in <lambda>()
634 throw ApiParseException("expected <property>=<value> but found '$assignment'") in <lambda>()
871 throw ApiParseException( in <lambda>()
927 throw ApiParseException( in <lambda>()
DApiParseException.kt22 class ApiParseException( class
DTextTypeParser.kt192 throw ApiParseException("Invalid nullability suffix on primitive: $original") in <lambda>()
330 throw ApiParseException( in <lambda>()
414 throw ApiParseException( in <lambda>()
591 throw ApiParseException( in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DSignatureFileLoader.kt23 import com.android.tools.metalava.model.text.ApiParseException
55 } catch (ex: ApiParseException) { in loadFiles()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DMergeSignaturesCommand.kt28 import com.android.tools.metalava.model.text.ApiParseException
97 } catch (e: ApiParseException) { in run()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DMultipleFileTest.kt89 assertThrows(ApiParseException::class.java) { in Test generic class split across multiple files detect type parameter inconsistencies()
DTokenizerTest.kt91 val exception = assertThrows(ApiParseException::class.java) { requireToken() } in <lambda>()
DFileFormatTest.kt55 val e = assertThrows(ApiParseException::class.java) { parseHeader() } in checkParseHeader()
690 assertThrows(ApiParseException::class.java) { in Check parseDefaults kotlin-style-nulls=yes()
701 val e = assertThrows(ApiParseException::class.java) { FileFormat.parseDefaults("foo=bar") } in Check parseDefaults foo=bar()
DApiFileTest.kt39 assertThrows(ApiParseException::class.java) { in <lambda>()
271 assertThrows(ApiParseException::class.java) { in <lambda>()
DTextTypeParserTest.kt113 ApiParseException::class.java in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false()
119 ApiParseException::class.java in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureFormatOptionsTest.kt20 import com.android.tools.metalava.model.text.ApiParseException
158 assertThrows(ApiParseException::class.java) { in --use-same-format-as fails to read from an invalid file()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt67 import com.android.tools.metalava.model.text.ApiParseException in <lambda>()
253 } catch (ex: ApiParseException) { in <lambda>()