return null; CloneableOpenSupport cos = env.findCloneableOpenSupport(); COSRedirectorImpl.Storage storage = getCachedStorage(dobj); if (storage != null) {
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); int offset; Object firstObject = in.readObject(); // New deserialization that uses Env environment, // and which could be null(!) see writeExternal. if (firstObject instanceof CloneableOpenSupport.Env) { CloneableOpenSupport.Env env = (CloneableOpenSupport.Env) firstObject; CloneableOpenSupport os = env.findCloneableOpenSupport(); support = (CloneableEditorSupport) os; } // load cursor position offset = ((Integer) in.readObject()).intValue(); if (!discard()) { cursorPosition = offset; } updateName(); isComponentOpened = true; if (in.available() > 0) { boolean associate = in.readBoolean(); if (associate && support != null) { associateLookup(support.getLookup()); } } }
CloneableOpenSupport os = env.findCloneableOpenSupport ();
CloneableOpenSupport os = env.findCloneableOpenSupport ();
/** Getter for the associated CloneableOpenSupport * @return the support or null if none was found */ private CloneableOpenSupport support () { return env.findCloneableOpenSupport (); }
/** Getter for the associated CloneableOpenSupport * @return the support or null if none was found */ private CloneableOpenSupport support () { return env.findCloneableOpenSupport (); }