Class SMAPRoot
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.util.smap.SMAPRoot
-
public class SMAPRoot extends java.lang.ObjectThe root of the SMAP attribute
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMIXIN_STRATUM
-
Constructor Summary
Constructors Constructor Description SMAPRoot(java.lang.String generatedFileName, java.lang.String defaultStratum)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidappendStratum(java.lang.String stratum, FileSection fileSection, LineSection lineSection, java.lang.String vendorId)voidappendStratum(StratumSection stratumSection, FileSection fileSection, LineSection lineSection, VendorSection vendorSection)SMAPRootapplyTo(org.objectweb.asm.tree.ClassNode node, java.lang.StringBuilder builder)Deprecated.SMAPRootapplyTo(org.objectweb.asm.tree.ClassNode node, java.lang.StringBuilder builder, MixinLoggingFacade logger)LineSectiongetLineSection(java.lang.String stratum)static SMAPRootparseSMAP(java.lang.String contents)java.lang.StringBuilderpushContents(java.lang.StringBuilder sharedBuilder)java.lang.StringtoString()
-
-
-
Field Detail
-
MIXIN_STRATUM
@NotNull public static final java.lang.String MIXIN_STRATUM
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseSMAP
@NotNull @Contract(pure=true, value="!null -> new; null -> fail") public static SMAPRoot parseSMAP(@NotNull java.lang.String contents)
-
appendStratum
public void appendStratum(@NotNull StratumSection stratumSection, @NotNull FileSection fileSection, @NotNull LineSection lineSection, @Nullable VendorSection vendorSection)
-
appendStratum
public void appendStratum(@NotNull java.lang.String stratum, @NotNull FileSection fileSection, @NotNull LineSection lineSection, @Nullable java.lang.String vendorId)
-
applyTo
@NotNull @Contract(mutates="param1, param2", pure=false, value="!null, !null -> this; null, _ -> fail; _, null -> fail") @Deprecated @ScheduledForRemoval public SMAPRoot applyTo(@NotNull org.objectweb.asm.tree.ClassNode node, @NotNull java.lang.StringBuilder builder)Deprecated.
-
applyTo
@NotNull @Contract(mutates="param1, param2", pure=false, value="!null, !null, !null -> this; null, _, _ -> fail; _, null, _ -> fail; _, _, null -> fail") public SMAPRoot applyTo(@NotNull org.objectweb.asm.tree.ClassNode node, @NotNull java.lang.StringBuilder builder, @NotNull MixinLoggingFacade logger)
-
getLineSection
@Nullable @Contract(pure=true) public LineSection getLineSection(@NotNull java.lang.String stratum)
-
pushContents
@NotNull @Contract(mutates="param1", pure=false, value="!null -> param1; null -> fail") public java.lang.StringBuilder pushContents(@NotNull java.lang.StringBuilder sharedBuilder)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-