org.aspectj.lang.reflect
Class AjTypeSystem
java.lang.Object
org.aspectj.lang.reflect.AjTypeSystem
public class AjTypeSystem
extends java.lang.Object
This is the anchor for the AspectJ runtime type system.
Typical usage to get the AjType representation of a given type
at runtime is to call AjType fooType = AjTypeSystem.getAjType(Foo.class);
static | AjType getAjType(Class fromClass) - Return the AspectJ runtime type representation of the given Java type.
|
AjType getAjType
public static AjType getAjType(Class fromClass)
Return the AspectJ runtime type representation of the given Java type.
Unlike java.lang.Class, AjType understands pointcuts, advice, declare statements,
and other AspectJ type members. AjType is the recommended reflection API for
AspectJ programs as it offers everything that java.lang.reflect does, with
AspectJ-awareness on top.