Interface HierarchyInfoProvider<T>


@Experimental public interface HierarchyInfoProvider<T>
Experimental feature, may be removed or changed without further notice.
  • Method Details

    • getNamespace

      String getNamespace()
    • resolveField

      @Nullable @Nullable String resolveField(String owner, String name, @Nullable @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, or null if 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, or null if the method couldn't be resolved.

      If no descriptor is provided, the behavior is implementation-specific.

    • getMethodHierarchy

      @Nullable T getMethodHierarchy(String owner, String name, @Nullable @Nullable String desc)
    • getMethodHierarchy

      @Nullable default T getMethodHierarchy(MappingTreeView.MethodMappingView method)
    • getHierarchySize

      int getHierarchySize(@Nullable T hierarchy)
    • getHierarchyMethods

      Collection<? extends MappingTreeView.MethodMappingView> getHierarchyMethods(@Nullable T hierarchy, MappingTreeView tree)
    • getHierarchyMethods

      default Collection<? extends MappingTree.MethodMapping> getHierarchyMethods(@Nullable T hierarchy, MappingTree tree)