Package org.stianloader.softmap
Class SoftmapContext
java.lang.Object
org.stianloader.softmap.SoftmapContext
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSoftmapContext(@NotNull @Unmodifiable List<@NotNull org.stianloader.softmap.MethodExpression> expressions, @NotNull @Unmodifiable List<@NotNull SoftmapParseError> parseErrors) -
Method Summary
Modifier and TypeMethodDescription@NotNull @Unmodifiable List<@NotNull SoftmapParseError>static @NotNull SoftmapContext@NotNull SoftmapContext.ApplicationResult
-
Constructor Details
-
SoftmapContext
protected SoftmapContext(@NotNull @NotNull @Unmodifiable List<@NotNull org.stianloader.softmap.MethodExpression> expressions, @NotNull @NotNull @Unmodifiable List<@NotNull SoftmapParseError> parseErrors)
-
-
Method Details
-
parse
@NotNull @Contract(pure=true, value="null, _, _, _, _ -> fail; !null, _, _, _, _ -> new") public static @NotNull SoftmapContext parse(@NotNull @NotNull String source, int start, int end, int rowStart, int columnStart) -
getParseErrors
@NotNull @Contract(pure=true) public @NotNull @Unmodifiable List<@NotNull SoftmapParseError> getParseErrors() -
tryApply
@NotNull @Contract(pure=true) public @NotNull SoftmapContext.ApplicationResult tryApply(@NotNull @NotNull List<@NotNull org.objectweb.asm.tree.ClassNode> obfuscatedNodes)
-