/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** {@inheritDoc} */ @Override public IndexedItem get(Constant cst) { if (cst == null) { throw new NullPointerException("cst == null"); } throwIfNotPrepared(); Type type = ((CstType) cst).getClassType(); IndexedItem result = classDefs.get(type); if (result == null) { throw new IllegalArgumentException("not found"); } return result; }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }
/** * Writes the portion of the file header that refers to this instance. * * @param out {@code non-null;} where to write */ public void writeHeaderPart(AnnotatedOutput out) { throwIfNotPrepared(); int sz = classDefs.size(); int offset = (sz == 0) ? 0 : getFileOffset(); if (out.annotates()) { out.annotate(4, "class_defs_size: " + Hex.u4(sz)); out.annotate(4, "class_defs_off: " + Hex.u4(offset)); } out.writeInt(sz); out.writeInt(offset); }