com.sun.tools.javac.util
Class Names

java.lang.Object
  extended by com.sun.tools.javac.util.Names

public class Names
extends java.lang.Object

Access to the compiler's name table. STandard names are defined, as well as methods to create new names.

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.


Field Summary
 Name _class
           
 Name _default
           
 Name _name
           
 Name _super
           
 Name _this
           
 Name Annotation
           
 Name ANNOTATION_TYPE
           
 Name AnnotationDefault
           
 Name any
           
 Name append
           
 Name Array
           
 Name asterisk
           
 Name Bound
           
 Name Bridge
           
 Name CharacterRangeTable
           
 Name CLASS
           
 Name clinit
           
 Name clone
           
 Name Code
           
 Name comma
           
 Name compareTo
           
 Name CompilationID
           
 Name ConstantValue
           
 Name CONSTRUCTOR
           
 Name deprecated
           
 Name Deprecated
           
 Name desiredAssertionStatus
           
 Name empty
           
 Name EnclosingMethod
           
 Name Enum
           
 Name equals
           
 Name error
           
 Name ex
           
 Name Exceptions
           
 Name family
           
 Name FIELD
           
 Name finalize
           
 Name forName
           
 Name getClass
           
 Name getClassLoader
           
 Name getComponentType
           
 Name getDeclaringClass
           
 Name getMessage
           
 Name hashCode
           
 Name hasNext
           
 Name hyphen
           
 Name init
           
 Name initCause
           
 Name InnerClasses
           
 Name iterator
           
 Name java_io_Serializable
           
 Name java_lang
           
 Name java_lang_Class
           
 Name java_lang_Cloneable
           
 Name java_lang_Enum
           
 Name java_lang_Object
           
 Name length
           
 Name LineNumberTable
           
 Name LOCAL_VARIABLE
           
 Name LocalVariableTable
           
 Name LocalVariableTypeTable
           
 Name Method
           
 Name METHOD
           
static Context.Key<Names> namesKey
           
 Name next
           
 Name one
           
 Name ordinal
           
 Name PACKAGE
           
 Name package_info
           
 Name PARAMETER
           
 Name period
           
 Name RUNTIME
           
 Name RuntimeInvisibleAnnotations
           
 Name RuntimeInvisibleParameterAnnotations
           
 Name RuntimeVisibleAnnotations
           
 Name RuntimeVisibleParameterAnnotations
           
 Name semicolon
           
 Name serialVersionUID
           
 Name Signature
           
 Name slash
           
 Name slashequals
           
 Name SOURCE
           
 Name SourceFile
           
 Name SourceID
           
 Name StackMap
           
 Name StackMapTable
           
 Name Synthetic
           
 Name T
           
 Name.Table table
           
 Name toString
           
 Name TYPE
           
 Name value
           
 Name Value
           
 Name valueOf
           
 Name values
           
 Name Varargs
           
 
Constructor Summary
Names(Context context)
           
 
Method Summary
protected  Name.Table createTable(Options options)
           
 void dispose()
           
 Name fromChars(char[] cs, int start, int len)
           
 Name fromString(java.lang.String s)
           
 Name fromUtf(byte[] cs)
           
 Name fromUtf(byte[] cs, int start, int len)
           
static Names instance(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namesKey

public static final Context.Key<Names> namesKey

slash

public final Name slash

hyphen

public final Name hyphen

T

public final Name T

slashequals

public final Name slashequals

deprecated

public final Name deprecated

init

public final Name init

clinit

public final Name clinit

error

public final Name error

any

public final Name any

empty

public final Name empty

one

public final Name one

period

public final Name period

comma

public final Name comma

semicolon

public final Name semicolon

asterisk

public final Name asterisk

_this

public final Name _this

_super

public final Name _super

_default

public final Name _default

_class

public final Name _class

java_lang

public final Name java_lang

java_lang_Object

public final Name java_lang_Object

java_lang_Class

public final Name java_lang_Class

java_lang_Cloneable

public final Name java_lang_Cloneable

java_io_Serializable

public final Name java_io_Serializable

serialVersionUID

public final Name serialVersionUID

java_lang_Enum

public final Name java_lang_Enum

package_info

public final Name package_info

ConstantValue

public final Name ConstantValue

LineNumberTable

public final Name LineNumberTable

LocalVariableTable

public final Name LocalVariableTable

LocalVariableTypeTable

public final Name LocalVariableTypeTable

CharacterRangeTable

public final Name CharacterRangeTable

StackMap

public final Name StackMap

StackMapTable

public final Name StackMapTable

SourceID

public final Name SourceID

CompilationID

public final Name CompilationID

Code

public final Name Code

Exceptions

public final Name Exceptions

SourceFile

public final Name SourceFile

InnerClasses

public final Name InnerClasses

Synthetic

public final Name Synthetic

Bridge

public final Name Bridge

Deprecated

public final Name Deprecated

Enum

public final Name Enum

_name

public final Name _name

Signature

public final Name Signature

Varargs

public final Name Varargs

Annotation

public final Name Annotation

RuntimeVisibleAnnotations

public final Name RuntimeVisibleAnnotations

RuntimeInvisibleAnnotations

public final Name RuntimeInvisibleAnnotations

RuntimeVisibleParameterAnnotations

public final Name RuntimeVisibleParameterAnnotations

RuntimeInvisibleParameterAnnotations

public final Name RuntimeInvisibleParameterAnnotations

Value

public final Name Value

EnclosingMethod

public final Name EnclosingMethod

desiredAssertionStatus

public final Name desiredAssertionStatus

append

public final Name append

family

public final Name family

forName

public final Name forName

toString

public final Name toString

length

public final Name length

valueOf

public final Name valueOf

value

public final Name value

getMessage

public final Name getMessage

getClass

public final Name getClass

TYPE

public final Name TYPE

FIELD

public final Name FIELD

METHOD

public final Name METHOD

PARAMETER

public final Name PARAMETER

CONSTRUCTOR

public final Name CONSTRUCTOR

LOCAL_VARIABLE

public final Name LOCAL_VARIABLE

ANNOTATION_TYPE

public final Name ANNOTATION_TYPE

PACKAGE

public final Name PACKAGE

SOURCE

public final Name SOURCE

CLASS

public final Name CLASS

RUNTIME

public final Name RUNTIME

Array

public final Name Array

Method

public final Name Method

Bound

public final Name Bound

clone

public final Name clone

getComponentType

public final Name getComponentType

getClassLoader

public final Name getClassLoader

initCause

public final Name initCause

values

public final Name values

iterator

public final Name iterator

hasNext

public final Name hasNext

next

public final Name next

AnnotationDefault

public final Name AnnotationDefault

ordinal

public final Name ordinal

equals

public final Name equals

hashCode

public final Name hashCode

compareTo

public final Name compareTo

getDeclaringClass

public final Name getDeclaringClass

ex

public final Name ex

finalize

public final Name finalize

table

public final Name.Table table
Constructor Detail

Names

public Names(Context context)
Method Detail

instance

public static Names instance(Context context)

createTable

protected Name.Table createTable(Options options)

dispose

public void dispose()

fromChars

public Name fromChars(char[] cs,
                      int start,
                      int len)

fromString

public Name fromString(java.lang.String s)

fromUtf

public Name fromUtf(byte[] cs)

fromUtf

public Name fromUtf(byte[] cs,
                    int start,
                    int len)