VRL-Studio / VRL

Visual Reflection Library
http://vrl.mihosoft.eu
29 stars 18 forks source link

MethodInfo should support max-number-of-visualizations field #45

Closed miho closed 9 years ago

miho commented 9 years ago

With multimethods support we willt get problems with methods that must only be visualized once. To prevent that, @MethodInfo should support a 'maxNumberOfVisualizations' field.

miho commented 9 years ago

works with all test projects.

Example:

@MethodInfo(num=1) // allowes only one visulaization per object