Module aya.base

Enum Class ModuleName.ThisRef

java.lang.Object
java.lang.Enum<ModuleName.ThisRef>
org.aya.resolve.context.ModuleName.ThisRef
All Implemented Interfaces:
Serializable, Comparable<ModuleName.ThisRef>, Constable, ModuleName
Enclosing interface:
ModuleName

public static enum ModuleName.ThisRef extends Enum<ModuleName.ThisRef> implements ModuleName
  • Enum Constant Details

  • Method Details

    • values

      public static ModuleName.ThisRef[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModuleName.ThisRef valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • size

      public int size()
      Specified by:
      size in interface ModuleName
    • ids

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<String> ids()
      Specified by:
      ids in interface ModuleName
    • resolve

      @NotNull public @NotNull ModuleName.Qualified resolve(@NotNull @NotNull String name)
      Specified by:
      resolve in interface ModuleName
    • concat

      @NotNull public @NotNull ModuleName concat(@NotNull @NotNull ModuleName path)
      Specified by:
      concat in interface ModuleName
    • toString

      @NotNull public @NotNull String toString()
      Specified by:
      toString in interface ModuleName
      Overrides:
      toString in class Enum<ModuleName.ThisRef>