diff options
Diffstat (limited to 'value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java')
-rw-r--r-- | value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java b/value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java index c31f711e..83951e0a 100644 --- a/value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java +++ b/value/src/test/java/com/google/auto/value/processor/TypeEncoderTest.java @@ -292,7 +292,7 @@ public class TypeEncoderTest { TypeMirror multipleBoundsMirror = multipleBoundsElement.asType(); String text = "`import`\n"; text += "{" + TypeEncoder.encode(multipleBoundsMirror) + "}"; - text += "{" + TypeEncoder.formalTypeParametersString(multipleBoundsElement) + "}"; + text += "{" + TypeEncoder.typeParametersString(multipleBoundsElement.getTypeParameters()) + "}"; String myPackage = getClass().getPackage().getName(); String decoded = TypeEncoder.decode(text, elementUtils, typeUtils, myPackage, baseWithoutContainedTypes()); @@ -306,6 +306,7 @@ public class TypeEncoderTest { @SuppressWarnings("ClassCanBeStatic") static class Outer<T extends Number> { class InnerWithoutTypeParam {} + class Middle<U> { class InnerWithTypeParam<V> {} } |