public class ImplicitCastParser extends TemplateMethodParser<TypeSystemData,E>
template| Constructor and Description |
|---|
ImplicitCastParser(ProcessorContext context,
TypeSystemData typeSystem) |
| Modifier and Type | Method and Description |
|---|---|
ImplicitCastData |
create(TemplateMethod method,
boolean invalid) |
MethodSpec |
createSpecification(ExecutableElement method,
AnnotationMirror mirror) |
Class<? extends Annotation> |
getAnnotationType() |
boolean |
isParsable(ExecutableElement method) |
protected TypeMirror |
resolveCastOrCheck(TemplateMethod method) |
create, getContext, getParser, getTypeSystem, isParseNullOnError, parse, setParseNullOnErrorpublic ImplicitCastParser(ProcessorContext context, TypeSystemData typeSystem)
public Class<? extends Annotation> getAnnotationType()
getAnnotationType in class TemplateMethodParser<TypeSystemData,ImplicitCastData>public MethodSpec createSpecification(ExecutableElement method, AnnotationMirror mirror)
createSpecification in class TemplateMethodParser<TypeSystemData,ImplicitCastData>public ImplicitCastData create(TemplateMethod method, boolean invalid)
create in class TemplateMethodParser<TypeSystemData,ImplicitCastData>public final boolean isParsable(ExecutableElement method)
isParsable in class TemplateMethodParser<TypeSystemData,E extends TemplateMethod>protected final TypeMirror resolveCastOrCheck(TemplateMethod method)