polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Merlin <paulmer...@apache.org>
Subject Re: Don't throw Exceptions during Bootstrap
Date Sun, 02 Apr 2017 18:09:44 GMT
Le 2017-03-31 05:02, Niclas Hedhman a écrit :
> The full format would have been;
> 
> Composition Problems Report:
>     message: No implementation found for method
>     method: java.util.Map<java.lang.String, java.lang.Integer>
> doAnotherThing(String name, int value)
>     types: [Person,ValueComposite]
> 
> (i.e. toString on a ParameterizedType) which I find quite annoying. 
> Seldom
> enough the package name should be needed.

Ok. I was thinking about our Classes.simpleGenericNameOf(Type type) 
utility method that should make it easy to get:

Composition Problems Report:
     message: No implementation found for method
     method: Map<String, Integer> doAnotherThing(String name, int value)
     types: [Person,ValueComposite]


Mime
View raw message