code: def get_artifact_info(self):
      
      exported = bool(self.provides)
  
      org = self.provides.org if exported else 'internal'
      name = self.provides.name if exported else self.identifier
  
      # TODO(John Sirois): This should return something less than a JarDependency encapsulating just
      # the org and name.  Perhaps a JarFamily?
      return JarDependency(org=org, name=name, rev=None), exported
docs: Returns a tuple composed of a :class:`pants.java.jar.JarDependency`
      describing the jar for this target and a bool indicating if this target is exportable.