Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » newbie question
newbie question [message #587338] Wed, 09 March 2005 11:02
Hugh McBride is currently offline Hugh McBrideFriend
Messages: 2
Registered: July 2009
Junior Member
Am quite new to aop , currently investigating the use of eclipse and
aspectj for detecting illegal method calls ( i.e policy enforcement).
There is a code pattern
that we are looking to detect , a double for loop that contains certain
set methods i.e.


for(int i = 0; i< 10; i++)
{
for(int j = 0; j< 10; j++)
{

classInstanceA.setObscureVar(blah);
classInstanceB.setOtherObscureVar(blahblah);

}
}

this to prevent certain variable from being overwritten.

Is there any way I can detect this type of construct using aop.

Any pointers /suggestions welcome

thanks in advance
H
Previous Topic:Accessing parameter names in advice
Next Topic:Where to begin? java.lang.NoSuchFieldError: ajc$cflowCounter$0
Goto Forum:
  


Current Time: Tue Apr 23 16:31:05 GMT 2024

Powered by FUDForum. Page generated in 0.02810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top