Package com.sun.tools.javac.code

Examples of com.sun.tools.javac.code.Lint$AugmentVisitor


            }
            tree.sym.flags_field |= EFFECTIVELY_FINAL;
        }

        VarSymbol v = tree.sym;
        Lint lint = env.info.lint.augment(v.attributes_field, v.flags());
        Lint prevLint = chk.setLint(lint);

        // Check that the variable's declared type is well-formed.
        chk.validate(tree.vartype, env);
        deferredLintHandler.flush(tree.pos());
View Full Code Here


        while (lintEnv.info.lint == null)
            lintEnv = lintEnv.next;

        // Having found the enclosing lint value, we can initialize the lint value for this let
        localEnv.info.lint = lintEnv.info.lint;
        Lint prevLint = chk.setLint(env.info.lint);
       
        try{
            // visit each var def in this new env (side note: this is not a real LET since in theory each
            // new variable should see the ones defined previously)
            // do statements if we have any
View Full Code Here

                lintEnv = lintEnv.next;

            // Having found the enclosing lint value, we can initialize the lint value for this class
            env.info.lint = lintEnv.info.lint.augment(c.attributes_field, c.flags());

            Lint prevLint = chk.setLint(env.info.lint);
            JavaFileObject prev = log.useSource(c.sourcefile);

            try {
                // java.lang.Enum may not be subclassed by a non-enum
                if (st.tsym == syms.enumSym &&
View Full Code Here

TOP

Related Classes of com.sun.tools.javac.code.Lint$AugmentVisitor

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.