Class LazyMethodGen

java.lang.Object
org.aspectj.weaver.bcel.LazyMethodGen
All Implemented Interfaces:
Traceable

public final class LazyMethodGen extends Object implements Traceable
A LazyMethodGen should be treated as a MethodGen. It's our way of abstracting over the low-level Method objects. It converts through MethodGen to create and to serialize, but that's it.

At any rate, there are two ways to create LazyMethodGens. One is from a method, which does work through MethodGen to do the correct thing. The other is the creation of a completely empty LazyMethodGen, and it is used when we're constructing code from scratch.

We stay away from targeters for rangey things like Shadows and Exceptions.