public void emitThis() { if (methodBuilder == null) { throw Error.bytecodeGeneratorNotOwnedByMethodBuilder(); } if (methodBuilder.isStatic()) { throw Error.cannotLoadThisForStaticMethod(); } emitLoad(methodBuilder.getDeclaringType(), 0); }
public void emitThis() { if (methodBuilder == null) { throw Error.bytecodeGeneratorNotOwnedByMethodBuilder(); } if (methodBuilder.isStatic()) { throw Error.cannotLoadThisForStaticMethod(); } emitLoad(methodBuilder.getDeclaringType(), 0); }
public void emitThis() { if (methodBuilder == null) { throw Error.bytecodeGeneratorNotOwnedByMethodBuilder(); } if (methodBuilder.isStatic()) { throw Error.cannotLoadThisForStaticMethod(); } emitLoad(methodBuilder.getDeclaringType(), 0); }
public void emitLoad(final LocalBuilder local) { VerifyArgument.notNull(local, "local"); if (local.getMethodBuilder() != methodBuilder) { throw Error.unmatchedLocal(); } if (local.startOffset < 0) { local.startOffset = offset(); } emitLoad( local.getLocalType(), translateLocal(local.getLocalIndex()) ); local.endOffset = offset(); }
public void emitLoad(final LocalBuilder local) { VerifyArgument.notNull(local, "local"); if (local.getMethodBuilder() != methodBuilder) { throw Error.unmatchedLocal(); } if (local.startOffset < 0) { local.startOffset = offset(); } emitLoad( local.getLocalType(), translateLocal(local.getLocalIndex()) ); local.endOffset = offset(); }
public void emitLoad(final LocalBuilder local) { VerifyArgument.notNull(local, "local"); if (local.getMethodBuilder() != methodBuilder) { throw Error.unmatchedLocal(); } if (local.startOffset < 0) { local.startOffset = offset(); } emitLoad( local.getLocalType(), translateLocal(local.getLocalIndex()) ); local.endOffset = offset(); }