Package net.fabricmc.mappingio.tree
Interface MappingTree
- All Superinterfaces:
MappingTreeView
- All Known Implementing Classes:
MemoryMappingTree
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceNested classes/interfaces inherited from interface net.fabricmc.mappingio.tree.MappingTreeView
MappingTreeView.ClassMappingView, MappingTreeView.ElementMappingView, MappingTreeView.FieldMappingView, MappingTreeView.MemberMappingView, MappingTreeView.MethodArgMappingView, MappingTreeView.MethodMappingView, MappingTreeView.MethodVarMappingView -
Field Summary
Fields inherited from interface net.fabricmc.mappingio.tree.MappingTreeView
MIN_NAMESPACE_ID, NULL_NAMESPACE_ID, SRC_NAMESPACE_ID -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(String key, String value) default MappingTree.ClassMappingCollection<? extends MappingTree.ClassMapping>default MappingTree.FieldMappingdefault MappingTree.FieldMappingdefault MappingTree.MethodMappingdefault MappingTree.MethodMappingremoveClass(String srcName) removeMetadata(String key) setDstNamespaces(List<String> namespaces) setSrcNamespace(String namespace) Methods inherited from interface net.fabricmc.mappingio.tree.MappingTreeView
accept, accept, getDstNamespaces, getMaxNamespaceId, getMetadata, getMetadata, getMinNamespaceId, getNamespaceId, getNamespaceName, getSrcNamespace, mapClassName, mapClassName, mapDesc, mapDesc, mapDesc, mapDesc
-
Method Details
-
setSrcNamespace
-
setDstNamespaces
-
addMetadata
-
removeMetadata
-
getClasses
Collection<? extends MappingTree.ClassMapping> getClasses()- Specified by:
getClassesin interfaceMappingTreeView
-
getClass
- Specified by:
getClassin interfaceMappingTreeView
-
getClass
- Specified by:
getClassin interfaceMappingTreeView
-
addClass
-
removeClass
-
getField
- Specified by:
getFieldin interfaceMappingTreeView- See Also:
-
getField
default MappingTree.FieldMapping getField(String ownerName, String name, String desc, int namespace) - Specified by:
getFieldin interfaceMappingTreeViewdesc- Nullable.
-
getMethod
- Specified by:
getMethodin interfaceMappingTreeView- See Also:
-
getMethod
default MappingTree.MethodMapping getMethod(String ownerName, String name, String desc, int namespace) - Specified by:
getMethodin interfaceMappingTreeViewdesc- Nullable. Can be either complete desc or parameter-only desc.
-