APIdia Launch Partner
Top Interfaces Annotations Classes
module jdk.compiler

Package com.sun.tools.javac.util


Interface Summary

Modifier and TypeInterface and Description
public interface
LayoutCharacters

An interface containing layout character constants used in Java programs.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
DefinedBy

Methods that directly implement a method declared in a public, supported API should be marked with this annotation.

Class Summary

Modifier and TypeClass and Description
public class
Abort

Throwing an instance of this class causes (silent) termination of the main compiler method.

public abstract class
AbstractDiagnosticFormatter

This abstract class provides a basic implementation of the functionalities that should be provided by any formatter used by javac.

public abstract class
AbstractLog

A base class for error logs.

public class
ArrayUtils

This is NOT part of any supported API.

public class
Assert

Simple facility for unconditional assertions.

public class
BasicDiagnosticFormatter

A basic formatter for diagnostic messages.

public class
Bits

A class for extensible, mutable bit sets.

public class
ByteBuffer

A byte buffer is a flexible array which grows when elements are appended.

public class
ClientCodeException

An exception used for propagating exceptions found in client code invoked from javac.

public class
CompilerInternalException

The super class of all compiler internal exceptions

This is NOT part of any supported API.

public class
Constants

Utilities for operating on constant values.

public class
Context

Support for an abstract context, modelled loosely after ThreadLocal but using a user-provided context instead of the current thread.

public class
Convert

Utility class for static conversion methods between numbers and strings in various formats.

public abstract class
Dependencies

This class is used to track dependencies in the javac symbol completion process.

public class
DiagnosticSource

A simple abstraction of a source file, as needed for use in a diagnostic message.

public class
FatalError

Throwing an instance of this class causes immediate termination of the main compiler method.

public class
ForwardingDiagnosticFormatter<D extends Diagnostic<?>, F extends DiagnosticFormatter<D>>

A delegated diagnostic formatter delegates all formatting actions to an underlying formatter (aka the delegated formatter).

public class
GraphUtils

This is NOT part of any supported API.

public class
InvalidUtfException

Exception thrown when invalid Modified UTF-8 is encountered.

public class
Iterators

Utilities for Iterators.

public class
JavacMessages

Support for formatted localized messages.

public class
JCDiagnostic

An abstraction of a diagnostic message generated by the compiler.

public class
List<A>

A class for generic linked lists.

public class
ListBuffer<A>

A class for constructing lists by appending elements.

public class
Log

A class for error logs.

public class
MatchingUtils

Utilities to convert an import-like string to a regexp.

public class
public abstract class
Name

An abstraction for internal compiler strings.

public class
Names

Access to the compiler's name table.

public class
Options

A table of all command-line options.

public class
Pair<A, B>

A generic class for pairs.

public class
Position

A class that defines source code positions as simple character offsets from the beginning of the file.

public class
PropagatedException

Used to propagate exceptions through to the user.

public class
RawDiagnosticFormatter

A raw formatter for diagnostic messages.

public class
RichDiagnosticFormatter

A rich diagnostic formatter is a formatter that provides better integration with javac's type system.

public class
SharedNameTable

Implementation of Name.Table that stores all names in a single shared byte array, expanding it as needed.

public class
StringNameTable

Straightforward implementation of Name.Table using Strings.

public class
StringUtils

A collection of utilities for String manipulation.

public class
UnsharedNameTable

Implementation of Name.Table that stores names in individual arrays using weak references.

public abstract class
Utf8NameTable

Support superclass for Name.Table implementations that store names as Modified UTF-8 data in byte[] arrays.

public class
Warner

An interface to support optional warnings, needed for support of unchecked conversions and unchecked casts.

pack-priv class
WarningAggregator

An aggregator for warnings, setting up a deferred diagnostic to be printed at the end of the compilation if some warnings get suppressed because the lint category is not enabled or too many warnings have already been generated.