Examples of TargetTypes


Examples of net.sourceforge.stripes.config.TargetTypes

                        .getClass().getName(), "] is not a class.");
            }
        }

        // Determine target types from annotation; if no annotation then process everything
        TargetTypes annotation = postProcessor.getClass().getAnnotation(TargetTypes.class);
        if (annotation != null)
            targetTypes.addAll(Arrays.asList(annotation.value()));

        // Default to Object
        if (targetTypes.isEmpty())
            targetTypes.add(Object.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.