A B C D E F G H I M N P S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addField(String, String) - Method in class ftbsc.lll.mapper.data.ClassData
-
Adds a field to the target class.
- addField(String, String, String) - Method in class ftbsc.lll.mapper.data.ClassData
-
Adds a field to the target class.
- addMethod(String, String, String) - Method in class ftbsc.lll.mapper.data.ClassData
-
Adds a method to the target class.
B
- buildMapper(List<String>, boolean, boolean) - Method in class ftbsc.lll.mapper.impl.SRGMapper
-
Builds the two mappers, and returns one of the two depending on the flag.
C
- claim(List<String>) - Method in interface ftbsc.lll.mapper.IMappingFormat
-
Checks whether this mapper can process the given lines.
- claim(List<String>) - Method in class ftbsc.lll.mapper.impl.MultiMapper
- claim(List<String>) - Method in class ftbsc.lll.mapper.impl.SRGMapper
- claim(List<String>) - Method in class ftbsc.lll.mapper.impl.TinyV2Mapper
- claim(List<String>) - Method in class ftbsc.lll.mapper.impl.TSRGMapper
- ClassData - Class in ftbsc.lll.mapper.data
-
Container class used to store information about classes.
- ClassData(String, String) - Constructor for class ftbsc.lll.mapper.data.ClassData
-
The constructor.
D
- descriptor - Variable in class ftbsc.lll.mapper.data.FieldData
-
The field's type descriptor.
- descriptor - Variable in class ftbsc.lll.mapper.data.MethodSignature
-
The descriptor of the method.
E
- equals(Object) - Method in class ftbsc.lll.mapper.data.MethodSignature
-
Checks if two
MethodSignature
s represent the same method.
F
- fetchFromLocalOrRemote(String) - Static method in class ftbsc.lll.mapper.MapperProvider
-
Gets a resource and parses it into a
List
ofString
s. - FieldData - Class in ftbsc.lll.mapper.data
-
Container class for method data.
- FieldData(ClassData, String, String) - Constructor for class ftbsc.lll.mapper.data.FieldData
-
Constructs a new
FieldData
with unspecified descriptor. - FieldData(ClassData, String, String, String) - Constructor for class ftbsc.lll.mapper.data.FieldData
-
Constructs a new
FieldData
with descriptor. - ftbsc.lll.exceptions - package ftbsc.lll.exceptions
- ftbsc.lll.mapper - package ftbsc.lll.mapper
- ftbsc.lll.mapper.data - package ftbsc.lll.mapper.data
- ftbsc.lll.mapper.impl - package ftbsc.lll.mapper.impl
- ftbsc.lll.mapper.utils - package ftbsc.lll.mapper.utils
G
- generateReverseMappings(Mapper) - Method in class ftbsc.lll.mapper.data.ClassData
-
Generates the reverse mappings for this class.
- getClassData(String) - Method in class ftbsc.lll.mapper.utils.Mapper
-
Gets the
ClassData
given the plain name. - getFieldData(String, String) - Method in class ftbsc.lll.mapper.utils.Mapper
-
Gets the mapped name of a field.
- getFields() - Method in class ftbsc.lll.mapper.data.ClassData
-
Gets the underlying
Map
forFieldData
. - getInverted() - Method in class ftbsc.lll.mapper.utils.Mapper
-
Builds a new
Mapper
that functions in reverse to this one (i.e. - getInvertedMapper(List<String>, boolean) - Method in interface ftbsc.lll.mapper.IMappingFormat
-
Creates a
Mapper
given the lines, ignoring errors depending on the given flag, and returns its inverted form. - getInvertedMapper(List<String>, boolean) - Method in class ftbsc.lll.mapper.impl.SRGMapper
- getMapper(List<String>) - Static method in class ftbsc.lll.mapper.MapperProvider
-
Loads all valid parsers available in the classpath (via the Java Service API), attempts to load the resource at given location and to populate a mapper with its data.
- getMapper(List<String>, boolean) - Method in interface ftbsc.lll.mapper.IMappingFormat
-
Creates a
Mapper
given the lines, ignoring errors depending on the given flag. - getMapper(List<String>, boolean) - Method in class ftbsc.lll.mapper.impl.MultiMapper
- getMapper(List<String>, boolean) - Method in class ftbsc.lll.mapper.impl.SRGMapper
- getMapper(List<String>, boolean) - Method in class ftbsc.lll.mapper.impl.TinyV2Mapper
- getMapper(List<String>, boolean) - Method in class ftbsc.lll.mapper.impl.TSRGMapper
- getMethodData(String, String, String) - Method in class ftbsc.lll.mapper.utils.Mapper
-
Gets the mapped name of a method
- getMethods() - Method in class ftbsc.lll.mapper.data.ClassData
-
Gets the underlying
Map
forMethodData
. - getRawMappings() - Method in class ftbsc.lll.mapper.utils.Mapper
-
Gets the "raw mappings".
H
- hashCode() - Method in class ftbsc.lll.mapper.data.MethodSignature
-
Calculates a hash based on name and descriptor.
I
- IMappingFormat - Interface in ftbsc.lll.mapper
-
The shared interface between all mappers.
- InvalidResourceException - Exception in ftbsc.lll.exceptions
-
Thrown when a resource passed as an argument is not found.
- InvalidResourceException() - Constructor for exception ftbsc.lll.exceptions.InvalidResourceException
-
Empty constructor, used when the provided resource exists but no mapper was able to read it.
- InvalidResourceException(String) - Constructor for exception ftbsc.lll.exceptions.InvalidResourceException
-
Named constructor, used when the specified resource doesn't exist.
M
- MalformedMappingsException - Exception in ftbsc.lll.exceptions
-
Thrown when something goes wrong while parsing a mappings file.
- MalformedMappingsException(int, String) - Constructor for exception ftbsc.lll.exceptions.MalformedMappingsException
-
Constructs a new
MalformedMappingsException
given the line number and an error message. - mapField(String) - Method in class ftbsc.lll.mapper.data.ClassData
-
Gets the
FieldData
its name. - mapMethod(String, String) - Method in class ftbsc.lll.mapper.data.ClassData
-
Gets the
MethodData
from its name and descriptor, which may be partial (i.e. - mapMethodDescriptor(String, Mapper, boolean) - Static method in class ftbsc.lll.mapper.utils.MappingUtils
-
Maps a method descriptor, replacing its class references with their mapped counterparts.
- Mapper - Class in ftbsc.lll.mapper.utils
-
An object containing parsed mapping data, which can apply a conversion as requested.
- Mapper() - Constructor for class ftbsc.lll.mapper.utils.Mapper
- MapperProvider - Class in ftbsc.lll.mapper
-
The main class of the mapper library.
- MapperProvider() - Constructor for class ftbsc.lll.mapper.MapperProvider
- MappingNotFoundException - Exception in ftbsc.lll.exceptions
-
Thrown upon failure to find the requested mapping within a loaded
IMappingFormat
. - MappingNotFoundException(String, String) - Constructor for exception ftbsc.lll.exceptions.MappingNotFoundException
-
Constructs a new mapping not found exception for the specified mapping.
- mappings - Variable in class ftbsc.lll.mapper.utils.Mapper
-
A
Map
tying each plain class name to its class data. - MappingUtils - Class in ftbsc.lll.mapper.utils
-
A collection of static utility methods correlated to mappers.
- MappingUtils() - Constructor for class ftbsc.lll.mapper.utils.MappingUtils
- mapType(Type, Mapper, boolean) - Static method in class ftbsc.lll.mapper.utils.MappingUtils
-
Given a
Type
and a validMapper
it returns its mapped counterpart. - MethodData - Class in ftbsc.lll.mapper.data
-
Container class for method data.
- MethodData(ClassData, String, String, String) - Constructor for class ftbsc.lll.mapper.data.MethodData
-
Constructs a new
MethodData
. - MethodSignature - Class in ftbsc.lll.mapper.data
-
Container class for method signature data.
- MethodSignature(String, String) - Constructor for class ftbsc.lll.mapper.data.MethodSignature
-
Constructs a new
MethodSignature
. - MultiMapper - Class in ftbsc.lll.mapper.impl
-
Special mapper type that actually resolves to an ordered sequence of mappers applied one after the other.
- MultiMapper() - Constructor for class ftbsc.lll.mapper.impl.MultiMapper
N
- name - Variable in class ftbsc.lll.mapper.data.ClassData
-
The internal (like the fully-qualified name, but with '/' instead of '.') of the class.
- name - Variable in class ftbsc.lll.mapper.data.FieldData
-
The name of the method.
- name - Variable in class ftbsc.lll.mapper.data.MethodSignature
-
The name of the method.
- nameMapped - Variable in class ftbsc.lll.mapper.data.ClassData
-
The mapped internal (like the fully-qualified name, but with '/' instead of '.') of the class.
- nameMapped - Variable in class ftbsc.lll.mapper.data.FieldData
-
The name mapped.
- nameMapped - Variable in class ftbsc.lll.mapper.data.MethodData
-
The mapped name of the method.
P
- parentClass - Variable in class ftbsc.lll.mapper.data.FieldData
-
The internal name of the parent class.
- parentClass - Variable in class ftbsc.lll.mapper.data.MethodData
-
The internal name of the parent class.
- priority() - Method in interface ftbsc.lll.mapper.IMappingFormat
-
Defines a priority for this implementation: the higher the number, the higher the priority.
S
- signature - Variable in class ftbsc.lll.mapper.data.MethodData
-
The signature of the method.
- SRGMapper - Class in ftbsc.lll.mapper.impl
-
A
IMappingFormat
capable of parsing SRG mappings. - SRGMapper() - Constructor for class ftbsc.lll.mapper.impl.SRGMapper
T
- TinyV2Mapper - Class in ftbsc.lll.mapper.impl
-
A
IMappingFormat
capable of parsing TinyV2 mappings. - TinyV2Mapper() - Constructor for class ftbsc.lll.mapper.impl.TinyV2Mapper
- TSRGMapper - Class in ftbsc.lll.mapper.impl
-
A
IMappingFormat
capable of parsing TSRG (an intermediary format used by Forge) files. - TSRGMapper() - Constructor for class ftbsc.lll.mapper.impl.TSRGMapper
All Classes All Packages