Class GQLUtil
- java.lang.Object
-
- net.morimekta.providence.graphql.gql.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.PFieldbaseField(net.morimekta.providence.descriptor.PField field)Get the based field value for the field.static java.lang.StringtoArgumentString(java.lang.Object o)
-
-
-
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)
-
-