You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
2 years ago
..
src/main/java/com/uber/nullaway/jarinfer Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
build.gradle Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
gradle.properties Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago

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