Home | History | Annotate | Download | only in file

Lines Matching refs:Annotations

19 import com.android.dx.rop.annotation.Annotations;
31 * Per-class directory of annotations.
43 /** {@code null-ok;} the class-level annotations, if any */
89 * set of class annotations, with no other lists.
131 * Sets the direct annotations on this instance. These are annotations
135 * @param annotations {@code non-null;} annotations to set for this class
137 public void setClassAnnotations(Annotations annotations) {
138 if (annotations == null) {
139 throw new NullPointerException("annotations == null");
144 "class annotations already set");
147 classAnnotations = new AnnotationSetItem(annotations);
151 * Adds a field annotations item to this instance.
154 * @param annotations {@code non-null;} associated annotations to add
157 Annotations annotations) {
163 new AnnotationSetItem(annotations)));
167 * Adds a method annotations item to this instance.
170 * @param annotations {@code non-null;} associated annotations to add
173 Annotations annotations) {
179 new AnnotationSetItem(annotations)));
183 * Adds a parameter annotations item to this instance.
198 * Gets the method annotations for a given method, if any. This is
202 * @return {@code null-ok;} the method annotations, if any
204 public Annotations getMethodAnnotations(CstMethodRef method) {
219 * Gets the parameter annotations for a given method, if any. This is
223 * @return {@code null-ok;} the parameter annotations, if any
292 out.annotate(0, offsetString() + " annotations directory");
361 out.println(" class annotations: " + classAnnotations);
365 out.println(" field annotations:");
372 out.println(" method annotations:");
379 out.println(" parameter annotations:");