Annotation Type FullVSRef

  • @Documented
    public @interface FullVSRef
    Annotation for a name space reference. It is used to as either a String-cast of an inline string or as a field or variable declaration of String type.

    Only 1 acceptable method pattern for this annotation.


       public class MyVSListener
         @FullVSRef private static final String myVirtualSpace = "module:/vs/myVirtualSpace";
         void someMethod(BaseVSEvent event)
           VirtualSpace ns=event.getVirtualizedVirtualSpace((@FullVSRef String) "module:/vs/myVirtualSpace");
           // or
           VirtualSpace ns=event.getVirtualizedVirtualSpace(myVirtualSpace);
    Christopher Mindus