Uses of Class
com.google.errorprone.refaster.Template
-
Uses of Template in com.google.errorprone.refaster
Modifier and TypeClassDescriptionclass
RefasterRule<M extends TemplateMatch,
T extends Template<M>> A representation of an entire Refaster rule, corresponding to a class with @BeforeTemplates and @AfterTemplates.Modifier and TypeClassDescriptionclass
Template representing a sequence of consecutive statements.class
Implementation of a template to match and replace an expression anywhere in an AST.Modifier and TypeMethodDescriptionstatic Template
<?> UTemplater.createTemplate
(com.sun.tools.javac.util.Context context, com.sun.source.tree.MethodTree decl) Returns a template based on a method.Modifier and TypeMethodDescriptionstatic RefasterRule
<?, ?> RefasterRule.create
(String qualifiedTemplateClass, Iterable<UTypeVar> typeVariables, Collection<? extends Template<?>> beforeTemplates, Collection<? extends Template<?>> afterTemplates, com.google.common.collect.ImmutableClassToInstanceMap<Annotation> annotations) static RefasterRule
<?, ?> RefasterRule.create
(String qualifiedTemplateClass, Collection<? extends Template<?>> beforeTemplates, Collection<? extends Template<?>> afterTemplates)