mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user