Class TypeIdentifier

java.lang.Object
net.orbyfied.j8.registry.Identifier
net.orbyfied.j8.command.argument.TypeIdentifier
All Implemented Interfaces:
Cloneable

public class TypeIdentifier extends net.orbyfied.j8.registry.Identifier implements Cloneable
  • Constructor Details

    • TypeIdentifier

      public TypeIdentifier(String namespace, String path)
      Constructor.
      Parameters:
      namespace - Base ID namespace.
      path - Base ID path.
  • Method Details

    • parse

      public static TypeIdentifier parse(String in, TypeIdentifier out)
    • of

      public static TypeIdentifier of(String in)
    • getTypeParameters

      public ArrayList<TypeIdentifier> getTypeParameters()
      Get the type parameters included in this type identifier / descriptor.
      Returns:
      The list of type parameters. (MUTABLE)
    • clone

      public TypeIdentifier clone()
      Overrides:
      clone in class net.orbyfied.j8.registry.Identifier
    • toString

      public String toString()
      Overrides:
      toString in class net.orbyfied.j8.registry.Identifier
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class net.orbyfied.j8.registry.Identifier
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class net.orbyfied.j8.registry.Identifier