Hey, I'm trying to find a way of getting the unique list of parameter types for all methods of a class. My goal is to create a method that will return default obbject for each unique parameter type, to be used in a junit test class.
I can easily process all methods, and list the parameters of each, but since some parameter types appear to multiple multiple methods i end up with duplicates. <XDtMethod:forAllMethods> <XDtMethod:ifIsPublic> <XDtParameter:forAllMethodParams> .. <XDtParameter:methodParamType/> .. </XDtParameter:forAllMethodParams> </XDtMethod:ifIsPublic> </XDtMethod:forAllMethods> I've tried to use the <XDtMethod:ifHasMethod/> and <XDtMethod:ifMethodNameEquals/> to avoid creating the duplicate method signature, but these tags only seem to scan the source file methods and not the file that is being generated. Any ideas or suggestions on a workaround would be welcome. Regards, P ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user