Lines Matching refs:of
9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * copyright notice, this list of conditions and the following disclaimer
15 * * Neither the name of Google Inc. nor the names of its
42 public static ImmutableReference of(Reference reference) {
44 return ImmutableStringReference.of((StringReference)reference);
47 return ImmutableTypeReference.of((TypeReference)reference);
50 return ImmutableFieldReference.of((FieldReference)reference);
53 return ImmutableMethodReference.of((MethodReference)reference);
59 public static ImmutableReference of(int referenceType, Reference reference) {
62 return ImmutableStringReference.of((StringReference)reference);
64 return ImmutableTypeReference.of((TypeReference)reference);
66 return ImmutableFieldReference.of((FieldReference)reference);
68 return ImmutableMethodReference.of((MethodReference)reference);