// the cache has not been filled up yet.
Method[] mths = class1.getDeclaredMethods();
for (Method m : mths) {
if (m.getName().equalsIgnoreCase(actionName) && Modifier.isPublic(m.getModifiers())) {
if (!m.isAnnotationPresent(Before.class) && !m.isAnnotationPresent(After.class) && !m.isAnnotationPresent(Finally.class)) {
CacheFor cacheFor = m.getAnnotation(CacheFor.class);
if (cacheFor == null) {
// well no annotation level cache spec
cacheForVal = "";
}
else {
cacheForVal = cacheFor.value();
}
JapidPlugin.getCache().put(cacheForKey, cacheForVal);
}
}
}