Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 jdk.compiler.jmod - Compiler Tool
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "javac" command.
JDK 17 Compiler tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.compiler.jmod.
JDK 17 Compiler tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Compiler source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.compiler.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/javac/tree/TreeScanner.java
/* * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.javac.tree; import com.sun.tools.javac.util.*; import com.sun.tools.javac.tree.JCTree.*; /** A subclass of Tree.Visitor, this class defines * a general tree scanner pattern. Translation proceeds recursively in * left-to-right order down a tree. There is one visitor method in this class * for every possible kind of tree node. To obtain a specific * scanner, it suffices to override those visitor methods which * do some interesting work. The scanner class itself takes care of all * navigational aspects. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or * deletion without notice.</b> */ public class TreeScanner extends Visitor { /** Visitor method: Scan a single node. */ public void scan(JCTree tree) { if(tree!=null) tree.accept(this); } /** Visitor method: scan a list of nodes. */ public void scan(List<? extends JCTree> trees) { if (trees != null) for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail) scan(l.head); } /* *************************************************************************** * Visitor methods ****************************************************************************/ public void visitTopLevel(JCCompilationUnit tree) { scan(tree.defs); } public void visitPackageDef(JCPackageDecl tree) { scan(tree.annotations); scan(tree.pid); } @Override public void visitModuleDef(JCModuleDecl tree) { scan(tree.mods); scan(tree.qualId); scan(tree.directives); } @Override public void visitExports(JCExports tree) { scan(tree.qualid); scan(tree.moduleNames); } @Override public void visitOpens(JCOpens tree) { scan(tree.qualid); scan(tree.moduleNames); } @Override public void visitProvides(JCProvides tree) { scan(tree.serviceName); scan(tree.implNames); } @Override public void visitRequires(JCRequires tree) { scan(tree.moduleName); } @Override public void visitUses(JCUses tree) { scan(tree.qualid); } public void visitImport(JCImport tree) { scan(tree.qualid); } public void visitClassDef(JCClassDecl tree) { scan(tree.mods); scan(tree.typarams); scan(tree.extending); scan(tree.implementing); scan(tree.permitting); scan(tree.defs); } public void visitMethodDef(JCMethodDecl tree) { scan(tree.mods); scan(tree.restype); scan(tree.typarams); scan(tree.recvparam); scan(tree.params); scan(tree.thrown); scan(tree.defaultValue); scan(tree.body); } public void visitVarDef(JCVariableDecl tree) { scan(tree.mods); scan(tree.vartype); scan(tree.nameexpr); scan(tree.init); } public void visitSkip(JCSkip tree) { } public void visitBlock(JCBlock tree) { scan(tree.stats); } public void visitDoLoop(JCDoWhileLoop tree) { scan(tree.body); scan(tree.cond); } public void visitWhileLoop(JCWhileLoop tree) { scan(tree.cond); scan(tree.body); } public void visitForLoop(JCForLoop tree) { scan(tree.init); scan(tree.cond); scan(tree.step); scan(tree.body); } public void visitForeachLoop(JCEnhancedForLoop tree) { scan(tree.var); scan(tree.expr); scan(tree.body); } public void visitLabelled(JCLabeledStatement tree) { scan(tree.body); } public void visitSwitch(JCSwitch tree) { scan(tree.selector); scan(tree.cases); } public void visitCase(JCCase tree) { scan(tree.labels); scan(tree.stats); } public void visitSwitchExpression(JCSwitchExpression tree) { scan(tree.selector); scan(tree.cases); } public void visitSynchronized(JCSynchronized tree) { scan(tree.lock); scan(tree.body); } public void visitTry(JCTry tree) { scan(tree.resources); scan(tree.body); scan(tree.catchers); scan(tree.finalizer); } public void visitCatch(JCCatch tree) { scan(tree.param); scan(tree.body); } public void visitConditional(JCConditional tree) { scan(tree.cond); scan(tree.truepart); scan(tree.falsepart); } public void visitIf(JCIf tree) { scan(tree.cond); scan(tree.thenpart); scan(tree.elsepart); } public void visitExec(JCExpressionStatement tree) { scan(tree.expr); } public void visitBreak(JCBreak tree) { } public void visitYield(JCYield tree) { scan(tree.value); } public void visitContinue(JCContinue tree) { } public void visitReturn(JCReturn tree) { scan(tree.expr); } public void visitThrow(JCThrow tree) { scan(tree.expr); } public void visitAssert(JCAssert tree) { scan(tree.cond); scan(tree.detail); } public void visitApply(JCMethodInvocation tree) { scan(tree.typeargs); scan(tree.meth); scan(tree.args); } public void visitNewClass(JCNewClass tree) { scan(tree.encl); scan(tree.typeargs); scan(tree.clazz); scan(tree.args); scan(tree.def); } public void visitNewArray(JCNewArray tree) { scan(tree.annotations); scan(tree.elemtype); scan(tree.dims); for (List<JCAnnotation> annos : tree.dimAnnotations) scan(annos); scan(tree.elems); } public void visitLambda(JCLambda tree) { scan(tree.body); scan(tree.params); } public void visitParens(JCParens tree) { scan(tree.expr); } public void visitAssign(JCAssign tree) { scan(tree.lhs); scan(tree.rhs); } public void visitAssignop(JCAssignOp tree) { scan(tree.lhs); scan(tree.rhs); } public void visitUnary(JCUnary tree) { scan(tree.arg); } public void visitBinary(JCBinary tree) { scan(tree.lhs); scan(tree.rhs); } public void visitTypeCast(JCTypeCast tree) { scan(tree.clazz); scan(tree.expr); } public void visitTypeTest(JCInstanceOf tree) { scan(tree.expr); scan(tree.pattern); } public void visitBindingPattern(JCBindingPattern tree) { scan(tree.var); } @Override public void visitDefaultCaseLabel(JCDefaultCaseLabel tree) { } @Override public void visitParenthesizedPattern(JCParenthesizedPattern that) { scan(that.pattern); } @Override public void visitGuardPattern(JCGuardPattern that) { scan(that.patt); scan(that.expr); } public void visitIndexed(JCArrayAccess tree) { scan(tree.indexed); scan(tree.index); } public void visitSelect(JCFieldAccess tree) { scan(tree.selected); } public void visitReference(JCMemberReference tree) { scan(tree.expr); scan(tree.typeargs); } public void visitIdent(JCIdent tree) { } public void visitLiteral(JCLiteral tree) { } public void visitTypeIdent(JCPrimitiveTypeTree tree) { } public void visitTypeArray(JCArrayTypeTree tree) { scan(tree.elemtype); } public void visitTypeApply(JCTypeApply tree) { scan(tree.clazz); scan(tree.arguments); } public void visitTypeUnion(JCTypeUnion tree) { scan(tree.alternatives); } public void visitTypeIntersection(JCTypeIntersection tree) { scan(tree.bounds); } public void visitTypeParameter(JCTypeParameter tree) { scan(tree.annotations); scan(tree.bounds); } @Override public void visitWildcard(JCWildcard tree) { scan(tree.kind); if (tree.inner != null) scan(tree.inner); } @Override public void visitTypeBoundKind(TypeBoundKind that) { } public void visitModifiers(JCModifiers tree) { scan(tree.annotations); } public void visitAnnotation(JCAnnotation tree) { scan(tree.annotationType); scan(tree.args); } public void visitAnnotatedType(JCAnnotatedType tree) { scan(tree.annotations); scan(tree.underlyingType); } public void visitErroneous(JCErroneous tree) { } public void visitLetExpr(LetExpr tree) { scan(tree.defs); scan(tree.expr); } public void visitTree(JCTree tree) { Assert.error(); } }
⏎ com/sun/tools/javac/tree/TreeScanner.java
Or download all of them as a single archive file:
File name: jdk.compiler-17.0.5-src.zip File size: 1450209 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.crypto.cryptoki.jmod - Crypto KI Module
2023-10-15, 17856👍, 0💬
Popular Posts:
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is the JAR files of ojdbc.jar, ...
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...