Package com.cuubez.visualizer.annotation

Examples of com.cuubez.visualizer.annotation.Name


        return false;
    }

    private boolean scanName(SubResource subResource, Method method) {

        Name name = method.getAnnotation(Name.class);

        if (name != null) {

            subResource.setName(name.value());
            return true;
        }

        return false;
    }
View Full Code Here


        return false;
    }

    private boolean scanName(Class<?> clazz, RootResource rootResource) {

        Name name = clazz.getAnnotation(Name.class);

        if (name != null) {
            rootResource.setName(name.value());
            return true;
        }

        return false;
    }
View Full Code Here

TOP

Related Classes of com.cuubez.visualizer.annotation.Name

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.