diff --git a/notice.md b/notice.md index 32e9d3d3..9df64904 100644 --- a/notice.md +++ b/notice.md @@ -1,7 +1,12 @@ -| Dependency Name | Copyright Information | Description | Repo URL | License Type | License URL | -|-----------------|-----------------------|-------------|----------|--------------|-------------| -|guava|Copyright (C) 2012 The Guava Authors|"Google Core Libraries for Java 6+|https://code.google.com/p/guava-libraries/|Apache 2.0|http://www.apache.org/licenses/LICENSE-2.0| -|javassist|Copyright (C) 1999-2015 Shigeru Chiba.|Java bytecode engineering toolkit|http://www.javassist.org/ |Triple License: MPL 1.1, LGPL 2.1, Apache 2.0|| -|reflections|Copyright (C) 2004 Sam Hocevar|Java runtime metadata analysis|https://github.com/ronmamo/reflections|wtfpl version 2 |https://code.google.com/p/reflections/source/browse/trunk/COPYING.txt| -|protobuf-java| Copyright 2008 Google Inc.|Java Protocol Buffers runtime library|https://github.com/google/protobuf/tree/master/java|BSD 2 clause license|http://www.opensource.org/licenses/bsd-license.php| +| Dependency Name | Copyright Information | Description | Repo URL | License Type | License URL | +|-----------------|----------------------------------------|--------------------------------------------------------------------------------------------|---------------------------------------------|-----------------------------------------------|-----------------------------------------------------------------------| +| assertj | | Fluent testing assertions for Java and the JVM | https://github.com/assertj/assertj | Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | +| bye-buddy | | Runtime code generation for the Java virtual machine. | https://github.com/raphw/byte-buddy | Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | +| reflections | Copyright (C) 2004 Sam Hocevar | Java runtime metadata analysis | https://github.com/ronmamo/reflections | wtfpl version 2 | https://code.google.com/p/reflections/source/browse/trunk/COPYING.txt | +| javassist | Copyright (C) 1999-2015 Shigeru Chiba. | Java bytecode engineering toolkit | https://www.javassist.org/ | Triple License: MPL 1.1, LGPL 2.1, Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | +| javaparser | | Java 1-21 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities. | https://github.com/javaparser/javaparser | Dual License: LGPL 3.0, Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | +| JSON-java | | A reference implementation of a JSON package in Java. | https://github.com/stleary/JSON-java | Public Domain | https://github.com/stleary/JSON-java/blob/master/LICENSE | +| guava | Copyright (C) 2012 The Guava Authors | Google Core Libraries for Java | https://github.com/google/guava | Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | +| protobuf-java | | Java Protocol Buffers runtime library | https://github.com/protocolbuffers/protobuf | BSD 2 clause license | https://www.opensource.org/licenses/bsd-license.php | +| grpc-java | | Google Core Libraries for Java | https://github.com/grpc/grpc-java | Apache 2.0 | https://www.apache.org/licenses/LICENSE-2.0 | diff --git a/pom.xml b/pom.xml index 945302de..30f791cd 100644 --- a/pom.xml +++ b/pom.xml @@ -42,6 +42,12 @@ org.reflections reflections 0.10.2 + + + com.google.code.findbugs + jsr305 + + com.github.javaparser @@ -84,18 +90,54 @@ io.grpc grpc-api + + + com.google.errorprone + error_prone_annotations + + + com.google.code.findbugs + jsr305 + + io.grpc grpc-netty-shaded + + + com.google.errorprone + error_prone_annotations + + + org.codehaus.mojo + animal-sniffer-annotations + + + com.google.android + annotations + + io.grpc grpc-protobuf + + + com.google.code.findbugs + jsr305 + + io.grpc grpc-stub + + + com.google.errorprone + error_prone_annotations + + org.junit.jupiter diff --git a/src/main/java/com/thoughtworks/gauge/execution/parameters/parsers/base/ParameterParsingChain.java b/src/main/java/com/thoughtworks/gauge/execution/parameters/parsers/base/ParameterParsingChain.java index 21111e26..3dbe7048 100644 --- a/src/main/java/com/thoughtworks/gauge/execution/parameters/parsers/base/ParameterParsingChain.java +++ b/src/main/java/com/thoughtworks/gauge/execution/parameters/parsers/base/ParameterParsingChain.java @@ -20,7 +20,6 @@ import org.reflections.util.ConfigurationBuilder; import org.reflections.util.FilterBuilder; -import javax.annotation.Nullable; import java.lang.reflect.InvocationTargetException; import java.util.LinkedList; import java.util.List; @@ -48,8 +47,7 @@ private Reflections createReflections() { return new Reflections(config); } - private @Nullable - ParameterParser asCustomParameterParser(Class clazz) { + private ParameterParser asCustomParameterParser(Class clazz) { try { ParameterParser instance = clazz.getDeclaredConstructor().newInstance(); Logger.debug(String.format("Adding %s as custom parameter parser", clazz.getName()));