public class AnnotationAnalyzer
extends android.databinding.tool.reflection.ModelAnalyzer
Modifier and Type | Field and Description |
---|---|
javax.annotation.processing.ProcessingEnvironment |
mProcessingEnv |
static java.util.Map<java.lang.String,javax.lang.model.type.TypeKind> |
PRIMITIVE_TYPES |
Constructor and Description |
---|
AnnotationAnalyzer(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
android.databinding.tool.LibTypes libTypes) |
Modifier and Type | Method and Description |
---|---|
TypeUtil |
createTypeUtil() |
android.databinding.tool.reflection.ModelClass |
findClass(java.lang.Class classType) |
android.databinding.tool.reflection.ModelClass |
findClassInternal(java.lang.String className,
android.databinding.tool.reflection.ImportBag imports) |
protected boolean |
findGeneratedAnnotation() |
static AnnotationAnalyzer |
get() |
javax.lang.model.util.Elements |
getElementUtils() |
javax.annotation.processing.ProcessingEnvironment |
getProcessingEnv() |
javax.lang.model.util.Types |
getTypeUtils() |
android.databinding.tool.reflection.annotation.AnnotationClass |
loadPrimitive(java.lang.String className) |
findClass, findCommonParentOf, findCommonParentOf, getClassFinderCache, getDefaultValue, getHasGeneratedAnnotation, getInstance, getListTypes, getLiveDataType, getMapType, getMutableLiveDataType, getObjectType, getObservableFieldTypes, getObservableListType, getObservableMapType, getObservableType, getStringType, getViewDataBindingType, getViewStubProxyType, getViewStubType, injectClass
public static final java.util.Map<java.lang.String,javax.lang.model.type.TypeKind> PRIMITIVE_TYPES
public final javax.annotation.processing.ProcessingEnvironment mProcessingEnv
public AnnotationAnalyzer(javax.annotation.processing.ProcessingEnvironment processingEnvironment, android.databinding.tool.LibTypes libTypes)
public static AnnotationAnalyzer get()
public android.databinding.tool.reflection.annotation.AnnotationClass loadPrimitive(java.lang.String className)
loadPrimitive
in class android.databinding.tool.reflection.ModelAnalyzer
public android.databinding.tool.reflection.ModelClass findClassInternal(java.lang.String className, android.databinding.tool.reflection.ImportBag imports)
findClassInternal
in class android.databinding.tool.reflection.ModelAnalyzer
public android.databinding.tool.reflection.ModelClass findClass(java.lang.Class classType)
findClass
in class android.databinding.tool.reflection.ModelAnalyzer
public javax.lang.model.util.Types getTypeUtils()
public javax.lang.model.util.Elements getElementUtils()
public javax.annotation.processing.ProcessingEnvironment getProcessingEnv()
public TypeUtil createTypeUtil()
createTypeUtil
in class android.databinding.tool.reflection.ModelAnalyzer
protected boolean findGeneratedAnnotation()
findGeneratedAnnotation
in class android.databinding.tool.reflection.ModelAnalyzer