Class EnumerationDescription.AbstractBase

java.lang.Object
net.bytebuddy.description.enumeration.EnumerationDescription.AbstractBase
All Implemented Interfaces:
EnumerationDescription, NamedElement
Direct Known Subclasses:
EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.Latent
Enclosing interface:
EnumerationDescription

public abstract static class EnumerationDescription.AbstractBase extends Object implements EnumerationDescription
An adapter implementation of an enumeration description.
  • Constructor Details

    • AbstractBase

      public AbstractBase()
  • Method Details

    • getActualName

      public String getActualName()
      Returns the display name of this element as it is found in the source code. If no such name exists, an empty string is returned.
      Specified by:
      getActualName in interface NamedElement
      Returns:
      The name of this element as given in a Java program's source code.
    • hashCode

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

      public boolean equals(@MaybeNull Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object