Add javadoc note that shadow prefixes are not allowed on shadow fields

This commit is contained in:
Mumfrey committed 2015-02-22 21:35:21 +00:00
1 parent dd31dd2313
commit 58f17c613b
1 file changed
+4
@@ -77,6 +77,10 @@ public @interface Shadow {
* failure state indicated by an {@link InvalidMixinException} at run
* time.</p>
*
* <p>Prefixes on shadow fields are considered an error condition and don't
* have any purpose either way, since the scenario described above cannot
* actually occur with fields.</p>
*
* @return the shadow prefix
*/
public String prefix() default "shadow$";