public MethodMeta findMeta()

in src/main/java/org/apache/geronimo/jcache/simple/cdi/CDIJCacheHelper.java [85:100]


    public MethodMeta findMeta(final InvocationContext ic) {
        final Method mtd = ic.getMethod();
        final Class<?> refType = findKeyType(ic.getTarget());
        final MethodKey key = new MethodKey(refType, mtd);
        MethodMeta methodMeta = methods.get(key);
        if (methodMeta == null) {
            synchronized (this) {
                methodMeta = methods.get(key);
                if (methodMeta == null) {
                    methodMeta = createMeta(ic);
                    methods.put(key, methodMeta);
                }
            }
        }
        return methodMeta;
    }