Class DescriptorResolver
java.lang.Object
org.spongepowered.asm.mixin.injection.selectors.dynamic.DescriptorResolver
Utility class which contains the logic for resolving descriptors
(
Desc annotations) starting from an element and recursing up the tree
of parent elements looking for a matching descriptor-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic IResolvedDescriptorresolve(String id, ISelectorContext context) Resolve the specified descriptor id starting at the specified contextstatic IResolvedDescriptorresolve(IAnnotationHandle desc, ISelectorContext context)
-
Field Details
-
PRINT_ID
Special ID used to instruct the resolver to print its progress.
-
-
Method Details
-
resolve
-
resolve
Resolve the specified descriptor id starting at the specified context- Parameters:
id- Id to resolve, can be empty if resolving by coordinatecontext- Selector context, usually from the source annotation- Returns:
- Resolution result
-