JavaERE is an instance of MOP for Java and for ERE specifications. This instance is technically unnecessary, since one can simply run JavaMOP with ERE specifications, which is precisely what the online interface below does. JavaERE has, however, conceptual (and potentially theoretical) value; many Java users prefer to specify properties exclusively as parametric regular patterns.
Enter your ERE specification in the form below or chose (and modify) one example from the menu - provided examples are also reachable from the menu of the main JavaMOP interface.
Go to JavaMOP for instructions on how to download and install it, as well as on how to compile the AspectJ monitors generated below.

Run JavaERE Online

Enter your specification or chose (and modify) one example from the menu.
Click Run to run JavaERE.
The Generated monitor can be compiled using any AspectJ compiler;
HERE are instructions on how to do it (must read it if you want to compile the generated aspect monitor!).

Choose an example:

HasNext

HasNext2

HashSet

SafeEnum

SafeFileWriter

SafeSyncCollection

SafeSyncMap

UnsafeIterator

UnsafeMapIterator

The desired name of the generated monitor aspect will be

MonitorAspect

Please press the Run button once and wait; it may take a few seconds to run JavaERE; the execution of JavaERE using this web interface is limited to 2 minutes of CPU time and 500 MB of RAM.