On 2009-12-14 07.26, Niclas Hedhman wrote:
Unfortunately, I can't find any discussion on this, and the
ModuleAssembly.forMixin( type ).setMetaInfo( info ), is not obvious
how it relates to Property metaInfo, and the code looks "suspicious"
to me.

This part Michael Hunger wrote I think. I agree, it's not obvious how to do that part. Michael, any ideas?

Rickard??

Also for Rickard, the "suspicious" part is in MetaInfoDeclaration,
around line 104-109

         public Object invoke( Object o, Method method, Object[]
objects ) throws Throwable
         {
             final MethodInfo methodInfo = new MethodInfo( metaInfo );
             methodInfos.put( method, methodInfo );
             metaInfo = null; // reset

Why is metaInfo set to null, and subsequent method calls will replace
it with a null instance?

No idea...

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to