Package com.sun.tools.javac.util

Interface Summary
Context.Factory<T> The client can register a factory for lazy creation of the instance.
JCDiagnostic.DiagnosticPosition A DiagnosticPosition provides information about the positions in a file that gave rise to a diagnostic.
LayoutCharacters An interface containing layout character constants used in Java programs.
Position.LineMap  
 

Class Summary
AbstractDiagnosticFormatter This abstract class provides a basic implementation of the functionalities that should be provided by any formatter used by javac.
AbstractLog A base class for error logs.
BasicDiagnosticFormatter A basic formatter for diagnostic messages.
Bits A class for extensible, mutable bit sets.
ByteBuffer A byte buffer is a flexible array which grows when elements are appended.
Constants Utilities for operating on constant values.
Context Support for an abstract context, modelled loosely after ThreadLocal but using a user-provided context instead of the current thread.
Context.Key<T> The client creates an instance of this class for each key.
Convert Utility class for static conversion methods between numbers and strings in various formats.
DiagnosticSource A simple abstraction of a source file, as needed for use in a diagnostic message.
JavacMessages Support for formatted localized messages.
JCDiagnostic An abstraction of a diagnostic message generated by the compiler.
JCDiagnostic.Factory A factory for creating diagnostic objects.
JCDiagnostic.MultilineDiagnostic  
JCDiagnostic.SimpleDiagnosticPosition A DiagnosticPosition that simply identifies a position, but no related tree node, as the location for a diagnostic.
List<A> A class for generic linked lists.
ListBuffer<A> A class for constructing lists by appending elements.
Log A class for error logs.
MandatoryWarningHandler A handler to process mandatory warnings, setting up a deferred diagnostic to be printed at the end of the compilation if some warnings get suppressed because too many warnings have already been generated.
Name An abstraction for internal compiler strings.
Name.Table An abstraction for the hash table used to create unique Name instances.
Names Access to the compiler's name table.
Options A table of all command-line options.
Pair<A,B> A generic class for pairs.
Position A class that defines source code positions as simple character offsets from the beginning of the file.
Position.LineMapImpl  
Position.LineTabMapImpl A LineMap that handles tab expansion correctly.
RawDiagnosticFormatter A raw formatter for diagnostic messages.
SharedNameTable Implementation of Name.Table that stores all names in a single shared byte array, expanding it as needed.
SharedNameTable.NameImpl  
UnsharedNameTable Implementation of Name.Table that stores names in individual arrays using weak references.
UnsharedNameTable.HashEntry  
UnsharedNameTable.NameImpl  
Warner An interface to support optional warnings, needed for support of unchecked conversions and unchecked casts.
 

Enum Summary
BasicDiagnosticFormatter.BasicFormatKind This enum contains all the kinds of formatting patterns supported by a basic diagnostic formatter.
JCDiagnostic.DiagnosticType A DiagnosticType defines the type of the diagnostic.
MandatoryWarningHandler.DeferredDiagnosticKind The kinds of different deferred diagnostics that might be generated if a mandatory warning is suppressed because too many warnings have already been output.
 

Exception Summary
ClientCodeException An exception used for propogating exceptions found in client code invoked from javac.
PropagatedException Used to propagate exceptions through to the user.
 

Error Summary
Abort Throwing an instance of this class causes (silent) termination of the main compiler method.
FatalError Throwing an instance of this class causes immediate termination of the main compiler method.