/** {@inheritDoc} */ @Override public final int getBasicFrameType() { return type.getBasicFrameType(); }
/** {@inheritDoc} */ @Override public final int getBasicType() { return type.getBasicType(); }
/** {@inheritDoc} */ @Override public TypeBearer getFrameType() { return type.getFrameType(); }
/** {@inheritDoc} */ @Override public Type getType() { return type.getType(); }
/** * Throws an exception that indicates a mismatch in local variable * types. * * @param found {@code non-null;} the encountered type * @param local {@code non-null;} the local variable's claimed type */ public static void throwLocalMismatch(TypeBearer found, TypeBearer local) { throw new SimException("local variable type mismatch: " + "attempt to set or access a value of type " + found.toHuman() + " using a local variable of type " + local.toHuman() + ". This is symptomatic of .class transformation tools " + "that ignore local variable information."); } }
/** {@inheritDoc} */ @Override public Type getType() { return type.getType(); }
/** * Throws an exception that indicates a mismatch in local variable * types. * * @param found {@code non-null;} the encountered type * @param local {@code non-null;} the local variable's claimed type */ public static void throwLocalMismatch(TypeBearer found, TypeBearer local) { throw new SimException("local variable type mismatch: " + "attempt to set or access a value of type " + found.toHuman() + " using a local variable of type " + local.toHuman() + ". This is symptomatic of .class transformation tools " + "that ignore local variable information."); } }
/** {@inheritDoc} */ @Override public final int getBasicFrameType() { return type.getBasicFrameType(); }
/** * Returns the appropriate {@code move-result} rop for the * given type. The result may be a shared instance. * * @param type {@code non-null;} type of the parameter * @return {@code non-null;} an appropriate instance */ public static Rop opMoveResult(TypeBearer type) { return new Rop(RegOps.MOVE_RESULT, type.getType(), StdTypeList.EMPTY, (String) null); }
/** {@inheritDoc} */ @Override public final int getBasicType() { return type.getBasicType(); }
/** * Throws an exception that indicates a mismatch in local variable * types. * * @param found {@code non-null;} the encountered type * @param local {@code non-null;} the local variable's claimed type */ public static void throwLocalMismatch(TypeBearer found, TypeBearer local) { throw new SimException("local variable type mismatch: " + "attempt to set or access a value of type " + found.toHuman() + " using a local variable of type " + local.toHuman() + ". This is symptomatic of .class transformation tools " + "that ignore local variable information."); } }
/** {@inheritDoc} */ @Override public TypeBearer getFrameType() { return type.getFrameType(); }
/** {@inheritDoc} */ @Override public final int getBasicFrameType() { return type.getBasicFrameType(); }
/** * Returns the appropriate {@code move-result-pseudo} rop for the * given type. The result may be a shared instance. * * @param type {@code non-null;} type of the parameter * @return {@code non-null;} an appropriate instance */ public static Rop opMoveResultPseudo(TypeBearer type) { return new Rop(RegOps.MOVE_RESULT_PSEUDO, type.getType(), StdTypeList.EMPTY, (String) null); }
/** {@inheritDoc} */ @Override public final int getBasicType() { return type.getBasicType(); }
/** * Throws an exception that indicates a mismatch in local variable * types. * * @param found {@code non-null;} the encountered type * @param local {@code non-null;} the local variable's claimed type */ public static void throwLocalMismatch(TypeBearer found, TypeBearer local) { throw new SimException("local variable type mismatch: " + "attempt to set or access a value of type " + found.toHuman() + " using a local variable of type " + local.toHuman() + ". This is symptomatic of .class transformation tools " + "that ignore local variable information."); } }
/** {@inheritDoc} */ @Override public TypeBearer getFrameType() { return type.getFrameType(); }
/** {@inheritDoc} */ public final int getBasicFrameType() { return type.getBasicFrameType(); }
/** * Peeks at the {@code n}th element down from the top of the * stack, returning the type per se, as opposed to the * <i>type-bearer</i>. This method is just a convenient shorthand * for {@code peek(n).getType()}. * * @see #peek */ public Type peekType(int n) { return peek(n).getType(); }
/** {@inheritDoc} */ public final int getBasicType() { return type.getBasicType(); }