Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Alexander Kriegisch 8518fcf96e Globally replace HTTP links to eclipse.org by HTTPS 2 лет назад
..
src initial checkin of the sandbox. 21 лет назад
buildRun.sh initial checkin of the sandbox. 21 лет назад
readme.internal.txt initial checkin of the sandbox. 21 лет назад
readme.txt Globally replace HTTP links to eclipse.org by HTTPS 4 месяцев назад

readme.txt


This contains demonstration source code for the article
"Get Inoculated!" in the May 2002 issue of Software Development
magazine.

To use it you will need the AspectJ tools available from
https://eclipse.org/aspectj. We also recommend you download the
documentation bundle and support for the IDE of your choice.

Each file has a snippet for a section of the article. To find
one in particular, see the back-references to "article page #":

CompileTime.java: // article page 40 - warning
CompileTime.java: // article page 41 - error
RunTime.java: // article page 41 - runtime NPE
RuntimeWrites.java: // article page 42 - field writes
RecordingInput.java: // article page 42 - recording input
MainFailure.java: // article page 42 - recording failures from main
BufferTest.java: // article page 43 - input driver
Injection.java: // article page 43 - fault injection
StubReplace.java: // article page 76 - stubs
RoundTrip.java: // article page 76 - round trip

Compile and run as usual:

> set AJ_HOME=c:\aspectj1.0
> set PATH=%AJ_HOME%\bin;%PATH%
> ajc -classpath "$AJ_HOME/lib/aspectjrt.jar" {file}
> java -classpath ".;$AJ_HOME/lib/aspectjrt.jar" {class}

For email discussions and support, see https://eclipse.org/aspectj.


Enjoy!

the AspectJ team