/usr/share/doc/aspectj-doc/adk15notebook/reflection.html is in aspectj-doc 1.8.9-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. New Reflection Interfaces</title><link rel="stylesheet" type="text/css" href="aspectj-docs.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="The AspectJTM 5 Development Kit Developer's Notebook"><link rel="up" href="index.html" title="The AspectJTM 5 Development Kit Developer's Notebook"><link rel="prev" href="ataspectj-aspectof.html" title="aspectOf() and hasAspect() methods"><link rel="next" href="miscellaneous.html" title="Chapter 11. Other Changes in AspectJ 5"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. New Reflection Interfaces</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ataspectj-aspectof.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="miscellaneous.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="reflection"></a>Chapter 10. New Reflection Interfaces</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="reflection.html#reflection_api">Using AjTypeSystem</a></span></dt></dl></div><p>
AspectJ 5 provides a full set of reflection APIs analogous to the
<code class="literal">java.lang.reflect</code> package, but fully aware of the
AspectJ type system. See the javadoc for the runtime and tools APIs
for the full details. The reflection APIs are only supported when
running under Java 5 and for code compiled by the AspectJ 5 compiler
at target level 1.5.
</p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="reflection_api"></a>Using AjTypeSystem</h2></div></div></div><p>
The starting point for using the reflection apis is
<code class="literal">org.aspectj.lang.reflect.AjTypeSystem</code> which
provides the method <code class="literal">getAjType(Class)</code> which will
return the <code class="literal">AjType</code> corresponding to a given
Java class. The <code class="literal">AjType</code> interface corresponds to
<code class="literal">java.lang.Class</code> and gives you access to all of the
method, field, constructor, and also pointcut, advice, declare
statement and inter-type declaration members in the type.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ataspectj-aspectof.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="miscellaneous.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">aspectOf() and hasAspect() methods </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 11. Other Changes in AspectJ 5</td></tr></table></div></body></html>
|