Package com.google.inject.internal
Class MessageProcessor
- java.lang.Object
-
- com.google.inject.spi.DefaultElementVisitor<java.lang.Boolean>
-
- com.google.inject.internal.AbstractProcessor
-
- com.google.inject.internal.MessageProcessor
-
- All Implemented Interfaces:
ElementVisitor<java.lang.Boolean>
final class MessageProcessor extends AbstractProcessor
HandlesBinder.addErrorcommands.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Loggerlogger-
Fields inherited from class com.google.inject.internal.AbstractProcessor
errors, injector
-
-
Constructor Summary
Constructors Constructor Description MessageProcessor(Errors errors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetRootMessage(java.lang.Throwable t)java.lang.Booleanvisit(Message message)Visit an error message and the context in which it occured.-
Methods inherited from class com.google.inject.internal.AbstractProcessor
process, process, visitOther
-
-
-
-
Constructor Detail
-
MessageProcessor
MessageProcessor(Errors errors)
-
-
Method Detail
-
visit
public java.lang.Boolean visit(Message message)
Description copied from interface:ElementVisitorVisit an error message and the context in which it occured.- Specified by:
visitin interfaceElementVisitor<java.lang.Boolean>- Overrides:
visitin classDefaultElementVisitor<java.lang.Boolean>
-
getRootMessage
public static java.lang.String getRootMessage(java.lang.Throwable t)
-
-