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.addError
commands.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
logger
-
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.String
getRootMessage(java.lang.Throwable t)
java.lang.Boolean
visit(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:ElementVisitor
Visit an error message and the context in which it occured.- Specified by:
visit
in interfaceElementVisitor<java.lang.Boolean>
- Overrides:
visit
in classDefaultElementVisitor<java.lang.Boolean>
-
getRootMessage
public static java.lang.String getRootMessage(java.lang.Throwable t)
-
-