Class ProguardMapping
java.lang.Object
fr.skytasul.reflection.mappings.files.ProguardMapping
- All Implemented Interfaces:
MappingType
Reads ProGuard obfuscation map.
Difference with the original format:
- for fields and methods, it is acceptable to only have the original name and obfuscated name, without the type of the field or method.
- for methods, it is acceptable not to have the line index prefix
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Type @NotNull []parseParameters(@NotNull String parameters, Map<@NotNull String, Type> fakeTypes, Map<@NotNull String, RealMappings.RealClassMapping> classes) voidwrite(@NotNull BufferedWriter writer, @NotNull Mappings mappings)
-
Constructor Details
-
ProguardMapping
public ProguardMapping(boolean failOnLineParse)
-
-
Method Details
-
parse
- Specified by:
parsein interfaceMappingType
-
parseParameters
-
write
public void write(@NotNull @NotNull BufferedWriter writer, @NotNull @NotNull Mappings mappings) throws IOException - Specified by:
writein interfaceMappingType- Throws:
IOException
-