Fixed getMethods() function
Merge branch 'hotfix/ClassAnnotation_method'