All Methods Static Methods Instance Methods Abstract Methods Default Methods
Modifier and Type |
Method and Description |
static TypeRewriteRule |
all(TypeRewriteRule rule,
boolean recurse,
boolean checkIndex) |
static TypeRewriteRule |
checkOnce(TypeRewriteRule rule,
(Type<?>) -> void onFail) |
static TypeRewriteRule |
everywhere(TypeRewriteRule rule,
PointFreeRule optimizationRule,
boolean recurse,
boolean checkIndex) |
static <B> TypeRewriteRule |
ifSame(Type<B> targetType,
RewriteResult<B,?> value) |
static TypeRewriteRule |
nop() |
static TypeRewriteRule |
once(TypeRewriteRule rule) |
static TypeRewriteRule |
one(TypeRewriteRule rule) |
static TypeRewriteRule |
orElse(TypeRewriteRule first,
by-name TypeRewriteRule second) |
static TypeRewriteRule |
orElse(TypeRewriteRule first,
TypeRewriteRule second) |
<A> Optional<RewriteResult<A,?>> |
rewrite(Type<A> type) |
static TypeRewriteRule |
seq(List<TypeRewriteRule> rules) |
static TypeRewriteRule |
seq(TypeRewriteRule firstRule,
TypeRewriteRule... rules) |
static TypeRewriteRule |
seq(TypeRewriteRule first,
TypeRewriteRule second) |