file licenses are strange , and require some special handling . when you ask `` what license covers this file ? '' in a query , the answer should be the license declared for the enclosing package . on the other hand , if the file is a source for a rule target , and the rule 's license declares more exceptions than the default inherited by the file , the rule 's more liberal target should override the stricter license of the file . in other words , the license of the rule always overrides the license of the non-rule file targets that are inputs to that rule . concode_field_sep Label label concode_elem_sep Package pkg concode_field_sep Package getPackage concode_elem_sep String getFilename concode_elem_sep Label getLabel concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep Set<DistributionType> getDistributions concode_elem_sep String toString
License function ( ) { return getPackage ( ) . getDefaultLicense ( ) ; }