```
public Interface Foo<T extends Colors>{...}

```

Is there a way to retrieve which T was given for an implementation of Foo?

For example,

```
public Class FooImpl implements Foo<Green>{..}

```

Would return Green.