Class EnumConstantSignature

java.lang.Object
org.aspectj.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.
  • Constructor Details

    • EnumConstantSignature

      public EnumConstantSignature(char[] typeName, char[] constName)
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object