langtools/src/share/opensource/javac/doc/javac_lifecycle/packages.html
author yan
Wed, 23 Apr 2008 14:35:26 +0400
changeset 450 be95c1c0efcf
parent 10 06bc494ca11e
permissions -rw-r--r--
6627324: Alt Graph doesnot generate any key event when pressing in German locale Summary: This Unix only problem solved by mapping XK_ISO_Level3_Shift keysym to Java keycode VK_ALT_GRAPH. Reviewed-by: son
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
<!--
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 published by the Free Software Foundation.  Sun designates this
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 particular file as subject to the "Classpath" exception as provided
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 by Sun in the LICENSE file that accompanied this code.
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
 CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
 have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
  
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
-->
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
<html>
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
    <head>
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
        <meta name="author" content="Jonathan Gibbons">
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
        <link type="text/css" rel="stylesheet" href="style.css">
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
        <title>Packages</title>
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
        <style type="text/css">
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
            th { text-align:left }
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
        </style>
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
    </head>
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
    <body>
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
        <h3>javac Packages</h3>
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
        <p>With the exception of a publicly supported entry point at
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
            <a href="../../src/share/classes/com/sun/tools/javac/Main.java" class="code">com.sun.tools.javac.Main</a>,
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
            javac is organized as a set of packages under 
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
            <span class="code">com.sun.tools.javac</span>.
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
        </p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
        <table>
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
        <tr><th>Sub-package<th>Description
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
        <td valign=top><span class=code>code</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
        <td>Classes to represent the internal semantics of a Java program -- 
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
        types, symbols, etc.
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
        <td valign=top><span class=code>comp</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
        <td>Classes that analyse and annotate the parse tree with semantic 
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
        details, such as determining the types and symbols referred to by identifiers.
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
        <td valign=top><span class=code>jvm</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
        <td>Back end classes to read and write class files.
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
        <td valign=top><span class=code>main</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
        <td>Top-level driver classes. The standard entry point to the compiler is
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
        <a href="../../src/share/classes/com/sun/tools/javac/main/Main.java" class="code">com.sun.tools.javac.main.Main</a> <i>(<a href="Main.html">more...</a>)</i>
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
        <td valign=top><span class=code>parser</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
        <td>Classes to read a Java source file and create a corresponding parse tree.
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
        <td valign=top><span class=code>resources</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
        <td>Resource classes for messages generated by the compiler. Two of the 
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
        three classes are automagically generated by a "property file compiler" 
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
        from a property source file; the third is automagically generated during 
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
        the build to contain build version information.
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
        <td valign=top><span class=code>tree</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
        <td>Classes representing an annotated syntax tree for a Java program. 
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
        The top level node, representing the contents of a source file is 
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
        <span sclass="code">Tree.TopLevel</code>.
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
        <tr>
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
        <td valign=top><span class=code>util</code>
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
        <td>Utility classes used throughout the compiler, providing support for 
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
        diagnostics, access to the file system, and javac's collection classes.
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
    </body>
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
</html>