org.aspectj.weaver.loadtime

Class ConcreteAspectCodeGen


public class ConcreteAspectCodeGen
extends java.lang.Object

Generates bytecode for concrete-aspect

The concrete aspect is @AspectJ code generated. As it is build during aop.xml definitions registration we perform the type munging for perclause ie aspectOf artifact directly, instead of waiting for it to go thru the weaver (that we are in the middle of configuring).

Author:
Alexandre Vasseur

Method Summary

byte[]
getBytes()
Build the bytecode for the concrete aspect
String
getClassName()
boolean
validate()
Checks that concrete aspect is valid

Method Details

getBytes

public byte[] getBytes()
Build the bytecode for the concrete aspect
Returns:
concrete aspect bytecode

getClassName

public String getClassName()

validate

public boolean validate()
Checks that concrete aspect is valid
Returns:
true if ok, false otherwise