Interface FramedRemapper

All Known Implementing Classes:
SimpleFramedRemapper

public interface FramedRemapper
  • Method Details

    • discardFrame

      @Contract(pure=false) void discardFrame()
    • exportToTinyV1

      @Contract(pure=true, value="-> new") @NotNull @NotNull @Unmodifiable List<@NotNull String> exportToTinyV1()
    • getFrameCount

      @Contract(pure=true) int getFrameCount()
    • getMappedClass

      @Nullable @Contract(pure=true) @Nullable String getMappedClass(@NotNull @NotNull String srcName)
    • getMappedClassOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedClassOpt(@NotNull @NotNull String srcName)
    • getMappedClassOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedClassOpt(@NotNull @NotNull String srcName, @NotNull @NotNull String defaultName)
    • getMappedField

      @Nullable @Contract(pure=true) @Nullable String getMappedField(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameField, @NotNull @NotNull String srcDescField)
    • getMappedFieldOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedFieldOpt(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameField, @NotNull @NotNull String srcDescField)
    • getMappedFieldOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedFieldOpt(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameField, @NotNull @NotNull String srcDescField, @NotNull @NotNull String defaultName)
    • getMappedMethod

      @Nullable @Contract(pure=true) @Nullable String getMappedMethod(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameMethod, @NotNull @NotNull String srcDescMethod)
    • getMappedMethodOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedMethodOpt(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameMethod, @NotNull @NotNull String srcDescMethod)
    • getMappedMethodOpt

      @NotNull @Contract(pure=true) default @NotNull String getMappedMethodOpt(@NotNull @NotNull String srcNameOwner, @NotNull @NotNull String srcNameMethod, @NotNull @NotNull String srcDescMethod, @NotNull @NotNull String defaultName)
    • mapClass

      @Contract(pure=false) void mapClass(@NotNull @NotNull String srcOwner, @NotNull @NotNull String dstOwner)
    • mapField

      @Contract(pure=false) void mapField(@NotNull @NotNull String owner, @NotNull @NotNull String srcName, @NotNull @NotNull String desc, @NotNull @NotNull String dstName)
    • mapMethod

      @Contract(pure=false) void mapMethod(@NotNull @NotNull String owner, @NotNull @NotNull String srcName, @NotNull @NotNull String desc, @NotNull @NotNull String dstName)
    • mergeFrame

      @Contract(pure=false) void mergeFrame()
    • popFrame

      @Contract(pure=false) @NotNull @NotNull FramedRemapper.RemapperFrame popFrame()
    • pushFrame

      @Contract(pure=false) void pushFrame()
    • pushFrame

      @Contract(pure=false) void pushFrame(@NotNull @NotNull FramedRemapper.RemapperFrame frame)
      Push a discarded frame back into the remapper as the uppermost frame.

      The remapper is not required to accept any implementation of FramedRemapper.RemapperFrame, as that interface is more or less a marker interface; However this method should accept any FramedRemapper.RemapperFrame instances emitted by popFrame().

      Parameters:
      frame - The frame to push into the stack.