|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReturnType
Date: 29.07.2011
Nested Class Summary | |
---|---|
static class |
ReturnType.VoidReturnType
Default type if the return type is void. |
Field Summary | |
---|---|
static ReturnType |
VOID
|
Method Summary | |
---|---|
boolean |
hasFieldFor(Parameter parameter)
Checks to see if the return type has a field with the name with the same name and type as the parameter . |
boolean |
hasMethodFor(Parameter parameter)
Checks to see if the return type has a method with the name with the same name and parameter type as the parameter . |
boolean |
isPrimitive()
Indicates whether or not the return type is a primitive. |
boolean |
isThrowable()
Checks to see if the return type is an exception, extends Throwable. |
String |
name()
Returns the qualified class name of the return type. |
ThrowableType |
throwableReturnType()
Returns the exception return type if isThrowable() returns true . |
Methods inherited from interface org.jboss.logging.processor.intf.model.MessageObjectType |
---|
isAssignableFrom, isSameAs, isSubtypeOf, type |
Methods inherited from interface org.jboss.logging.processor.intf.model.MessageObject |
---|
reference |
Field Detail |
---|
static final ReturnType VOID
Method Detail |
---|
boolean hasFieldFor(Parameter parameter)
parameter
.
parameter
- the parameter to check.
true
if the field exists, is accessible, mutable and is assignable from the type otherwise
false
.boolean hasMethodFor(Parameter parameter)
parameter
.
parameter
- the parameter to check.
true
if the method exists, is accessible and its parameter is assignable from the type, otherwise
false
.boolean isThrowable()
true
if the return type is an exception, otherwise
false
.boolean isPrimitive()
true
if a primitive, otherwise false
.String name()
name
in interface MessageObject
ThrowableType throwableReturnType()
isThrowable()
returns true
. Otherwise null
is
returned.
null
.
|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |