tree: 24407e9a3e54c87fc354bc4fcbe661fd5ed747a7 [path history] [tgz]
  1. src/
  2. build.gradle
  3. gradle.properties
  4. README.md
jar-infer/jar-infer-cli/README.md

NullAway jar-infer

Introduction

This extends NullAway to support Nullability inference on external libraries.

Requirements

  • Java 8
  • The Gradle build tool
  • The WALA analysis framework

Installation

Clone the repository, and then:

gradle wrapper
./gradlew build

This will pull in the required WALA jars and build the analysis code.

Usage

java -jar <path-to-jar-infer-cli-tool> -i <in_path> -o <out_path> [-p <pkg_name>] [-vdh]
 -i,--input-file <in_path>     path to target jar/aar file
 -o,--output-file <out_path>   path to processed jar/aar file
 -p,--package <pkg_name>       qualified package name
 -v,--verbose                  set verbosity
 -d,--debug                    print debug information
 -h,--help                     print usage information