I have added a comment there concerning the behaviour for literal
bindings. But I dont have permission to change the affected version.
Thanks Lance, you're correct of course.
Michael, as this is still relevant to you, could you please update the
"Affects Version/s:" field of your JIRA issue (TAP
Hi Michel,
Am 12.05.2014 10:58, schrieb Michael Wyraz:
I can access the type of a bound parameter using
ComponentResources.getBoundType(parameterName). But for List it
returns (of course) List.class. Is there a way to access the generic
parameters of the bound type somehow?
No, there is no way
Thanks Lance, you're correct of course.
Michael, as this is still relevant to you, could you please update the
"Affects Version/s:" field of your JIRA issue (TAP5-1213) accordingly?
Am 13.05.2014 11:38, schrieb Lance Java:
No, there is no way to access the generic type, this information is lo
Just having a quick poke through the code this could be fixed by adding the
following methods to the public API.
java.lang.reflect.Type PropertyConduit.getPropertyGenericType()
java.lang.reflect.Type Binding.getBindingGenericType()
java.lang.reflect.Type ComponentResources.getBoundGenericType(Stri
> No, there is no way to access the generic type, this information is lost
during the compilation process.
That's not actually correct. Lets consider the following class:
public class MyClass {
private List foos;
public List getBars() {
...
}
public void doStuffWithBaz() {
Hi,
I can access the type of a bound parameter using
ComponentResources.getBoundType(parameterName). But for List it
returns (of course) List.class. Is there a way to access the generic
parameters of the bound type somehow? I need this for correct
(automatic) type coercion in some special cas