/** * 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); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * 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); }
/** * Gets the variable name. * * @return {@code null-ok;} the variable name */ public CstUtf8 getName() { return spec.getLocalItem().getName(); }
/** * 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(); }
/** * 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 name. * * @return {@code null-ok;} the variable name */ public CstString getName() { return spec.getLocalItem().getName(); }
/** * Helper for {@link #getAllConstants} which adds all the info for * a single {@code RegisterSpec}. * * @param result {@code non-null;} result set to add to * @param spec {@code null-ok;} register spec to add */ private static void addConstants(HashSet<Constant> result, RegisterSpec spec) { if (spec == null) { return; } LocalItem local = spec.getLocalItem(); CstString name = local.getName(); CstString signature = local.getSignature(); Type type = spec.getType(); if (type != Type.KNOWN_NULL) { result.add(CstType.intern(type)); } if (name != null) { result.add(name); } if (signature != null) { result.add(signature); } }
/** * Helper for {@link #getAllConstants} which adds all the info for * a single {@code RegisterSpec}. * * @param result {@code non-null;} result set to add to * @param spec {@code null-ok;} register spec to add */ private static void addConstants(HashSet<Constant> result, RegisterSpec spec) { if (spec == null) { return; } LocalItem local = spec.getLocalItem(); CstString name = local.getName(); CstString signature = local.getSignature(); Type type = spec.getType(); if (type != Type.KNOWN_NULL) { result.add(CstType.intern(type)); } if (name != null) { result.add(name); } if (signature != null) { result.add(signature); } }
/** * Helper for {@link #getAllConstants} which adds all the info for * a single {@code RegisterSpec}. * * @param result {@code non-null;} result set to add to * @param spec {@code null-ok;} register spec to add */ private static void addConstants(HashSet<Constant> result, RegisterSpec spec) { if (spec == null) { return; } LocalItem local = spec.getLocalItem(); CstString name = local.getName(); CstString signature = local.getSignature(); Type type = spec.getType(); if (type != Type.KNOWN_NULL) { result.add(CstType.intern(type)); } if (name != null) { result.add(name); } if (signature != null) { result.add(signature); } }
/** * Helper for {@link #getAllConstants} which adds all the info for * a single {@code RegisterSpec}. * * @param result {@code non-null;} result set to add to * @param spec {@code null-ok;} register spec to add */ private static void addConstants(HashSet<Constant> result, RegisterSpec spec) { if (spec == null) { return; } LocalItem local = spec.getLocalItem(); CstString name = local.getName(); CstString signature = local.getSignature(); Type type = spec.getType(); if (type != Type.KNOWN_NULL) { result.add(CstType.intern(type)); } if (name != null) { result.add(name); } if (signature != null) { result.add(signature); } }