hey, how do i force the source assistant?

let's say i have a method the accept v as a parameter, 
the IDE doesn't know it,but i know that v MUST be an integer(for example), for the sake of autocompletion , how do i tell the IDE that v is an integer? (or any other class).
Shared publiclyView activity