Set<OPERATION> unsupportedOperations = Sets.newHashSet();
for (Method method : plugin.getClass().getMethods())
{
if (method.getAnnotation(UnsupportedOperation.class) != null)
{
OPERATION op = OPERATION.fromName(method.getName());
if (op != null)
{
unsupportedOperations.add(op);
}
}