Type.Continue, Type.FieldNotFoundException, Type.Mu, Type.TypeError, Type.TypeMatcher<FT,FR>
Modifier and Type | Method and Description |
---|---|
RewriteResult<List<A>,?> |
all(TypeRewriteRule rule,
boolean recurse,
boolean checkIndex)
gmapT
run rule on all direct children and combine results
|
Codec<List<A>> |
buildCodec() |
TypeTemplate |
buildTemplate() |
boolean |
equals(Object obj,
boolean ignoreRecursionPoints,
boolean checkIndex) |
<FT,FR> (TypedOptic<List<A>,?,FT,FR>|Type.FieldNotFoundException) |
findTypeInChildren(Type<FT> type,
Type<FR> resultType,
Type.TypeMatcher<FT,FR> matcher,
boolean recurse) |
<B> RewriteResult<List<A>,?> |
fix(RewriteResult<A,B> view) |
Type<A> |
getElement() |
int |
hashCode() |
Optional<RewriteResult<List<A>,?>> |
one(TypeRewriteRule rule)
run rule on exactly one child
|
Optional<List<A>> |
point(DynamicOps<?> ops)
populate with the default value, if possible
only initializes empty things
|
String |
toString() |
Type<?> |
updateMu(RecursiveTypeFamily newFamily) |
codec, equals, everywhere, findCheckedType, findChoiceType, finder, findField, findFieldType, findFieldTypeOpt, findType, findTypeCached, getSetType, ifSame, ifSame, ifSame, opticView, pointTyped, read, read, readAndWrite, readTyped, readTyped, rewrite, rewriteOrNop, template, unbox, write, writeDynamic
public RewriteResult<List<A>,?> all(TypeRewriteRule rule, boolean recurse, boolean checkIndex)
Type
public Optional<RewriteResult<List<A>,?>> one(TypeRewriteRule rule)
Type
public Type<?> updateMu(RecursiveTypeFamily newFamily)
public TypeTemplate buildTemplate()
buildTemplate
in class Type<List<A>>
public Optional<List<A>> point(DynamicOps<?> ops)
Type
public <FT,FR> (TypedOptic<List<A>,?,FT,FR>|Type.FieldNotFoundException) findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT,FR> matcher, boolean recurse)
findTypeInChildren
in class Type<List<A>>
public <B> RewriteResult<List<A>,?> fix(RewriteResult<A,B> view)
public boolean equals(Object obj, boolean ignoreRecursionPoints, boolean checkIndex)