public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
public Object getSourceScope() { return _seqs[0].getSourceScope(); }
/** * Remove a sequence metadata from the set to be serialized. * * @return true if removed, false if not in set */ public boolean removeSequenceMetaData(SequenceMetaData meta) { if (_seqs == null || meta == null) return false; String defName = null; if (meta.getSourceScope() instanceof Class) defName = ((Class) meta.getSourceScope()).getName(); List seqs = _seqs.get(defName); if (seqs == null) return false; if (!seqs.remove(meta)) return false; if (seqs.isEmpty()) _seqs.remove(defName); return true; }
/** * Remove a sequence metadata from the set to be serialized. * * @return true if removed, false if not in set */ public boolean removeSequenceMetaData(SequenceMetaData meta) { if (_seqs == null || meta == null) return false; String defName = null; if (meta.getSourceScope() instanceof Class) defName = ((Class) meta.getSourceScope()).getName(); List seqs = _seqs.get(defName); if (seqs == null) return false; if (!seqs.remove(meta)) return false; if (seqs.isEmpty()) _seqs.remove(defName); return true; }
/** * Remove a sequence metadata from the set to be serialized. * * @return true if removed, false if not in set */ public boolean removeSequenceMetaData(SequenceMetaData meta) { if (_seqs == null || meta == null) return false; String defName = null; if (meta.getSourceScope() instanceof Class) defName = ((Class) meta.getSourceScope()).getName(); List seqs = _seqs.get(defName); if (seqs == null) return false; if (!seqs.remove(meta)) return false; if (seqs.isEmpty()) _seqs.remove(defName); return true; }
/** * Remove a sequence metadata from the set to be serialized. * * @return true if removed, false if not in set */ public boolean removeSequenceMetaData(SequenceMetaData meta) { if (_seqs == null || meta == null) return false; String defName = null; if (meta.getSourceScope() instanceof Class) defName = ((Class) meta.getSourceScope()).getName(); List seqs = _seqs.get(defName); if (seqs == null) return false; if (!seqs.remove(meta)) return false; if (seqs.isEmpty()) _seqs.remove(defName); return true; }
/** * Add a sequence meta data to the set to be serialized. */ public void addSequenceMetaData(SequenceMetaData meta) { if (meta == null) return; List seqs = null; String defName = null; if (meta.getSourceScope() instanceof Class) defName = ((Class) meta.getSourceScope()).getName(); if (_seqs == null) _seqs = new HashMap<String, List>(); else seqs = _seqs.get(defName); if (seqs == null) { seqs = new ArrayList(3); // don't expect many seqs / class seqs.add(meta); _seqs.put(defName, seqs); } else if (!seqs.contains(meta)) seqs.add(meta); }
/** * Set the current source file of the given metadata. */ protected void setSourceFile(SequenceMetaData meta, File sourceFile) { meta.setSource(sourceFile, meta.getSourceScope(), meta.getSourceType()); }
/** * Set the current source file of the given metadata. */ protected void setSourceFile(SequenceMetaData meta, File sourceFile) { meta.setSource(sourceFile, meta.getSourceScope(), meta.getSourceType()); }
/** * Set the current source file of the given metadata. */ protected void setSourceFile(SequenceMetaData meta, File sourceFile) { meta.setSource(sourceFile, meta.getSourceScope(), meta.getSourceType()); }
/** * Set the current source file of the given metadata. */ protected void setSourceFile(SequenceMetaData meta, File sourceFile) { meta.setSource(sourceFile, meta.getSourceScope(), meta.getSourceType()); }
/** * Set the current source file of the given metadata. */ protected void setSourceFile(SequenceMetaData meta, File sourceFile) { meta.setSource(sourceFile, meta.getSourceScope(), meta.getSourceType()); }