-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappendix.tex
More file actions
26 lines (20 loc) · 858 Bytes
/
Copy pathappendix.tex
File metadata and controls
26 lines (20 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\section{Appendix}
\subsection{AspectJ} \label{sec:aspectj}
\begin{itemize}
\item AspectJ can be used to add functionalities using completely
seperate files that are woven into existing code on compile time
\item Defined through point cuts that hook into the existing code and aspects that
extend the code
\begin{verbatim}
pointcut methodCall() :
execution(* Class.Method())
before() : methodCall() {
System.out.println("Calling Method");
}
\end{verbatim}
\item On compile time, the aspects are woven into the byte code transparently
\end{itemize}
\subsection{Example output} \label{sec:exampleOutput}
\verbatiminput{___metric.profiler.values}
\subsection{Build file for ANT} \label{sec:antBuildFile}
\lstinputlisting[language=ant,breaklines=true,tabsize=3]{build.xml}