Logo Search packages:      
Sourcecode: gant version File versions

final HashSet<Closure> org::codehaus::gant::GantMetaClass::methodsInvoked = new HashSet<Closure> ( ) [static, private]

The set of all targets that have been called. This is a global variable shared by all instances of GantMetaClass.

TODO: This code is a long way from thread safe, and so it needs fixing. Should this variable be moved to the GantState class, which is the class that holds other bits of the internal shared state? Should a different data structure be used, one that is a bit more thread safe? Arguably it is reasonable for this to be a synchronized object.

Definition at line 52 of file GantMetaClass.java.

Referenced by invokeMethod(), and processClosure().


Generated by  Doxygen 1.6.0   Back to index