// at a handler jp and only before advice is supported) (pr46298)
argVars = new BcelVar[1];
int positionOffset = (hasTarget() ? 1 : 0) + ((hasThis() && !getKind().isTargetSameAsThis()) ? 1 : 0);
- UnresolvedType tx = getArgType(0);
+ UnresolvedType tx = getArgType(0);
argVars[0] = genTempVar(tx, "ajc$arg0");
InstructionHandle insertedInstruction =
range.insert(argVars[0].createStore(getFactory()), Range.OutsideBefore);
public static BcelShadow makeFieldGet(
BcelWorld world,
+ ResolvedMember field,
LazyMethodGen enclosingMethod,
InstructionHandle getHandle,
BcelShadow enclosingShadow)
new BcelShadow(
world,
FieldGet,
- BcelWorld.makeFieldSignature(
- enclosingMethod.getEnclosingClass(),
- (FieldInstruction) getHandle.getInstruction()),
+ field,
+// BcelWorld.makeFieldSignature(
+// enclosingMethod.getEnclosingClass(),
+// (FieldInstruction) getHandle.getInstruction()),
enclosingMethod,
enclosingShadow);
ShadowRange r = new ShadowRange(body);
// FIXME asc Refactor this code, there is duplication
ResolvedType[] annotations = null;
- ResolvedMember itdMember =null;
Member relevantMember = getSignature();
ResolvedType relevantType = relevantMember.getDeclaringType().resolve(world);
- UnresolvedType aspect = null;
if (getKind() == Shadow.StaticInitialization) {
annotations = relevantType.resolve(world).getAnnotationTypes();