Method Summary
All Methods Instance Methods Abstract Methods Default Methods
The formatter class, or null
if there is none.
boolean
Returns true
if the type is an array, otherwise false
.
default boolean
Indicates whether or not the parameter is used a format parameter for the message.
default boolean
Indicates whether or not this parameter represents the message method.
boolean
Returns true
if the type is a primitive type, otherwise false
.
boolean
Returns true
if the parameter is a var args parameter, otherwise false
.
The variable name of the parameter.
Returns the name of the target field or method.
Methods inherited from interface org.jboss.logging.processor.model.DelegatingElement
accept , asType , getAnnotation , getAnnotationMirrors , getAnnotationsByType , getDelegate , getEnclosedElements , getEnclosingElement , getKind , getModifiers , getSimpleName , isAnnotatedWith
Method Details
name
The variable name of the parameter.
Returns:
the variable name of the parameter.
isArray
boolean isArray ()
Returns true
if the type is an array, otherwise false
.
Returns:
true
if an array, otherwise false
isPrimitive
boolean isPrimitive ()
Returns true
if the type is a primitive type, otherwise false
.
Returns:
true
if primitive type, otherwise false
isVarArgs
boolean isVarArgs ()
Returns true
if the parameter is a var args parameter, otherwise false
.
Returns:
true
if var args parameter, otherwise false
.
isMessageMethod
default boolean isMessageMethod ()
Indicates whether or not this parameter represents the message method.
Returns:
true
if this is the message method parameter
targetName
Returns the name of the target field or method. For example if the parameter is annotated with
@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.
Returns:
the target field name, method name or an empty string.