/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Gets the variable signature. * * @return {@code null-ok;} the variable signature */ public CstString getSignature() { return spec.getLocalItem().getSignature(); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Gets the variable signature. * * @return {@code null-ok;} the variable signature */ public CstString getSignature() { return spec.getLocalItem().getSignature(); }
/** * Gets the variable signature. * * @return {@code null-ok;} the variable signature */ public CstString getSignature() { return spec.getLocalItem().getSignature(); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
/** * Helper for {@link #hasAnyLocalInfo} which scrutinizes a single * register spec. * * @param spec {@code non-null;} spec to scrutinize * @return {@code true} iff the spec refers to any * named locals */ private static boolean hasLocalInfo(RegisterSpec spec) { return (spec != null) && (spec.getLocalItem().getName() != null); }
@Override public RegisterSpec map(RegisterSpec registerSpec) { if (registerSpec.getReg() == origReg.getReg()) { return newReg.withLocalItem( registerSpec.getLocalItem()); } return registerSpec; } };
@Override public RegisterSpec map(RegisterSpec registerSpec) { if (registerSpec.getReg() == origReg.getReg()) { return newReg.withLocalItem( registerSpec.getLocalItem()); } return registerSpec; } };
@Override public RegisterSpec map(RegisterSpec registerSpec) { if (registerSpec.getReg() == origReg.getReg()) { return newReg.withLocalItem( registerSpec.getLocalItem()); } return registerSpec; } };
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }