/** {@inheritDoc} */ @Override public final CstString getDescriptor() { return nat.getDescriptor(); }
/** {@inheritDoc} */ public final CstString getDescriptor() { return nat.getDescriptor(); }
/** {@inheritDoc} */ public final CstString getDescriptor() { return nat.getDescriptor(); }
/** {@inheritDoc} */ @Override public final CstString getDescriptor() { return nat.getDescriptor(); }
/** {@inheritDoc} */ public final CstString getDescriptor() { return nat.getDescriptor(); }
/** * Constructs an instance. This constructor is private; use {@link #make}. * * @param bootstrapMethodIndex The index of the bootstrap method in the bootstrap method table * @param nat the name and type */ private CstInvokeDynamic(int bootstrapMethodIndex, CstNat nat) { this.bootstrapMethodIndex = bootstrapMethodIndex; this.nat = nat; this.prototype = Prototype.fromDescriptor(nat.getDescriptor().toHuman()); this.references = new ArrayList<>(); }
/** {@inheritDoc} */ @Override protected int compareTo0(Constant other) { int cmp = super.compareTo0(other); if (cmp != 0) { return cmp; } CstFieldRef otherField = (CstFieldRef) other; CstString thisDescriptor = getNat().getDescriptor(); CstString otherDescriptor = otherField.getNat().getDescriptor(); return thisDescriptor.compareTo(otherDescriptor); } }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public synchronized void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public synchronized void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Constructs an instance. * * @param definingClass {@code non-null;} the type of the defining class * @param nat {@code non-null;} the name-and-type */ /*package*/ CstBaseMethodRef(CstType definingClass, CstNat nat) { super(definingClass, nat); String descriptor = getNat().getDescriptor().getString(); this.prototype = Prototype.intern(descriptor); this.instancePrototype = null; }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }
/** * Interns the components of a name-and-type into this instance. * * @param nat {@code non-null;} the name-and-type */ public void intern(CstNat nat) { intern(nat.getName()); intern(nat.getDescriptor()); }