/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.databinding.tool.processing; public class ErrorMessages { public static final String INCLUDE_INSIDE_MERGE = "Data binding does not support include elements as direct children of a merge element."; public static final String UNDEFINED_VARIABLE = "Identifiers must have user defined types from the XML file. %s is missing it"; public static final String CANNOT_FIND_SETTER_CALL = "Cannot find the setter for attribute '%s' with parameter type %s."; public static final String CANNOT_RESOLVE_TYPE = "Cannot resolve type for %s"; public static final String MULTI_CONFIG_LAYOUT_CLASS_NAME_MISMATCH = "Classname (%s) does not match the class name defined for layout(%s) in other" + " configurations"; public static final String MULTI_CONFIG_VARIABLE_TYPE_MISMATCH = "Variable declaration (%s - %s) does not match the type defined for layout(%s) in other" + " configurations"; public static final String MULTI_CONFIG_IMPORT_TYPE_MISMATCH = "Import declaration (%s - %s) does not match the import defined for layout(%s) in other" + " configurations"; public static final String MULTI_CONFIG_ID_USED_AS_IMPORT = "Cannot use the same id (%s) for a View and an include tag."; }