Class TargetNodeTranslator

  • public abstract class TargetNodeTranslator
    extends Object
    A helper class which uses reflection to translate BuildTargets in TargetNodes. The API methods use an Optional for their return types, so that Optional.empty() can be used to signify a translation was not needed. This may allow some translation functions to avoid copying or creating unnecessary new objects.