diff --git a/moshi/src/main/java/com/squareup/moshi/Types.java b/moshi/src/main/java/com/squareup/moshi/Types.java index 1235232..e383baa 100644 --- a/moshi/src/main/java/com/squareup/moshi/Types.java +++ b/moshi/src/main/java/com/squareup/moshi/Types.java @@ -423,15 +423,15 @@ public final class Types { } } - public Type[] getActualTypeArguments() { + @Override public Type[] getActualTypeArguments() { return typeArguments.clone(); } - public Type getRawType() { + @Override public Type getRawType() { return rawType; } - public Type getOwnerType() { + @Override public Type getOwnerType() { return ownerType; } @@ -469,7 +469,7 @@ public final class Types { this.componentType = canonicalize(componentType); } - public Type getGenericComponentType() { + @Override public Type getGenericComponentType() { return componentType; } @@ -515,11 +515,11 @@ public final class Types { } } - public Type[] getUpperBounds() { + @Override public Type[] getUpperBounds() { return new Type[] { upperBound }; } - public Type[] getLowerBounds() { + @Override public Type[] getLowerBounds() { return lowerBound != null ? new Type[] { lowerBound } : EMPTY_TYPE_ARRAY; }