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

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.env.EnumConstantSignature

public class EnumConstantSignature
extends 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.


构造方法摘要
EnumConstantSignature(char[] typeName, char[] constName)
           
 
方法摘要
 boolean equals(Object obj)
           
 char[] getEnumConstantName()
           
 char[] getTypeName()
           
 int hashCode()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

EnumConstantSignature

public EnumConstantSignature(char[] typeName,
                             char[] constName)
方法详细信息

getTypeName

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

getEnumConstantName

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

toString

public String toString()
覆盖:
Object 中的 toString

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

equals

public boolean equals(Object obj)
覆盖:
Object 中的 equals


Copyright © 2013. All Rights Reserved.