|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.processor.model.ReturnType.VoidReturnType
public static final class ReturnType.VoidReturnType
Default type if the return type is void.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.logging.processor.model.ReturnType |
|---|
ReturnType.VoidReturnType |
| Field Summary |
|---|
| Fields inherited from interface org.jboss.logging.processor.model.ReturnType |
|---|
VOID |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
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. |
int |
hashCode()
|
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 |
isAssignableFrom(Class<?> type)
Determines if this type is either the same as, or is a supertype of, the class represented by the type
parameter. |
boolean |
isPrimitive()
Indicates whether or not the return type is a primitive. |
boolean |
isSameAs(Class<?> type)
Determines if this type is the same type as the class represented by the type parameter. |
boolean |
isSubtypeOf(Class<?> type)
Determines if this type is a subtype of the class represented by the type parameter. |
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. |
Class<Void> |
reference()
The object used to extract information for the message logger or message bundle, if applicable. |
ThrowableType |
throwableReturnType()
Returns the exception return type if ReturnType.isThrowable() returns true. |
String |
toString()
|
String |
type()
Returns the qualified type name of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean hasFieldFor(Parameter parameter)
ReturnTypeparameter.
hasFieldFor in interface ReturnTypeparameter - the parameter to check.
true if the field exists, is accessible, mutable and is assignable from the type otherwise
false.public boolean hasMethodFor(Parameter parameter)
ReturnTypeparameter.
hasMethodFor in interface ReturnTypeparameter - the parameter to check.
true if the method exists, is accessible and its parameter is assignable from the type, otherwise
false.public boolean isThrowable()
ReturnType
isThrowable in interface ReturnTypetrue if the return type is an exception, otherwise
false.public boolean isPrimitive()
ReturnType
isPrimitive in interface ReturnTypetrue if a primitive, otherwise false.public String name()
ReturnType
name in interface MessageObjectname in interface ReturnTypepublic ThrowableType throwableReturnType()
ReturnTypeReturnType.isThrowable() returns true. Otherwise null is
returned.
throwableReturnType in interface ReturnTypenull.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic Class<Void> reference()
MessageObjectExecutableElement
might be returned.
reference in interface MessageObjectpublic String type()
MessageObjectTypeObject.class.getName()
type in interface MessageObjectTypepublic boolean isAssignableFrom(Class<?> type)
MessageObjectTypetype
parameter. If this type is assignable from the class true is returned, otherwise false.
isAssignableFrom in interface MessageObjectTypetype - the class type to check.
true if this type is the same as or a superclass of the class, otherwise false.public boolean isSubtypeOf(Class<?> type)
MessageObjectTypetype parameter. If this type is a
subtype of the class true is returned, otherwise false.
isSubtypeOf in interface MessageObjectTypetype - the class type to check.
true if this type is a subtype of the class, otherwise false.public boolean isSameAs(Class<?> type)
MessageObjectTypetype parameter. If this type is
the same type as the class true is returned, otherwise false.
isSameAs in interface MessageObjectTypetype - the class type to check.
true if this type is the same type as the class, otherwise false.
|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||