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 StringcontextMissingDomainType(Object domainTypeName) static StringcontextMustBeAnnotated(Object requestContextName) static StringcontextRequiredReturnTypes(Object requestName, Object instanceRequestName) static StringdeobfuscatorMissingContext(Object contextName) static StringdeobfuscatorMissingProxy(Object proxyName) static StringdomainFindNotStatic(Object domainTypeName) static Stringstatic Stringstatic StringdomainMethodNotPublic(Object domainMethodName) static StringdomainMethodWrongModifier(boolean expectStatic, Object domainMethodName) static StringdomainMissingFind(Object domainType, Object simpleName, Object getIdReturnType, Object checkedTypeName) static StringdomainMissingMethod(Object description) static StringdomainNoGetId(Object domainType) static StringdomainNoGetVersion(Object domainType) static StringdomainNotDefaultInstantiable(Object domainName, Object proxyName, Object requestContextName) static StringfactoryMustBeAssignable(Object assignableTo) static StringfactoryMustReturnInterface(Object returnType) static Stringstatic StringmethodNoDomainPeer(Object proxyTypeName, boolean isParameter) static StringnoSuchType(String binaryTypeName) static StringproxyMissingDomainType(Object missingDomainName) static StringproxyMustBeAnnotated(Object typeName) static Stringstatic StringrawType()static StringredundantAnnotation(Object annotationName) static StringuntransportableType(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
-