Package org.kie.api.definition.type

Examples of org.kie.api.definition.type.TypeSafe


            Role role = typeDescr.getTypedAnnotation(Role.class);
            if (role != null) {
                type.setRole(role.value());
            }

            TypeSafe typeSafe = typeDescr.getTypedAnnotation(TypeSafe.class);
            if (typeSafe != null) {
                type.setTypesafe(typeSafe.value());
            }

            if (typeDescr instanceof EnumDeclarationDescr ) {
                type.setKind(TypeDeclaration.Kind.ENUM);
            } else if (typeDescr instanceof TypeDeclarationDescr && ((TypeDeclarationDescr)typeDescr).isTrait()) {
View Full Code Here

TOP

Related Classes of org.kie.api.definition.type.TypeSafe

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.