您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
ehilsdal e2af842ae7 folded in material from README-11.html 21 年前
..
lib moved examples under doc per Erik 21 年前
version1 folded in material from README-11.html 21 年前
version2 folded in material from README-11.html 21 年前
version3 moved examples under doc per Erik 21 年前
Circle.java moved examples under doc per Erik 21 年前
ExampleMain.java moved examples under doc per Erik 21 年前
README moved examples under doc per Erik 21 年前
Square.java moved examples under doc per Erik 21 年前
TwoDShape.java folded in material from README-11.html 21 年前
notrace.lst initial version .lst files 21 年前
tracelib.lst initial version .lst files 21 年前
tracev1.lst initial version .lst files 21 年前
tracev2.lst initial version .lst files 21 年前
tracev3.lst initial version .lst files 21 年前

README


This directory contains several examples of tracing aspects,
including a reusable tracing library and examples of
using that library.

A lesson in the AspectJ Primer explains all of this code.

To work with these (or any other examples), first be sure .../examples
is on your classpath, where ... is where you have installed AspectJ.


--To compile and run the example without tracing--

ajc @.../examples/tracing/notrace.lst

java tracing.ExampleMain


--To compile and run the example with tracing version<N>--

ajc @.../examples/tracing/tracev<N>.lst

java tracing.version<N>.TraceMyClasses

where <N> is 1, 2, 3 or 4

--To use the tracing.lib.AbstractTrace aspect--

Make sure .../examples is in your classpath.

In order to use this aspect, please read the documentation under
tracing/doc