Lines Matching defs:target

29  * A {@code ConstantCallSite} is a {@link CallSite} whose target is permanent, and can never be changed.
31 * bound to the call site's target.
38 * Creates a call site with a permanent target.
39 * @param target the target to be permanently associated with this call site
40 * @throws NullPointerException if the proposed target is null
42 public ConstantCallSite(MethodHandle target) {
43 super(target);
48 * Creates a call site with a permanent target, possibly bound to the call site itself.
51 * produce the actual target, as if by a call of the form
55 * since the target must be fixed before the {@code ConstantCallSite} constructor returns.
57 * The hook is said to bind the call site to a target method handle,
60 * including ignoring the call site and returning a constant target.
68 * a call to {@code getTarget}, or any other attempt to use the target,
73 * @param createTargetHook a method handle to invoke (on the call site) to produce the call site's target
75 * or if the target returned by the hook is not of the given {@code targetType}
86 * Returns the target method of the call site, which behaves
88 * That is, the the target is always the original value passed
96 return target;
101 * This kind of call site cannot change its target.
102 * @param ignore a new target proposed for the call site, which is ignored
103 * @throws UnsupportedOperationException because this kind of call site cannot change its target
110 * Returns this call site's permanent target.
111 * Since that target will never change, this is a correct implementation