Lines Matching refs:reference
44 * All reference arguments and reference return values that belong to this argument array.
46 * If the return type is a reference, it will be the last element of this array.
55 * in the {@code references} array. No additional slots or space for reference arguments or
180 * Sets the {@code idx} to {@code reference}. Type checks are performed.
182 public void setReference(int idx, Object reference) {
188 if (reference != null && !ptypes[idx].isInstance(reference)) {
189 throw new IllegalStateException("reference is not of type: " + type.ptypes()[idx]);
192 references[idx] = reference;
196 * Gets the reference at {@code idx}, checking that it's of type {@code referenceType}.
241 public void setReturnValueTo(Object reference) {
244 throw new IllegalStateException("return type is not a reference type: " + returnType);
247 if (reference != null && !returnType.isInstance(reference)) {
248 throw new IllegalArgumentException("reference is not of type " + returnType);
251 references[references.length - 1] = reference;