# Path: formatters/log.py
# class Paint:
# 
#     @staticmethod
#     def bold(s):
#         return "%s[01m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def red(s):
#         return "%s[33;31m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def green(s):
#         return "%s[31;32m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def blue(s):
#         return "%s[34;01m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def yellow(s):
#         return "%s[31;33m%s%s[0m" % (chr(27), s.rstrip(), chr(27))


import utils
import Replace
from formatters.log import Paint 
'''
Created on Apr 4, 2014

@author: tangliuxiang
'''



MAX_CHECK_INVOKE_DEEP = 50

class SAutoCom(object):
    '''
    classdocs
    '''

    @staticmethod
    def autocom(vendorDir, aospDir, bospDir, mergedDir, outdir, comModuleList):
        sReplace = Replace.Replace(vendorDir, aospDir, bospDir, mergedDir)

        for module in comModuleList:

# Path: formatters/log.py
# class Paint:
# 
#     @staticmethod
#     def bold(s):
#         return "%s[01m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def red(s):
#         return "%s[33;31m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def green(s):
#         return "%s[31;32m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def blue(s):
#         return "%s[34;01m%s%s[0m" % (chr(27), s.rstrip(), chr(27))
# 
#     @staticmethod
#     def yellow(s):
#         return "%s[31;33m%s%s[0m" % (chr(27), s.rstrip(), chr(27))


# Path: smaliparser/SAutoCom.py
import utils
import Replace
from formatters.log import Paint 

'''
Created on Apr 4, 2014

@author: tangliuxiang
'''



MAX_CHECK_INVOKE_DEEP = 50

class SAutoCom(object):
    '''
    classdocs
    '''

    @staticmethod
    def autocom(vendorDir, aospDir, bospDir, mergedDir, outdir, comModuleList):
        sReplace = Replace.Replace(vendorDir, aospDir, bospDir, mergedDir)

        for module in comModuleList:

            print Paint.bold(" Complete missed method in %s") % module