public class TypeSystemData extends Template
MessageContainer.Message
Constructor and Description |
---|
TypeSystemData(ProcessorContext context,
javax.lang.model.element.TypeElement templateType,
javax.lang.model.element.AnnotationMirror annotation) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MessageContainer> |
findChildContainers() |
TypeData |
findType(java.lang.String simpleName) |
int |
findType(javax.lang.model.type.TypeMirror type) |
TypeData |
findTypeData(javax.lang.model.type.TypeMirror type) |
java.util.List<javax.lang.model.type.TypeMirror> |
getBoxedTypeMirrors() |
javax.lang.model.type.TypeMirror |
getGenericType() |
TypeData |
getGenericTypeData() |
java.util.List<ImplicitCastData> |
getImplicitCasts() |
java.util.List<javax.lang.model.type.TypeMirror> |
getPrimitiveTypeMirrors() |
java.util.Set<java.lang.String> |
getTypeIdentifiers() |
java.util.List<TypeData> |
getTypes() |
TypeSystemData |
getTypeSystem() |
TypeData |
getVoidType() |
java.util.List<ImplicitCastData> |
lookupByTargetType(TypeData targetType) |
ImplicitCastData |
lookupCast(TypeData sourceType,
TypeData targetType) |
java.util.List<TypeData> |
lookupSourceTypes(TypeData type) |
void |
setCasts(java.util.List<TypeCastData> casts) |
void |
setChecks(java.util.List<TypeCheckData> checks) |
void |
setGenericType(javax.lang.model.type.TypeMirror genericType) |
void |
setImplicitCasts(java.util.List<ImplicitCastData> implicitCasts) |
void |
setTypes(java.util.List<TypeData> types) |
void |
setVoidType(TypeData voidType) |
java.lang.String |
toString() |
getBaseContainer, getContext, getMessageElement, getTemplateMethodName, getTemplateType, getTemplateTypeAnnotation
addError, addError, addError, addWarning, addWarning, collectMessages, emitMessages, getMessageAnnotation, getMessageAnnotationValue, getMessages, hasErrors, iterator
public TypeSystemData(ProcessorContext context, javax.lang.model.element.TypeElement templateType, javax.lang.model.element.AnnotationMirror annotation)
public TypeSystemData getTypeSystem()
getTypeSystem
in class Template
public void setTypes(java.util.List<TypeData> types)
public void setImplicitCasts(java.util.List<ImplicitCastData> implicitCasts)
public java.util.List<ImplicitCastData> getImplicitCasts()
public void setCasts(java.util.List<TypeCastData> casts)
public void setChecks(java.util.List<TypeCheckData> checks)
public void setGenericType(javax.lang.model.type.TypeMirror genericType)
public void setVoidType(TypeData voidType)
protected java.util.List<MessageContainer> findChildContainers()
findChildContainers
in class Template
public TypeData getVoidType()
public java.util.List<javax.lang.model.type.TypeMirror> getBoxedTypeMirrors()
public java.util.List<javax.lang.model.type.TypeMirror> getPrimitiveTypeMirrors()
public java.util.Set<java.lang.String> getTypeIdentifiers()
public java.util.List<TypeData> getTypes()
public javax.lang.model.type.TypeMirror getGenericType()
public TypeData getGenericTypeData()
public TypeData findType(java.lang.String simpleName)
public TypeData findTypeData(javax.lang.model.type.TypeMirror type)
public int findType(javax.lang.model.type.TypeMirror type)
public java.util.List<ImplicitCastData> lookupByTargetType(TypeData targetType)
public ImplicitCastData lookupCast(TypeData sourceType, TypeData targetType)