#!/usr/bin/env python2.7

# Copyright (c) 2013 - present Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import sys

import inferlib

if __name__ == '__main__':
    cmd_args = sys.argv[1:]
    analysis = inferlib.Infer(inferlib.get_inferJ_args(cmd_args),
                              inferlib.get_javac_args(cmd_args))
    stats = analysis.start()