org.codehaus.aspectwerkz.annotation
Class AspectAnnotationParser

java.lang.Object
  extended byorg.codehaus.aspectwerkz.annotation.AspectAnnotationParser

public class AspectAnnotationParser
extends Object

Extracts the aspects annotations from the class files and creates a meta-data representation of them.
Note: we are not using reflection to loop over fields, etc, so that we do not trigger nested loading, which could be potential target classes.

Author:
Jonas Bonér , Alexandre Vasseur

Method Summary
static void parse(Class klass, AspectDefinition aspectDef, SystemDefinition definition)
          Parse the attributes and create and return a meta-data representation of them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static void parse(Class klass,
                         AspectDefinition aspectDef,
                         SystemDefinition definition)
Parse the attributes and create and return a meta-data representation of them.

Parameters:
klass - the class to extract attributes from
aspectDef - the aspect definition
definition - the aspectwerkz definition


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.