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
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.