Package org.stianloader.softmap
Interface FramedRemapper
- All Known Implementing Classes:
SimpleFramedRemapper
public interface FramedRemapper
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidint@Nullable StringgetMappedClass(@NotNull String srcName) default @NotNull StringgetMappedClassOpt(@NotNull String srcName) default @NotNull StringgetMappedClassOpt(@NotNull String srcName, @NotNull String defaultName) @Nullable StringgetMappedField(@NotNull String srcNameOwner, @NotNull String srcNameField, @NotNull String srcDescField) default @NotNull StringgetMappedFieldOpt(@NotNull String srcNameOwner, @NotNull String srcNameField, @NotNull String srcDescField) default @NotNull StringgetMappedFieldOpt(@NotNull String srcNameOwner, @NotNull String srcNameField, @NotNull String srcDescField, @NotNull String defaultName) @Nullable StringgetMappedMethod(@NotNull String srcNameOwner, @NotNull String srcNameMethod, @NotNull String srcDescMethod) default @NotNull StringgetMappedMethodOpt(@NotNull String srcNameOwner, @NotNull String srcNameMethod, @NotNull String srcDescMethod) default @NotNull StringgetMappedMethodOpt(@NotNull String srcNameOwner, @NotNull String srcNameMethod, @NotNull String srcDescMethod, @NotNull String defaultName) voidvoidmapField(@NotNull String owner, @NotNull String srcName, @NotNull String desc, @NotNull String dstName) voidmapMethod(@NotNull String owner, @NotNull String srcName, @NotNull String desc, @NotNull String dstName) void@NotNull FramedRemapper.RemapperFramepopFrame()voidvoidpushFrame(@NotNull FramedRemapper.RemapperFrame frame) Push a discarded frame back into the remapper as the uppermost frame.
-
Method Details
-
discardFrame
@Contract(pure=false) void discardFrame() -
exportToTinyV1
-
getFrameCount
@Contract(pure=true) int getFrameCount() -
getMappedClass
-
getMappedClassOpt
-
getMappedClassOpt
-
getMappedField
-
getMappedFieldOpt
-
getMappedFieldOpt
-
getMappedMethod
-
getMappedMethodOpt
-
getMappedMethodOpt
-
mapClass
-
mapField
-
mapMethod
-
mergeFrame
@Contract(pure=false) void mergeFrame() -
popFrame
-
pushFrame
@Contract(pure=false) void pushFrame() -
pushFrame
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 anyFramedRemapper.RemapperFrameinstances emitted bypopFrame().- Parameters:
frame- The frame to push into the stack.
-