android.databinding.tool.reflection.annotation
Class AnnotationAnalyzer

java.lang.Object
  extended by android.databinding.tool.reflection.ModelAnalyzer
      extended by android.databinding.tool.reflection.annotation.AnnotationAnalyzer

public class AnnotationAnalyzer
extends ModelAnalyzer


Field Summary
 javax.annotation.processing.ProcessingEnvironment mProcessingEnv
           
static java.util.Map<java.lang.String,javax.lang.model.type.TypeKind> PRIMITIVE_TYPES
           
 
Fields inherited from class android.databinding.tool.reflection.ModelAnalyzer
LIST_CLASS_NAMES, MAP_CLASS_NAME, OBJECT_CLASS_NAME, OBSERVABLE_CLASS_NAME, OBSERVABLE_FIELDS, OBSERVABLE_LIST_CLASS_NAME, OBSERVABLE_MAP_CLASS_NAME, STRING_CLASS_NAME, VIEW_DATA_BINDING, VIEW_STUB_CLASS_NAME
 
Constructor Summary
AnnotationAnalyzer(javax.annotation.processing.ProcessingEnvironment processingEnvironment)
           
 
Method Summary
 TypeUtil createTypeUtil()
           
 ModelClass findClass(java.lang.Class classType)
           
 android.databinding.tool.reflection.annotation.AnnotationClass findClass(java.lang.String className, java.util.Map<java.lang.String,java.lang.String> imports)
           
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)
           
 
Methods inherited from class android.databinding.tool.reflection.ModelAnalyzer
applyImports, findCommonParentOf, getDefaultValue, getInstance, getMapType, getObservableFieldTypes, setInstance, setProcessingEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIMITIVE_TYPES

public static final java.util.Map<java.lang.String,javax.lang.model.type.TypeKind> PRIMITIVE_TYPES

mProcessingEnv

public final javax.annotation.processing.ProcessingEnvironment mProcessingEnv
Constructor Detail

AnnotationAnalyzer

public AnnotationAnalyzer(javax.annotation.processing.ProcessingEnvironment processingEnvironment)
Method Detail

get

public static AnnotationAnalyzer get()

loadPrimitive

public android.databinding.tool.reflection.annotation.AnnotationClass loadPrimitive(java.lang.String className)
Specified by:
loadPrimitive in class ModelAnalyzer

findClass

public android.databinding.tool.reflection.annotation.AnnotationClass findClass(java.lang.String className,
                                                                                java.util.Map<java.lang.String,java.lang.String> imports)
Specified by:
findClass in class ModelAnalyzer

findClass

public ModelClass findClass(java.lang.Class classType)
Specified by:
findClass in class ModelAnalyzer

getTypeUtils

public javax.lang.model.util.Types getTypeUtils()

getElementUtils

public javax.lang.model.util.Elements getElementUtils()

getProcessingEnv

public javax.annotation.processing.ProcessingEnvironment getProcessingEnv()

createTypeUtil

public TypeUtil createTypeUtil()
Specified by:
createTypeUtil in class ModelAnalyzer