This class is not part of the public API.

Class: com.sun.tools.javac.util.Name

  • public class Name
  • implements Name
An abstraction for internal compiler strings. For efficiency reasons, GJC uses hashed strings that are stored in a common large buffer.

Names represent unique hashable strings. Two names are equal if their indices are equal. Utf8 representation is used for storing names internally.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Inheritance

Superclass tree: Implements:

Methods

Fields

  • index

    public int index
    The index where the bytes of this name are stored in the global name buffer `names'.
  • len

    public int len
    The number of bytes in this name.
  • next

    Name next
    The next name occupying the same hash bucket.
  • table

    public Name.Table table
    The table structure where the name is stored