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 11 jdk.compiler.jmod - Compiler Tool
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "javac" command.
JDK 11 Compiler tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.compiler.jmod.
JDK 11 Compiler tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Compiler source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.compiler.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/source/util/SimpleTreeVisitor.java
/* * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.util; import com.sun.source.tree.*; /** * A simple visitor for tree nodes. * * @param <R> the return type of this visitor's methods. Use {@link * Void} for visitors that do not need to return results. * @param <P> the type of the additional parameter to this visitor's * methods. Use {@code Void} for visitors that do not need an * additional parameter. * * @author Peter von der Ahé * @since 1.6 */ public class SimpleTreeVisitor <R,P> implements TreeVisitor<R,P> { /** * The default value, returned by the {@link #defaultAction default action}. */ protected final R DEFAULT_VALUE; /** * Creates a visitor, with a DEFAULT_VALUE of {@code null}. */ protected SimpleTreeVisitor() { DEFAULT_VALUE = null; } /** * Creates a visitor, with a specified DEFAULT_VALUE. * @param defaultValue the default value to be returned by the default action. */ protected SimpleTreeVisitor(R defaultValue) { DEFAULT_VALUE = defaultValue; } /** * The default action, used by all visit methods that are not overridden. * @param node the node being visited * @param p the parameter value passed to the visit method * @return the result value to be returned from the visit method */ protected R defaultAction(Tree node, P p) { return DEFAULT_VALUE; } /** * Invokes the appropriate visit method specific to the type of the node. * @param node the node on which to dispatch * @param p a parameter to be passed to the appropriate visit method * @return the value returns from the appropriate visit method */ public final R visit(Tree node, P p) { return (node == null) ? null : node.accept(this, p); } /** * Invokes the appropriate visit method on each of a sequence of nodes. * @param nodes the nodes on which to dispatch * @param p a parameter value to be passed to each appropriate visit method * @return the value return from the last of the visit methods, or null * if none were called. */ public final R visit(Iterable<? extends Tree> nodes, P p) { R r = null; if (nodes != null) for (Tree node : nodes) r = visit(node, p); return r; } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitCompilationUnit(CompilationUnitTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitPackage(PackageTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitImport(ImportTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitClass(ClassTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitMethod(MethodTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitVariable(VariableTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitEmptyStatement(EmptyStatementTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitBlock(BlockTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitDoWhileLoop(DoWhileLoopTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitWhileLoop(WhileLoopTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitForLoop(ForLoopTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitEnhancedForLoop(EnhancedForLoopTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitLabeledStatement(LabeledStatementTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitSwitch(SwitchTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitCase(CaseTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitSynchronized(SynchronizedTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitTry(TryTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitCatch(CatchTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitConditionalExpression(ConditionalExpressionTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitIf(IfTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitExpressionStatement(ExpressionStatementTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitBreak(BreakTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitContinue(ContinueTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitReturn(ReturnTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitThrow(ThrowTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitAssert(AssertTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitMethodInvocation(MethodInvocationTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitNewClass(NewClassTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitNewArray(NewArrayTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitLambdaExpression(LambdaExpressionTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitParenthesized(ParenthesizedTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitAssignment(AssignmentTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitCompoundAssignment(CompoundAssignmentTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitUnary(UnaryTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitBinary(BinaryTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitTypeCast(TypeCastTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitInstanceOf(InstanceOfTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitArrayAccess(ArrayAccessTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitMemberSelect(MemberSelectTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitMemberReference(MemberReferenceTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitIdentifier(IdentifierTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitLiteral(LiteralTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitPrimitiveType(PrimitiveTypeTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitArrayType(ArrayTypeTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitParameterizedType(ParameterizedTypeTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitUnionType(UnionTypeTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitIntersectionType(IntersectionTypeTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitTypeParameter(TypeParameterTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitWildcard(WildcardTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitModifiers(ModifiersTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitAnnotation(AnnotationTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitAnnotatedType(AnnotatedTypeTree node, P p) { return defaultAction(node, p); } public R visitModule(ModuleTree node, P p) { return defaultAction(node, p); } @Override public R visitExports(ExportsTree node, P p) { return defaultAction(node, p); } @Override public R visitOpens(OpensTree node, P p) { return defaultAction(node, p); } @Override public R visitProvides(ProvidesTree node, P p) { return defaultAction(node, p); } @Override public R visitRequires(RequiresTree node, P p) { return defaultAction(node, p); } @Override public R visitUses(UsesTree node, P p) { return defaultAction(node, p); } public R visitErroneous(ErroneousTree node, P p) { return defaultAction(node, p); } /** * {@inheritDoc} This implementation calls {@code defaultAction}. * * @param node {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code defaultAction} */ @Override public R visitOther(Tree node, P p) { return defaultAction(node, p); } }
⏎ com/sun/source/util/SimpleTreeVisitor.java
Or download all of them as a single archive file:
File name: jdk.compiler-11.0.1-src.zip File size: 1347269 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.crypto.cryptoki.jmod - Crypto KI Module
2020-08-13, 115243👍, 0💬
Popular Posts:
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module. JDK 17 Hotspot Agent...
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...