aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Nyman <jnyman@google.com>2023-10-13 11:49:37 +0000
committerJens Nyman <jnyman@google.com>2023-10-13 11:49:37 +0000
commit1085d37c9e3b7975b9e6ac66fd258da5d7f58760 (patch)
tree262693f599bd74594847ca12b6c4c2e960d4344d
parent963c4d8570a1991db39b90e21914cf367ffe4843 (diff)
downloadTestParameterInjector-1085d37c9e3b7975b9e6ac66fd258da5d7f58760.tar.gz
Remove unused method
-rw-r--r--junit4/src/main/java/com/google/testing/junit/testparameterinjector/TestParameterAnnotationMethodProcessor.java7
-rw-r--r--junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/TestParameterAnnotationMethodProcessor.java7
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();
}