|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.validation.validator.LoggerReturnTypeValidator
public class LoggerReturnTypeValidator
Validates the return type for logger methods.
Must have a return type of void.
| Constructor Summary | |
|---|---|
LoggerReturnTypeValidator(Types typeUtil)
|
|
| Method Summary | |
|---|---|
Collection<ValidationMessage> |
checkExceptionConstructor(ExecutableElement method)
Validates the exception constructor. |
Collection<ValidationMessage> |
checkMessageBundleMethod(TypeElement root,
ExecutableElement method)
Validates a message bundle method. |
Collection<ValidationMessage> |
validate(TypeElement element,
Collection<ExecutableElement> elementMethods)
Validates the collection of methods that were passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggerReturnTypeValidator(Types typeUtil)
| Method Detail |
|---|
public Collection<ValidationMessage> validate(TypeElement element,
Collection<ExecutableElement> elementMethods)
element - the root element, generally the interface.elementMethods - the methods of the interface.
public final Collection<ValidationMessage> checkMessageBundleMethod(TypeElement root,
ExecutableElement method)
root - the interface.method - the method to validate.
public final Collection<ValidationMessage> checkExceptionConstructor(ExecutableElement method)
method - the method to validate.
|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||