Package com.asakusafw.utils.java.model.syntax

Examples of com.asakusafw.utils.java.model.syntax.BasicTypeKind


            return context.factory.newArrayType(component);
        }

        @Override
        public Type visitBasicType(IrDocBasicType elem, Mapper context) {
            BasicTypeKind kind = convert(elem.getTypeKind());
            return context.factory.newBasicType(kind);
        }
View Full Code Here


        }
        if (value == null) {
            return toNullLiteral(factory);
        }
        Class<? extends Object> valueClass = value.getClass();
        BasicTypeKind kind = WRAPPER_TYPE_KINDS.get(valueClass);
        if (kind != null) {
            switch (kind) {
            case BYTE:
                return toLiteral(factory, (byte) (Byte) value);
            case SHORT:
View Full Code Here

TOP

Related Classes of com.asakusafw.utils.java.model.syntax.BasicTypeKind

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.