Joe,
To insulate the access to the content you could add on the annotation class
an operation like (see java.net.URL.getContent()):
public final Object getContent(Class[] classes)
so the user can have access to the content transparently. You could also
have a utility class that will be used in the implementation of getContent()
method (as you mentioned bellow).
Thanks!
Marius Slavescu
Test and Analysis Tool Enablement, IBM Toronto Labs
phone:905-413-3610, mailto:slavescu@xxxxxxxxxx
fax: 905-413-4920
IBM Canada Limited.
8200 Warden Ave.
Markham, Ontario L6G 1C7
Tuesday, April 13, 2004 11:06 AM
To: hyades-dev@xxxxxxxxxxx
cc:
From: Joseph P Toomey <jptoomey@xxxxxxxxxx>
Subject: RE:
[hyades-dev] Proposal for embedded annotations in Test
Model