Interface HierarchyInfoProvider<T>
@Experimental
public interface HierarchyInfoProvider<T>
Experimental feature, may be removed or changed without further notice.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<? extends MappingTree.MethodMapping> getHierarchyMethods(T hierarchy, MappingTree tree) Collection<? extends MappingTreeView.MethodMappingView> getHierarchyMethods(T hierarchy, MappingTreeView tree) intgetHierarchySize(T hierarchy) getMethodHierarchy(String owner, String name, @Nullable String desc) default T@Nullable StringresolveField(String owner, String name, @Nullable String desc) Resolves the field according to JVMS 5.4.3.2 and returns the internal name of the owner class of the resolved field, ornullif the field couldn't be resolved.@Nullable StringresolveMethod(String owner, String name, @Nullable String desc) Resolves the method according to JVMS 5.4.3.3 and returns the internal name of the owner class of the resolved method, ornullif the method couldn't be resolved.
-
Method Details
-
getNamespace
String getNamespace() -
resolveField
Resolves the field according to JVMS 5.4.3.2 and returns the internal name of the owner class of the resolved field, ornullif the field couldn't be resolved.If no descriptor is provided, the behavior is implementation-specific.
-
resolveMethod
@Nullable @Nullable String resolveMethod(String owner, String name, @Nullable @Nullable String desc) Resolves the method according to JVMS 5.4.3.3 and returns the internal name of the owner class of the resolved method, ornullif the method couldn't be resolved.If no descriptor is provided, the behavior is implementation-specific.
-
getMethodHierarchy
-
getMethodHierarchy
-
getHierarchySize
-
getHierarchyMethods
Collection<? extends MappingTreeView.MethodMappingView> getHierarchyMethods(@Nullable T hierarchy, MappingTreeView tree) -
getHierarchyMethods
default Collection<? extends MappingTree.MethodMapping> getHierarchyMethods(@Nullable T hierarchy, MappingTree tree)
-