Package android.databinding.tool
Class CompilerChef
- java.lang.Object
-
- android.databinding.tool.CompilerChef
-
public class CompilerChef extends java.lang.ObjectChef class for compiler. Different build systems can initiate a version of this to handle their work
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompilerChef.BindableHolder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBRVariables(CompilerChef.BindableHolder bindables)Adds variables to list of Bindables.static CompilerChefcreateChef(android.databinding.tool.store.ResourceBundle bundle, android.databinding.tool.writer.JavaFileWriter fileWriter, android.databinding.tool.CompilerArguments compilerArgs)voidensureDataBinder()java.util.Set<java.lang.String>getClassesToBeStripped()java.util.List<LayoutBinder>getLayoutBinders()android.databinding.tool.store.ResourceBundlegetResourceBundle()booleanhasAnythingToGenerate()voidsealModels()voidsetV1CompatChef(CompilerChef v1CompatChef)booleanuseAndroidX()voidwriteComponent()voidwriteDataBinderMapper(javax.annotation.processing.ProcessingEnvironment processingEnv, android.databinding.tool.CompilerArguments compilerArgs, android.databinding.annotationprocessor.BindableBag.BRMapping brValueLookup, java.util.List<java.lang.String> modulePackages)voidwriteViewBinderInterfaces(boolean isLibrary)voidwriteViewBinders(int minSdk)
-
-
-
Method Detail
-
setV1CompatChef
public void setV1CompatChef(CompilerChef v1CompatChef)
-
createChef
public static CompilerChef createChef(android.databinding.tool.store.ResourceBundle bundle, android.databinding.tool.writer.JavaFileWriter fileWriter, android.databinding.tool.CompilerArguments compilerArgs)
-
getResourceBundle
public android.databinding.tool.store.ResourceBundle getResourceBundle()
-
ensureDataBinder
public void ensureDataBinder()
-
hasAnythingToGenerate
public boolean hasAnythingToGenerate()
-
writeDataBinderMapper
public void writeDataBinderMapper(javax.annotation.processing.ProcessingEnvironment processingEnv, android.databinding.tool.CompilerArguments compilerArgs, android.databinding.annotationprocessor.BindableBag.BRMapping brValueLookup, java.util.List<java.lang.String> modulePackages)
-
useAndroidX
public boolean useAndroidX()
-
getLayoutBinders
public java.util.List<LayoutBinder> getLayoutBinders()
-
addBRVariables
public void addBRVariables(CompilerChef.BindableHolder bindables)
Adds variables to list of Bindables.
-
sealModels
public void sealModels()
-
writeViewBinderInterfaces
public void writeViewBinderInterfaces(boolean isLibrary)
-
writeViewBinders
public void writeViewBinders(int minSdk)
-
writeComponent
public void writeComponent()
-
getClassesToBeStripped
public java.util.Set<java.lang.String> getClassesToBeStripped()
-
-