added boolean to getAnnotatedMethods or Fields Method to not throw an
exception