Class ClassTweakerValidatingVisitor

java.lang.Object
net.fabricmc.classtweaker.validator.ClassTweakerValidatingVisitor
All Implemented Interfaces:
ClassTweakerVisitor

public class ClassTweakerValidatingVisitor extends Object implements ClassTweakerVisitor
  • Constructor Details

    • ClassTweakerValidatingVisitor

      public ClassTweakerValidatingVisitor(net.fabricmc.tinyremapper.api.TrEnvironment environment, ProblemSink sink)
  • Method Details

    • visitAccessWidener

      @Nullable public @Nullable AccessWidenerVisitor visitAccessWidener(String owner)
      Specified by:
      visitAccessWidener in interface ClassTweakerVisitor
    • visitInjectedInterface

      public void visitInjectedInterface(String owner, String iface, boolean transitive)
      Description copied from interface: ClassTweakerVisitor
      Visit an injected interface.
      Specified by:
      visitInjectedInterface in interface ClassTweakerVisitor
      Parameters:
      owner - the class name of the class to inject the interface onto
      iface - the class name of the interface to inject onto the target class, plus any generics. If generics are present, then this follows the format of JVMS 4.7.9.1 ClassTypeSignatures, minus the surrounding L and semicolon.
      transitive - whether this widener should be applied across mod boundaries
    • visitLineNumber

      public void visitLineNumber(int lineNumber)
      Description copied from interface: ClassTweakerVisitor
      Called by the reader to indicate that we are now on the given line number. Useful for reporting errors.
      Specified by:
      visitLineNumber in interface ClassTweakerVisitor