Modifier and Type | Method and Description |
---|---|
JParamDeclaration |
JMethodDef.param(Class<?> type,
String name)
Add a parameter to this method.
|
JParamDeclaration |
JMethodDef.param(int mods,
Class<?> type,
String name)
Add a parameter to this method.
|
JParamDeclaration |
JMethodDef.param(int mods,
JType type,
String name)
Add a parameter to this method.
|
JParamDeclaration |
JMethodDef.param(int mods,
String type,
String name)
Add a parameter to this method.
|
JParamDeclaration |
JMethodDef.param(JType type,
String name)
Add a parameter to this method.
|
JParamDeclaration |
JMethodDef.param(String type,
String name)
Add a parameter to this method.
|
JParamDeclaration[] |
JMethodDef.params()
Get the list of parameters defined thus far.
|
JParamDeclaration |
JMethodDef.varargParam(Class<?> type,
String name)
Add a vararg parameter to this method.
|
JParamDeclaration |
JMethodDef.varargParam(int mods,
Class<?> type,
String name)
Add a vararg parameter to this method.
|
JParamDeclaration |
JMethodDef.varargParam(int mods,
JType type,
String name)
Add a vararg parameter to this method.
|
JParamDeclaration |
JMethodDef.varargParam(int mods,
String type,
String name)
Add a vararg parameter to this method.
|
JParamDeclaration |
JMethodDef.varargParam(JType type,
String name)
Add a vararg parameter to this method.
|
JParamDeclaration |
JMethodDef.varargParam(String type,
String name)
Add a vararg parameter to this method.
|
Modifier and Type | Method and Description |
---|---|
static JAssignableExpr |
JExprs.$v(JParamDeclaration paramDeclaration)
Return a name expression from an annotation processor parameter declaration.
|
static JAssignableExpr |
JExprs.name(JParamDeclaration paramDeclaration)
Return a name expression from an annotation processor parameter declaration.
|
Copyright © 2016. All rights reserved.