just change this line to 

    final Set<Type> annotations;

Leave everything else as is.