public class ImplicitCastParser extends TemplateMethodParser<TypeSystemData,E>
template, types| 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) |
DeclaredType |
getAnnotationType() |
boolean |
isParsable(ExecutableElement method) |
protected TypeMirror |
resolveCastOrCheck(TemplateMethod method) |
create, getContext, parsepublic ImplicitCastParser(ProcessorContext context, TypeSystemData typeSystem)
public DeclaredType 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)