Searched refs:ApiParseException (Results 1 – 14 of 14) sorted by relevance
72 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()
193 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 …]
402 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>()
22 class ApiParseException( class
192 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>()
23 import com.android.tools.metalava.model.text.ApiParseException55 } catch (ex: ApiParseException) { in loadFiles()
28 import com.android.tools.metalava.model.text.ApiParseException97 } catch (e: ApiParseException) { in run()
89 assertThrows(ApiParseException::class.java) { in Test generic class split across multiple files detect type parameter inconsistencies()
91 val exception = assertThrows(ApiParseException::class.java) { requireToken() } in <lambda>()
55 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()
39 assertThrows(ApiParseException::class.java) { in <lambda>()271 assertThrows(ApiParseException::class.java) { in <lambda>()
113 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()
20 import com.android.tools.metalava.model.text.ApiParseException158 assertThrows(ApiParseException::class.java) { in --use-same-format-as fails to read from an invalid file()
67 import com.android.tools.metalava.model.text.ApiParseException in <lambda>()253 } catch (ex: ApiParseException) { in <lambda>()