org.eclipse.jdt.internal.compiler.env
Class EnumConstantSignature

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.env.EnumConstantSignature

public class EnumConstantSignature
extends java.lang.Object

Represents a reference to a enum constant in the class file. One of the possible results for the default value of an annotation method.


Constructor Summary
EnumConstantSignature(char[] typeName, char[] constName)
           
 
Method Summary
 char[] getEnumConstantName()
           
 char[] getTypeName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumConstantSignature

public EnumConstantSignature(char[] typeName,
                             char[] constName)
Method Detail

getTypeName

public char[] getTypeName()
Returns:
name of the type in the class file format

getEnumConstantName

public char[] getEnumConstantName()
Returns:
the name of the enum constant reference.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object