private ModuleIdentifier(final String name, final String slot) { this.name = name; this.slot = slot; hashCode = calculateHashCode(name, slot); }
private ModuleIdentifier(final String name, final String slot) { this.name = name; this.slot = slot; hashCode = calculateHashCode(name, slot); }
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException { ois.defaultReadObject(); hashCode = calculateHashCode(name, slot); }
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException { ois.defaultReadObject(); try { hashField.setInt(this, calculateHashCode(name, slot)); } catch (IllegalAccessException e) { throw new IllegalAccessError(e.getMessage()); } }