Package org.jnode.annotation

Examples of org.jnode.annotation.AllowedPackages


            //lazy initialization of allowPackages to avoid startup failure
            if (allowedPackages == null) {
                String class_name = typeDescr.substring(1, typeDescr.length() - 1).replace('/', '.');
                try {
                    Class<Annotation> cls = (Class<Annotation>) Class.forName(class_name);
                    final AllowedPackages ann = cls.getAnnotation(AllowedPackages.class);
                    if (ann != null) {
                        allowedPackages = ann.value();
                    } else {
                        allowedPackages = EMPTY_PACKAGES;
                    }
                } catch (ClassNotFoundException x) {
                    throw new RuntimeException(x);
View Full Code Here

TOP

Related Classes of org.jnode.annotation.AllowedPackages

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.