Examples of BasicTypeKind


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

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

        }
        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
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.