public static class TypeRewriteRule.One extends Object implements TypeRewriteRule
TypeRewriteRule.All, TypeRewriteRule.CheckOnce, TypeRewriteRule.Everywhere, TypeRewriteRule.IfSame<B>, TypeRewriteRule.Nop, TypeRewriteRule.One, TypeRewriteRule.OrElse, TypeRewriteRule.Seq
Constructor and Description |
---|
One(TypeRewriteRule rule) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
<A> Optional<RewriteResult<A,?>> |
rewrite(Type<A> type) |
public One(TypeRewriteRule rule)
public <A> Optional<RewriteResult<A,?>> rewrite(Type<A> type)
rewrite
in interface TypeRewriteRule