public interface Parameter extends Comparable<Parameter>, ClassType, DelegatingElement
Modifier and Type | Method and Description |
---|---|
String |
formatterClass()
The formatter class, or
null if there is none. |
boolean |
isArray()
Returns
true if the type is an array, otherwise false . |
default boolean |
isFormatParameter()
Indicates whether or not the parameter is used a format parameter for the message.
|
default boolean |
isMessageMethod()
Indicates whether or not this parameter represents the message method.
|
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.
|
String |
targetName()
Returns the name of the target field or method.
|
compareTo
isAssignableFrom, isSameAs, isSubtypeOf
accept, asType, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getDelegate, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, isAnnotatedWith
String name()
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
.default boolean isFormatParameter()
true
if this parameter that should used as a format parameter for the messagedefault boolean isMessageMethod()
true
if this is the message method parameterString formatterClass()
null
if there is none.String targetName()
@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.Copyright © 2019 JBoss by Red Hat. All rights reserved.