Class Messages
java.lang.Object
com.google.web.bindery.requestfactory.apt.Messages
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 Summary
Modifier and TypeMethodDescriptionstatic String
contextMissingDomainType
(Object domainTypeName) static String
contextMustBeAnnotated
(Object requestContextName) static String
contextRequiredReturnTypes
(Object requestName, Object instanceRequestName) static String
deobfuscatorMissingContext
(Object contextName) static String
deobfuscatorMissingProxy
(Object proxyName) static String
domainFindNotStatic
(Object domainTypeName) static String
static String
static String
domainMethodNotPublic
(Object domainMethodName) static String
domainMethodWrongModifier
(boolean expectStatic, Object domainMethodName) static String
domainMissingFind
(Object domainType, Object simpleName, Object getIdReturnType, Object checkedTypeName) static String
domainMissingMethod
(Object description) static String
domainNoGetId
(Object domainType) static String
domainNoGetVersion
(Object domainType) static String
domainNotDefaultInstantiable
(Object domainName, Object proxyName, Object requestContextName) static String
factoryMustBeAssignable
(Object assignableTo) static String
factoryMustReturnInterface
(Object returnType) static String
static String
methodNoDomainPeer
(Object proxyTypeName, boolean isParameter) static String
noSuchType
(String binaryTypeName) static String
proxyMissingDomainType
(Object missingDomainName) static String
proxyMustBeAnnotated
(Object typeName) static String
static String
rawType()
static String
redundantAnnotation
(Object annotationName) static String
untransportableType
(Object returnType) static String
-
Method Details
-
contextMissingDomainType
-
contextMustBeAnnotated
-
contextRequiredReturnTypes
-
deobfuscatorMissingContext
-
deobfuscatorMissingProxy
-
domainFindNotStatic
-
domainGetIdStatic
-
domainGetVersionStatic
-
domainMethodNotPublic
-
domainMethodWrongModifier
-
domainMissingFind
-
domainMissingMethod
-
domainNoGetId
-
domainNoGetVersion
-
domainNotDefaultInstantiable
-
factoryMustBeAssignable
-
factoryMustReturnInterface
-
factoryNoMethodParameters
-
methodNoDomainPeer
-
noSuchType
-
proxyMissingDomainType
-
proxyMustBeAnnotated
-
proxyOnlyGettersSetters
-
rawType
-
redundantAnnotation
-
untransportableType
-
warnSuffix
-