Package com.sun.tools.javac.code

Examples of com.sun.tools.javac.code.TypeTag


        /**
         * Update the value to the given value.
         */
        public void setValue(Object value) {
            TypeTag tag = decoratedTree.typetag;

            value = sanitiseLiteralValue(tag, value);

            decoratedTree.value = value;
        }
View Full Code Here


        /**
         * Update the value to the given value.
         */
        public void setValue(Object value) {
            TypeTag tag = decoratedTree.typetag;

            value = sanitiseLiteralValue(tag, value);

            decoratedTree.value = value;
        }
View Full Code Here

    /**
     * Get a FunctionTemplate representing Math.abs on the given type.
     */
    private static FunctionTemplate getAbs(Type t) {
        // Determine if the input is a floating point type.
        TypeTag tag = t.getTag();
        boolean isFP = tag == TypeTag.FLOAT ||
                       tag == TypeTag.DOUBLE;

        AJCExpressionTree abs =
            treeMaker.Conditional(
View Full Code Here

TOP

Related Classes of com.sun.tools.javac.code.TypeTag

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.