public Annotation[] getAnnotations(int parameter) {
        Vector<Annotation> annotations = mParameterAnnotations.get(parameter);
        if (annotations == null) {
            return new Annotation[0];
        } else {
            return annotations.toArray(new Annotation[annotations.size()]);
        }
    }
public Annotation [ ] getAnnotations ( int parameter ) { Vector < Annotation > annotations = mParameterAnnotations . get ( parameter ) ; if ( annotations == null ) { return new Annotation [ 0 ] ; } else { return annotations . toArray ( new Annotation [ annotations . size ( ) ] ) ; } }
@param parameter zero-based parameter number