/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is identical to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ public void put(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null || !s.equals(oldname2)) super.put(oldname2, toJvmName(newname)); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is identical to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ @Override public String put(String oldname, String newname) { if (oldname == newname) return oldname; String oldname2 = toJvmName(oldname); String s = get(oldname2); if (s == null || !s.equals(oldname2)) return super.put(oldname2, toJvmName(newname)); return s; }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Prevents a mapping from the specified class name to another name. */ public void fix(String name) { String name2 = toJvmName(name); super.put(name2, name2); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Is equivalent to <code>put()</code> except that * the given mapping is not recorded into the hashtable * if another mapping from <code>oldname</code> is * already included. * * @param oldname the original class name. * @param newname the substituted class name. */ public void putIfNone(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is identical to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ public void put(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null || !s.equals(oldname2)) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is equivalent to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ public void put(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null || !s.equals(oldname2)) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is identical to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ public void put(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null || !s.equals(oldname2)) super.put(oldname2, toJvmName(newname)); }
/** * Maps a class name to another name in this hashtable. * If the hashtable contains another mapping from the same * class name, the old mapping is replaced. * This method translates the given class names into the * internal form used in the JVM before putting it in * the hashtable. * * <p>If <code>oldname</code> is identical to * <code>newname</code>, then this method does not * perform anything; it does not record the mapping from * <code>oldname</code> to <code>newname</code>. See * <code>fix</code> method. * * @param oldname the original class name. * @param newname the substituted class name. * @see #fix(String) */ public void put(String oldname, String newname) { if (oldname == newname) return; String oldname2 = toJvmName(oldname); String s = (String)get(oldname2); if (s == null || !s.equals(oldname2)) super.put(oldname2, toJvmName(newname)); }