diff options
author | Jens Nyman <jnyman@google.com> | 2023-10-13 11:49:37 +0000 |
---|---|---|
committer | Jens Nyman <jnyman@google.com> | 2023-10-13 11:49:37 +0000 |
commit | 1085d37c9e3b7975b9e6ac66fd258da5d7f58760 (patch) | |
tree | 262693f599bd74594847ca12b6c4c2e960d4344d | |
parent | 963c4d8570a1991db39b90e21914cf367ffe4843 (diff) | |
download | TestParameterInjector-1085d37c9e3b7975b9e6ac66fd258da5d7f58760.tar.gz |
Remove unused method
2 files changed, 0 insertions, 14 deletions
diff --git a/junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterAnnotationMethodProcessor.java b/junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterAnnotationMethodProcessor.java index f8afe65..31ecf25 100644 --- a/junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterAnnotationMethodProcessor.java +++ b/junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterAnnotationMethodProcessor.java @@ -96,12 +96,6 @@ final class TestParameterAnnotationMethodProcessor implements TestMethodProcesso abstract List<Object> specifiedValues(); /** - * The class of the parameter or field that is being annotated. In case the annotation is - * annotating a method, constructor or class, {@code paramClass} is an absent optional. - */ - abstract Optional<Class<?>> paramClass(); - - /** * The name of the parameter or field that is being annotated. In case the annotation is * annotating a method, constructor or class, {@code paramName} is an absent optional. */ @@ -145,7 +139,6 @@ final class TestParameterAnnotationMethodProcessor implements TestMethodProcesso newArrayList( FluentIterable.from(specifiedValues) .transform(TestParameterValue::getWrappedValue)), - annotationWithMetadata.paramClass(), annotationWithMetadata.paramName())) .toList(); } diff --git a/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterAnnotationMethodProcessor.java b/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterAnnotationMethodProcessor.java index 05a4226..834a83d 100644 --- a/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterAnnotationMethodProcessor.java +++ b/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterAnnotationMethodProcessor.java @@ -96,12 +96,6 @@ final class TestParameterAnnotationMethodProcessor implements TestMethodProcesso abstract List<Object> specifiedValues(); /** - * The class of the parameter or field that is being annotated. In case the annotation is - * annotating a method, constructor or class, {@code paramClass} is an absent optional. - */ - abstract Optional<Class<?>> paramClass(); - - /** * The name of the parameter or field that is being annotated. In case the annotation is * annotating a method, constructor or class, {@code paramName} is an absent optional. */ @@ -145,7 +139,6 @@ final class TestParameterAnnotationMethodProcessor implements TestMethodProcesso newArrayList( FluentIterable.from(specifiedValues) .transform(TestParameterValue::getWrappedValue)), - annotationWithMetadata.paramClass(), annotationWithMetadata.paramName())) .toList(); } |