Package org.objectweb.jac.core.rtti

Provides an aspect that contructs some RTTI (Run-Time Type Informations) for the classes that need it on the top of a structural metamodel (extending java.lang.reflect).

See:
          Description

Interface Summary
AttributeController  
LoadtimeRTTI This class defines the super class for all the meta items whithin the rtti aspect.
RttiConf This class defines the rtti aspect.
 

Class Summary
AbstractMethodItem This class defines a meta item that corresponds to the java.lang.reflect.Method and to the java.lang.reflect.Constructor meta elements.
ClassInfo  
ClassItem This class defines a meta item that corresponds to the java.lang.reflect.Class meta element.
ClassRepository This class defines the class repository of the rtti aspect.
CollectionItem This class defines a meta item that corresponds to a java.lang.reflect.Field meta element that is of an array, a collection, or a map type.
ConstructorItem This class defines a meta item that corresponds to the java.lang.reflect.Constructor meta element.
FieldItem This class defines a meta item that corresponds to the java.lang.reflect.Field meta element.
Invoke A method invocation
InvokeInfo A method invocation
MemberItem This class defines a meta item that corresponds to a field or a method.
MetaItem This class defines the super class for all the meta items whithin the rtti aspect.
MetaItemDelegate This class defines the super class for all the meta items whithin the rtti aspect.
MethodInfo  
MethodItem This class defines a meta item that corresponds to the java.lang.reflect.Method meta element.
MixinMethodItem  
NamingConventions This class provides some useful methods to get some information regarding the naming conventions.
RttiAC This class defines the rtti aspect.
VirtualClassItem This class defines a meta item that corresponds to the java.lang.reflect.Class meta element.
 

Exception Summary
ClassItem.AmbiguousMethodNameException The exception that is thrown when the accessed method has some synonymes (methods with same names but different parameter types).
InvalidDelegateException This exception is thrown when the user tries to construct a new meta item that is not matching the java.lang.reflect element it delegates to.
NoSuchClassException  
NoSuchFieldException  
NoSuchMemberException The exception that is thrown when the required member does not exist.
NoSuchMethodException The exception that is thrown when the accessed method does not exist.
 

Package org.objectweb.jac.core.rtti Description

Provides an aspect that contructs some RTTI (Run-Time Type Informations) for the classes that need it on the top of a structural metamodel (extending java.lang.reflect).

The RTTI are a metamodel that is close to the java.lang.reflect metamodel but more precise (actually it wraps it and adds some extra informations).

It allows the programmer to easily build some informations that can be useful for other aspects such as the Persistence or the Gui aspects. Typically, these aspects may want to access some more precise informations about which fields are read or written by a given method (so that they can decide to update the object storage or the object view).

The access point to the runtime informations is ClassRepository that allows the client program to retrieve ClassItem instances, where the informations are stored.

The RTTI configuration API is given by the RttiConf interface.

Related Documentation

For overviews, sources, tutorials, examples, guides, and tool documentation, please see: