public interface KeepRules
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Map<T,DependencyType> |
getSymbolsToKeep(T klass,
ShrinkerGraph<T> graph)
Given a program class and the whole
ShrinkerGraph, decides which symbols should be
kept in the output. |
<T> java.util.Map<T,DependencyType> getSymbolsToKeep(T klass, ShrinkerGraph<T> graph)
ShrinkerGraph, decides which symbols should be
kept in the output. The result can contain methods and fields from klass as well as
klass itself (in case of -keep rules).