-/**
+/*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
/**
* Gets the extension for the give data.
*
- * @param data expected to match <tt><T extends Augmentable<T>></tt>
+ * @param data parameter(data) for getExtension
+ * @param <T> type of data
* @return shared grouping
*/
@SuppressWarnings("unchecked")
for (Class<? extends Augmentation<?>> cls : classes) {
Augmentation<T> potential = guessData
- .getAugmentation((Class<Augmentation<T>>) cls);
+ .augmentation((Class<Augmentation<T>>) cls);
if (potential != null) {
return Optional.of((G) potential);
}