public List<KeyPath> resolveKeyPath(KeyPath keyPath) {
    if (compositionLayer == null) {
      Logger.warning("Cannot resolve KeyPath. Composition is not set yet.");
      return Collections.emptyList();
    }
    List<KeyPath> keyPaths = new ArrayList<>();
    compositionLayer.resolveKeyPath(keyPath, 0, keyPaths, new KeyPath());
    return keyPaths;
  }
Takes a {@link KeyPath}, potentially with wildcards or globstars and resolve it to a list of
zero or more actual {@link KeyPath Keypaths} that exist in the current animation.
<p>
If you want to set value callbacks for any of these values, it is recommend to use the
returned {@link KeyPath} objects because they will be internally resolved to their content
and won't trigger a tree walk of the animation contents when applied.
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java