1731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar/*
2731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * Copyright (C) 2015 The Android Open Source Project
3731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar *
4731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License");
5731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * you may not use this file except in compliance with the License.
6731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * You may obtain a copy of the License at
7731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar *
8731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar *      http://www.apache.org/licenses/LICENSE-2.0
9731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar *
10731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * Unless required by applicable law or agreed to in writing, software
11731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS,
12731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * See the License for the specific language governing permissions and
14731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar * limitations under the License.
15731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar */
16731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar
17731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyarpackage android.databinding.tool.processing;
18731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar
19731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyarpublic class ErrorMessages {
20731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar    public static final String INCLUDE_INSIDE_MERGE =
21731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar            "Data binding does not support include elements as direct children of a merge element.";
22731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar    public static final String UNDEFINED_VARIABLE =
23731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar            "Identifiers must have user defined types from the XML file. %s is missing it";
24731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar    public static final String CANNOT_FIND_SETTER_CALL =
25731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar            "Cannot find the setter for attribute '%s' with parameter type %s.";
26731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar    public static final String CANNOT_RESOLVE_TYPE =
27731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar            "Cannot resolve type for %s";
28aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar    public static final String MULTI_CONFIG_LAYOUT_CLASS_NAME_MISMATCH =
29aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar            "Classname (%s) does not match the class name defined for layout(%s) in other"
30aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar                    + " configurations";
31aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar    public static final String MULTI_CONFIG_VARIABLE_TYPE_MISMATCH =
32aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar            "Variable declaration (%s - %s) does not match the type defined for layout(%s) in other"
33aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar                    + " configurations";
34aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar    public static final String MULTI_CONFIG_IMPORT_TYPE_MISMATCH =
35aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar            "Import declaration (%s - %s) does not match the import defined for layout(%s) in other"
36aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar                    + " configurations";
37aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar    public static final String MULTI_CONFIG_ID_USED_AS_IMPORT =
38aafbe5a2394ff9826201cca97d3298a9f355e311Yigit Boyar            "Cannot use the same id (%s) for a View and an include tag.";
39731b74f7f44e67312a1fc4161c4e0aae221b2417Yigit Boyar}
40