Lines Matching refs:method
26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method;
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
58 return method.hashCode();
67 return method.equals(((MethodAnnotationStruct) other).method);
72 return method.compareTo(other.method);
80 methodIds.intern(method);
86 int methodIdx = file.getMethodIds().indexOf(method);
90 out.annotate(0, " " + method.toHuman());
102 return method.toHuman() + ": " + annotations;
106 * Gets the method this item is for.
108 * @return {@code non-null;} the method
111 return method;