Class NameRegistry

java.lang.Object
se.l4.graphql.binding.internal.NameRegistry

public class NameRegistry
extends Object
  • Constructor Details

  • Method Details

    • getName

      public Optional<String> getName​(se.l4.commons.types.reflect.TypeRef type)
      Get the name the given type has in the schema.
      Parameters:
      type -
      Returns:
    • hasName

      public boolean hasName​(String name)
    • reserveName

      public void reserveName​(String name, Breadcrumb crumb, se.l4.commons.types.reflect.TypeRef... refs)
    • reserveNameAllowDuplicate

      public void reserveNameAllowDuplicate​(se.l4.commons.types.reflect.TypeRef type, String name)
    • getName

      public String getName​(se.l4.commons.types.reflect.MemberRef member)
      Get the name of the given member.
      Parameters:
      member -
      Returns:
    • getName

      public String getName​(se.l4.commons.types.reflect.ParameterRef parameter)