Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java89 final String apiText; in parseApi() local
91 apiText = Files.asCharSource(file, UTF_8).read(); in parseApi()
95 parseApiSingleFile(api, !first, file.getPath(), apiText, kotlinStyleNulls); in parseApi()
105 public static TextCodebase parseApi(@Nonnull String filename, @Nonnull String apiText, in parseApi() argument
107 return parseApi(filename, apiText, kotlinStyleNulls != null && kotlinStyleNulls); in parseApi()
114 public static TextCodebase parseApi(@Nonnull String filename, @Nonnull String apiText, in parseApi() argument
118 parseApiSingleFile(api, false, filename, apiText, kotlinStyleNulls); in parseApi()
123 …tatic void parseApiSingleFile(TextCodebase api, boolean appending, String filename, String apiText, in parseApiSingleFile() argument
126 FileFormat format = FileFormat.Companion.parseHeader(apiText); in parseApiSingleFile()
140 if (StringsKt.isBlank(apiText)) { in parseApiSingleFile()
[all …]