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.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Type[] | |
| private List | |
| private InstructionList | |
| private boolean | |
| private String[] | |
| public ResolvedType | |
| private AjAttribute. | |
| private final LazyClassGen | |
| pack-priv String | fromFilename
This is nonnull if this method is the result of an "inlining". |
| pack-priv int | |
| private boolean | |
| pack-priv List | |
| private int | |
| private BcelMethod | |
| private int | |
| private final String | |
| private List | |
| private AnnotationAJ[][] | |
| private final boolean | |
| private Type | |
| private Method | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | LazyMethodGen(int modifiers, Type returnType, String name, Type[] paramTypes, String[] declaredExceptions, LazyClassGen enclosingClass)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | addExceptionHandler(InstructionHandle start, InstructionHandle end, InstructionHandle handlerStart, ObjectType catchType, boolean highPriority)
|
| private void | addExceptionHandlers(MethodGen gen, Map<InstructionHandle, InstructionHandle> map, Iterable<ExceptionRange> exnList)
|
| private void | |
| public void | |
| public int | |
| public int | |
| public void | assertGoodBody()
A good body is a body with the following properties:
|
| public static void | |
| private static void | assertTargetedBy(InstructionHandle target, InstructionTargeter targeter, String from)
ih is an InstructionHandle or a BranchInstruction |
| private static void | |
| private int | |
| private Map | |
| private void | |
| public void | ensureAllLineNumberSetup()
On entry to this method we have a method whose instruction stream contains a few instructions that have line numbers assigned to them (LineNumberTags). |
| public void | |
| private void | |
| public int | |
| public int | |
| public AnnotationAJ[] | |
| public ResolvedType[] | |
| public Type[] | |
| public List | |
| public InstructionList | |
| public InstructionList | |
| public boolean | |
| public String | |
| public ConstantPool | |
| public int | |
| public int | |
| public String[] | |
| public AjAttribute. | |
| public LazyClassGen | |
| public String | |
| pack-priv static int | |
| pack-priv static LocalVariableTag | |
| public int | |
| public BcelMethod | |
| public Method | |
| public String | |
| private InstructionHandle | |
| private InstructionHandle | |
| public String | |
| private static Range | |
| public Type | |
| public String | |
| public ISourceLocation | |
| private World | |
| private void | handleBranchInstruction(Map<InstructionHandle, InstructionHandle> map, Instruction oldInstruction, Instruction newInstruction)
|
| private void | handleBranchInstruction(BranchHandle branchHandle, Set<InstructionHandle> handlesForDeletion)
Process a branch instruction with respect to instructions that are about to be deleted. |
| private void | |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| private void | |
| pack-priv static void | |
| public boolean | |
| private boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public boolean | |
| public static boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| pack-priv boolean | |
| private InstructionHandle | |
| public void | |
| public void | |
| public void | |
| public MethodGen | |
| public void | |
| public void | |
| public void | |
| private void | |
| private static InstructionHandle | remap(InstructionHandle handle, Map<InstructionHandle, InstructionHandle> map)
This procedure should not currently be used. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public String | |
| public String | |
| public String | |
| private void |