Skip to content

Commit

Permalink
Implemented ParameterizedType#toString().
Browse files Browse the repository at this point in the history
  • Loading branch information
harawata committed Apr 29, 2016
1 parent 57642b9 commit 87aa692
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.lang.reflect.WildcardType;
import java.util.Arrays;

/**
* @author Iwao AVE!
Expand Down Expand Up @@ -232,6 +233,11 @@ public Type getOwnerType() {
public Type getRawType() {
return rawType;
}

@Override
public String toString() {
return "ParameterizedTypeImpl [rawType=" + rawType + ", ownerType=" + ownerType + ", actualTypeArguments=" + Arrays.toString(actualTypeArguments) + "]";
}
}

static class WildcardTypeImpl implements WildcardType {
Expand Down

0 comments on commit 87aa692

Please sign in to comment.