c40fd43b33cbab0f5b3948ffbb8abcc1d9ce7ee6,src/python/pants/java/jar/shader.py,Shader,shade_package,#Any#Any#Any#,75

Before Change


                           `False` by default.
    :returns: A `Shader.Rule` describing the packages to be shaded.
    
    return cls._package_rule(package_name, recursive, shade=True)

  @classmethod
  def shade_class(cls, class_name):
    Includes the given fully qualified class in shading.

After Change


    :returns: A `Shader.Rule` describing the packages to be shaded.
    
    if not package_name:
      return Shading.Relocate.new("**" if recursive else "*").rule()
    return Shading.RelocatePackage.new(package_name, recursive=recursive).rule()

  @classmethod
  def shade_class(cls, class_name):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: c40fd43b33cbab0f5b3948ffbb8abcc1d9ce7ee6
Time: 2015-09-08
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/java/jar/shader.py
Class Name: Shader
Method Name: shade_package


Project Name: pantsbuild/pants
Commit Name: c40fd43b33cbab0f5b3948ffbb8abcc1d9ce7ee6
Time: 2015-09-08
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/java/jar/shader.py
Class Name: Shader
Method Name: exclude_package


Project Name: pantsbuild/pants
Commit Name: c40fd43b33cbab0f5b3948ffbb8abcc1d9ce7ee6
Time: 2015-09-08
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/java/jar/shader.py
Class Name: Shader
Method Name: exclude_class


Project Name: pantsbuild/pants
Commit Name: c40fd43b33cbab0f5b3948ffbb8abcc1d9ce7ee6
Time: 2015-09-08
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/java/jar/shader.py
Class Name: Shader
Method Name: shade_class