Class GQLUtil


  • public class GQLUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GQLUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static net.morimekta.providence.descriptor.PField baseField​(net.morimekta.providence.descriptor.PField field)
      Get the based field value for the field.
      static java.lang.String toArgumentString​(java.lang.Object o)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GQLUtil

        public GQLUtil()
    • Method Detail

      • baseField

        public static net.morimekta.providence.descriptor.PField baseField​(net.morimekta.providence.descriptor.PField field)
        Get the based field value for the field. If the containing message is implementing an interface, and this field is a field derived from the interface, this method will return the interface field of same name.
        Parameters:
        field - The field to get base field for.
        Returns:
        The base field for the field, or itself.
      • toArgumentString

        public static java.lang.String toArgumentString​(java.lang.Object o)