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/tree/MethodTree.java

/*
 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package com.sun.source.tree;

import java.util.List;
import javax.lang.model.element.Name;

/**
 * A tree node for a method or annotation type element declaration.
 *
 * For example:
 * <pre>
 *   <em>modifiers</em> <em>typeParameters</em> <em>type</em> <em>name</em>
 *      ( <em>parameters</em> )
 *      <em>body</em>
 *
 *   <em>modifiers</em> <em>type</em> <em>name</em> () default <em>defaultValue</em>
 * </pre>
 *
 * @jls sections 8.4, 8.6, 8.7, 9.4, and 9.6
 *
 * @author Peter von der Ah&eacute;
 * @author Jonathan Gibbons
 * @since 1.6
 */
public interface MethodTree extends Tree {
    /**
     * Returns the modifiers, including any annotations for the method being declared.
     * @return the modifiers
     */
    ModifiersTree getModifiers();

    /**
     * Returns the name of the method being declared.
     * @return the name
     */
    Name getName();

    /**
     * Returns the return type of the method being declared.
     * Returns {@code null} for a constructor.
     * @return the return type
     */
    Tree getReturnType();

    /**
     * Returns the type parameters of the method being declared.
     * @return the type parameters
     */
    List<? extends TypeParameterTree> getTypeParameters();

    /**
     * Returns the parameters of the method being declared.
     * @return the parameters
     */
    List<? extends VariableTree> getParameters();

    /**
     * Return an explicit receiver parameter ("this" parameter),
     * or {@code null} if none.
     *
     * @return an explicit receiver parameter ("this" parameter)
     * @since 1.8
     */
    VariableTree getReceiverParameter();

    /**
     * Returns the exceptions listed as being thrown by this method.
     * @return the exceptions
     */
    List<? extends ExpressionTree> getThrows();

    /**
     * Returns the method body, or {@code null} if this is an abstract or native method.
     * @return the method body
     */
    BlockTree getBody();

    /**
     * Returns the default value, if this is an element within
     * an annotation type declaration.
     * Returns {@code null} otherwise.
     * @return the default value
     */
    Tree getDefaultValue(); // for annotation types
}

com/sun/source/tree/MethodTree.java

 

JDK 11 jdk.crypto.cryptoki.jmod - Crypto KI Module

JDK 11 jdk.charsets.jmod - Charsets Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-08-13, 20858👍, 0💬