org.codehaus.aspectwerkz.annotation.instrumentation
Class Attributes

java.lang.Object
  extended byorg.codehaus.aspectwerkz.annotation.instrumentation.Attributes

public class Attributes
extends Object

Retrieves attributes from the class bytecode on class, method and field level. FIXME - remove in 2.0

Author:
Jonas Bonér

Constructor Summary
Attributes()
           
 
Method Summary
static AttributeExtractor getAttributeExtractor(javassist.CtClass ctClass, ClassLoader loader)
          Return the list (possibly empty) of custom attributes associated with the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attributes

public Attributes()
Method Detail

getAttributeExtractor

public static AttributeExtractor getAttributeExtractor(javassist.CtClass ctClass,
                                                       ClassLoader loader)
Return the list (possibly empty) of custom attributes associated with the class.

Parameters:
ctClass - the class name
loader - the class loader
Returns:
the possibly 0-length array of attributes


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