java.lang.Object
com.google.web.bindery.requestfactory.apt.Messages

class Messages extends Object
Contains string-formatting methods to produce error messages. This class exists to avoid the need to duplicate error messages in test code. All method parameters in this class accept Object so that the production code can pass javax.lang.model types and the test code can pass Strings.
  • Method Details

    • contextMissingDomainType

      public static String contextMissingDomainType(Object domainTypeName)
    • contextMustBeAnnotated

      public static String contextMustBeAnnotated(Object requestContextName)
    • contextRequiredReturnTypes

      public static String contextRequiredReturnTypes(Object requestName, Object instanceRequestName)
    • deobfuscatorMissingContext

      public static String deobfuscatorMissingContext(Object contextName)
    • deobfuscatorMissingProxy

      public static String deobfuscatorMissingProxy(Object proxyName)
    • domainFindNotStatic

      public static String domainFindNotStatic(Object domainTypeName)
    • domainGetIdStatic

      public static String domainGetIdStatic()
    • domainGetVersionStatic

      public static String domainGetVersionStatic()
    • domainMethodNotPublic

      public static String domainMethodNotPublic(Object domainMethodName)
    • domainMethodWrongModifier

      public static String domainMethodWrongModifier(boolean expectStatic, Object domainMethodName)
    • domainMissingFind

      public static String domainMissingFind(Object domainType, Object simpleName, Object getIdReturnType, Object checkedTypeName)
    • domainMissingMethod

      public static String domainMissingMethod(Object description)
    • domainNoGetId

      public static String domainNoGetId(Object domainType)
    • domainNoGetVersion

      public static String domainNoGetVersion(Object domainType)
    • domainNotDefaultInstantiable

      public static String domainNotDefaultInstantiable(Object domainName, Object proxyName, Object requestContextName)
    • factoryMustBeAssignable

      public static String factoryMustBeAssignable(Object assignableTo)
    • factoryMustReturnInterface

      public static String factoryMustReturnInterface(Object returnType)
    • factoryNoMethodParameters

      public static String factoryNoMethodParameters()
    • methodNoDomainPeer

      public static String methodNoDomainPeer(Object proxyTypeName, boolean isParameter)
    • noSuchType

      public static String noSuchType(String binaryTypeName)
    • proxyMissingDomainType

      public static String proxyMissingDomainType(Object missingDomainName)
    • proxyMustBeAnnotated

      public static String proxyMustBeAnnotated(Object typeName)
    • proxyOnlyGettersSetters

      public static String proxyOnlyGettersSetters()
    • rawType

      public static String rawType()
    • redundantAnnotation

      public static String redundantAnnotation(Object annotationName)
    • untransportableType

      public static String untransportableType(Object returnType)
    • warnSuffix

      public static String warnSuffix()