All Downloads are FREE. Search and download functionalities are using the official Maven repository.

proguard.util.HierarchyProvider Maven / Gradle / Ivy

Go to download

ProGuardCORE is a free library to read, analyze, modify, and write Java class files.

There is a newer version: 9.1.6
Show newest version
package proguard.util;

import java.util.Set;
import org.jetbrains.annotations.Nullable;
import proguard.classfile.Clazz;

/**
 * And interface to be implemented by classes that are able to provide information on the hierarchy
 * of classes.
 *
 * 

For example implementations could simply use a {@link * proguard.classfile.visitor.ClassHierarchyTraveler} or provide faster access by pre-computing the * class hierarchy. */ public interface HierarchyProvider { /** * @param className name of the {@link Clazz}. * @return The {@link Clazz} object. */ @Nullable Clazz getClazz(String className); /** * @param className name of the parent {@link Clazz}. * @return A set of names of the subclasses, not including the parent {@link Clazz}'s. */ Set getSubClasses(String className); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy