Package com.sun.tools.javac.tree.JCTree

Examples of com.sun.tools.javac.tree.JCTree.JCMethodDecl


        if(pos==-1 && tree instanceof JCVariableDecl) {
            return ((JCVariableDecl)tree).pos;
        }
        if(pos==-1 && tree instanceof JCMethodDecl) {
            // a bug in the constructor start position detection
            JCMethodDecl mt = (JCMethodDecl) tree;
            if(mt.restype==null)
                return mt.pos;
        }
        return pos;
    }
View Full Code Here

TOP

Related Classes of com.sun.tools.javac.tree.JCTree.JCMethodDecl

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.