|
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.generator.ReturnType
public class ReturnType
Describes information about the return type.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getReturnTypeAsString()
Returns a string version of the return type. |
boolean |
hasDefaultConstructor()
If the return type is a default constructor true is returned. |
int |
hashCode()
|
boolean |
hasStringAndThrowableConstructor()
If the return type is a constructor and has a String
and Throwable constructor, true is returned. |
boolean |
hasStringConstructor()
If the return type is a constructor and has a String
constructor, true is returned. |
boolean |
hasThrowableAndStringConstructor()
If the return type is a constructor and has a Throwable
and String constructor, true is returned. |
boolean |
hasThrowableConstructor()
If the return type is a constructor and has a Throwable
constructor, true is returned. |
boolean |
isException()
Checks to see if the return type is an exception, extends Throwable. |
boolean |
isPrimitive()
Indicates whether or not the return type is a primitive. |
static ReturnType |
of(TypeMirror returnType,
Types typeUtil)
Creates a new descriptor that is not primitive. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static ReturnType of(TypeMirror returnType,
Types typeUtil)
returnType - the class name of the return type.typeUtil - the type utilities.
public boolean isPrimitive()
true if a primitive, otherwise false.public String getReturnTypeAsString()
public boolean hasDefaultConstructor()
true is returned.
Otherwise false is returned.
true if the throwable has a default constructor, otherwise false.public boolean hasStringAndThrowableConstructor()
String
and Throwable constructor, true is returned.
Otherwise false is returned.
true if the throwable has both a string and throwable
constructor, otherwise false.public boolean hasStringConstructor()
String
constructor, true is returned. Otherwise false is
returned.
true if the throwable has a string constructor, otherwise
false.public boolean hasThrowableAndStringConstructor()
Throwable
and String constructor, true is returned.
Otherwise false is returned.
true if the throwable has both a throwable and string
constructor, otherwise false.public boolean hasThrowableConstructor()
Throwable
constructor, true is returned. Otherwise false is
returned.
true if the throwable has a throwable constructor,
otherwise false.public boolean isException()
true if the return type is an exception, otherwise
false.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||