Package org.nuiton.jaxx.compiler.java
Class JavaArgument
- java.lang.Object
-
- org.nuiton.jaxx.compiler.java.JavaElement
-
- org.nuiton.jaxx.compiler.java.JavaArgument
-
public class JavaArgument extends JavaElement
Represents an argument to aJavaMethod.- See Also:
JavaMethod
-
-
Field Summary
-
Fields inherited from class org.nuiton.jaxx.compiler.java.JavaElement
JavaElementComparator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the argument's type as it would be represented in Java source code.booleanisFinal()Returnstrueif thefinalkeyword should appear before the argument.voidsetType(String type)-
Methods inherited from class org.nuiton.jaxx.compiler.java.JavaElement
addAnnotation, getAnnotations, getModifiers, getModifiersText, getName, hasAnnotations, isAbstract, setModifiers, setName
-
-
-
-
Method Detail
-
getType
public String getType()
Returns the argument's type as it would be represented in Java source code.- Returns:
- the argument's type
-
isFinal
public boolean isFinal()
Returnstrueif thefinalkeyword should appear before the argument.- Returns:
trueif the argument is final
-
setType
public void setType(String type)
-
-