Checking for non public methods annotated as either @Factory @Main or @Out method