/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }
/** * Gets the parameter annotations for a given method, if any. This is * meant for use by debugging / dumping code. * * @param method {@code non-null;} the method * @return {@code null-ok;} the parameter annotations, if any */ public AnnotationsList getParameterAnnotations(CstMethodRef method) { if (parameterAnnotations == null) { return null; } for (ParameterAnnotationStruct item : parameterAnnotations) { if (item.getMethod().equals(method)) { return item.getAnnotationsList(); } } return null; }