public interface IReobfuscator
| Modifier and Type | Method and Description |
|---|---|
void |
extraFiles(java.lang.Iterable<java.lang.Object> o)
Adds a collection of additional srg files for reobfuscating.
|
void |
extraFiles(java.lang.Object... o)
Adds some additional srg files for reobfuscating.
|
void |
extraLines(java.lang.Iterable<java.lang.Object> o)
Adds a collection of additional srg lines for reobfuscating.
|
void |
extraLines(java.lang.Object... o)
Adds some additional srg lines for reobfuscating.
|
org.gradle.api.file.FileCollection |
getClasspath()
Gets the classpath used to reobfuscate.
|
java.util.List<java.lang.Object> |
getExtraFiles()
Gets the extra srg files.
|
java.util.List<java.lang.Object> |
getExtraLines()
Gets the extra srg lines and files.
|
java.lang.Object |
getMappings()
Gets the mappings file used to reobfuscate.
|
ReobfMappingType |
getMappingType()
Gets the mappings type.
|
void |
setClasspath(org.gradle.api.file.FileCollection classpath)
Sets the classpath used to reobfuscate.
|
void |
setExtraLines(java.util.List<java.lang.Object> extra)
Sets the extra lines.
|
void |
setMappings(java.lang.Object srg)
Sets the mappings file used to reobfuscate.
|
void |
setMappingType(ReobfMappingType type)
Sets the mapping type for easy access to searge or notch names.
|
void |
useNotchSrg()
Deprecated.
|
void |
useSrgSrg()
Deprecated.
|
java.lang.Object getMappings()
File or a String path for a DelayedFile.void setMappings(java.lang.Object srg)
File.srg - The srg file or path to itReobfMappingType getMappingType()
void setMappingType(ReobfMappingType type)
setMappings(Object).
// for notch names (vanilla) mappingType = "NOTCH" // or searge names (forge) mappingType = "SEARGE"
type - The mappingjava.lang.NullPointerException - when type is nulljava.lang.IllegalArgumentException - when type is ReobfMappingType.CUSTOMvoid setClasspath(org.gradle.api.file.FileCollection classpath)
classpath += otherClasspath to add to it.classpath - The new classpathorg.gradle.api.file.FileCollection getClasspath()
classpath += otherClasspath to add to it.java.util.List<java.lang.Object> getExtraLines()
extraLines(Object...) or extra += [] instead of setting
the list manually.void setExtraLines(java.util.List<java.lang.Object> extra)
extraLines(Object...) instead of setting the list manually.extra - The list of srg linesvoid extraLines(java.lang.Object... o)
o - The array to addvoid extraLines(java.lang.Iterable<java.lang.Object> o)
o - The collection to addjava.util.List<java.lang.Object> getExtraFiles()
extraFiles(Object...) instead of setting the list manually.void extraFiles(java.lang.Object... o)
Project.file(Object)o - The array to addvoid extraFiles(java.lang.Iterable<java.lang.Object> o)
o - The collection to add@Deprecated void useSrgSrg()
setMappingType(ReobfMappingType)@Deprecated void useNotchSrg()
setMappingType(ReobfMappingType)