#NEWLINE# @ classmethod #NEWLINE# def get_unpack_filter( cls , unpacked_jars ) : #NEWLINE# #INDENT# 'Calculate a filter function from the include/exclude patterns of a Target.\n\n    :param Target unpacked_jars: A target with include_patterns and exclude_patterns attributes.\n    ' #NEWLINE# return cls . calculate_unpack_filter ( includes = unpacked_jars . payload . include_patterns , excludes = unpacked_jars . payload . exclude_patterns , spec = unpacked_jars . address . spec )