/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); }
/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); } }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); }
/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); } }
/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); } }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to an instance initialization * method. This is just a convenient shorthand for * {@code getNat().isInstanceInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isInstanceInit() { return getNat().isInstanceInit(); }
/** * Gets whether this is a reference to a class initialization * method. This is just a convenient shorthand for * {@code getNat().isClassInit()}. * * @return {@code true} iff this is a reference to an * instance initialization method */ public final boolean isClassInit() { return getNat().isClassInit(); } }
/** * 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; }
/** * Get whether this is a reference to a signature polymorphic * method. This means it is defined in {@code java.lang.invoke.MethodHandle} and * is either the {@code invoke} or the {@code invokeExact} method. * * @return {@code true} iff this is a reference to a * signature polymorphic method. */ public final boolean isSignaturePolymorphic() { return (getDefiningClass().equals(CstType.METHOD_HANDLE) && getNat().isSignaturePolymorphic()); } }
/** * 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; }