kobi (1) [Avatar] Offline
#1
Hi all,

I'm new here ,i want to implements interface according main args,i know how to implements interface but i cant get main args.

public aspect MakeItEntry
{
declare parents : pojo2entry.Person extends Entry;
}
ramnivas (171) [Avatar] Offline
#2
Re: implements interface according main args
I am not sure if I understand the question correctly. Do you want to use arguments passed to your program in "declare parents"? If so, it can't be done as the "declare parents" is a static crosscutting construct and must work with information available at the compile time.

-Ramnivas