Package c10n

Examples of c10n.C10NKey


     *
     * @param method method for which to retrieve the value {@link c10n.C10NKey} annotation
     * @return value of the declared annotation. <code>null</code> if not present.
     */
    public static String getKeyAnnotationValue(Method method) {
        C10NKey c10NKey = method.getAnnotation(C10NKey.class);
        if (null != c10NKey) {
            return c10NKey.value();
        }
        return null;
    }
View Full Code Here


        }
    }

    private static String findParentKey(Method method) {
        for (Class<?> clazz : expandInterfaceHierarchy(method.getDeclaringClass())) {
            C10NKey key = clazz.getAnnotation(C10NKey.class);
            if (null != key) {
                return key.value();
            }
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of c10n.C10NKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.