Package 

Class TargetedFieldTransformer

  • All Implemented Interfaces:
    kotlin.Function , kotlin.Function1 , net.yakclient.mixins.base.FieldTransformer , net.yakclient.mixins.base.InjectionTransformer

    
    public final class TargetedFieldTransformer
    extends TargetedTransformer<FieldNode> implements FieldTransformer
                        

    Targets fields based on the name provided.

    • Method Summary

      Modifier and Type Method Description
      FieldNode invoke(FieldNode context)
      Boolean matches(FieldNode c) Determines if the given context matches.
      • Methods inherited from class net.yakclient.mixins.base.TargetedFieldTransformer

        call
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetedFieldTransformer

        TargetedFieldTransformer(FieldTransformer delegate, String name)
        Constructs with the given name and delegate.
    • Method Detail

      • invoke

         FieldNode invoke(FieldNode context)
      • matches

         Boolean matches(FieldNode c)

        Determines if the given context matches.

        Parameters:
        c - the context to match