|
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 Parameter
Nested Class Summary | |
---|---|
static class |
Parameter.ParameterType
The types of parameters. |
Method Summary | |
---|---|
String |
formatterClass()
The formatter class, or null if there is none. |
boolean |
isArray()
Returns true if the type is an array, otherwise false . |
boolean |
isPrimitive()
Returns true if the type is a primitive type, otherwise false . |
boolean |
isVarArgs()
Returns true if the parameter is a var args parameter, otherwise false . |
String |
name()
The variable name of the parameter. |
Class<?> |
paramClass()
Returns the class if the parameter is annotated with Annotations.param() . |
Parameter.ParameterType |
parameterType()
Returns the parameter type of the parameter. |
String |
targetName()
Returns the name of the target field or method. |
String |
type()
The full type name of the parameter. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.jboss.logging.processor.intf.model.MessageObjectType |
---|
isAssignableFrom, isSameAs, isSubtypeOf |
Methods inherited from interface org.jboss.logging.processor.intf.model.MessageObject |
---|
reference |
Method Detail |
---|
String type()
java.lang.String
if the parameter is a string. If the
parameter is a primitive, the primitive name is returned.
type
in interface MessageObjectType
String name()
name
in interface MessageObject
boolean isArray()
true
if the type is an array, otherwise false
.
true
if an array, otherwise false
boolean isPrimitive()
true
if the type is a primitive type, otherwise false
.
true
if primitive type, otherwise false
boolean isVarArgs()
true
if the parameter is a var args parameter, otherwise false
.
true
if var args parameter, otherwise false
.Parameter.ParameterType parameterType()
parameter type
of the parameter.
String formatterClass()
null
if there is none.
Class<?> paramClass()
Annotations.param()
.
If the annotation is not present, null
is returned.
null
.String targetName()
parameterType()
returns
Parameter.ParameterType.FIELD
, the target name is the name of the field to set on the
return type
. If no target name is defined an empty String is returned.
|
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 |