Modifier and Type | Method and Description |
---|---|
JMethodDef |
JMethodDef._default(JExpr expr)
A default value for an annotation method.
|
JMethodDef |
JClassDefSection.constructor(int mods)
Add a constructor to this type.
|
JMethodDef |
JClassDefSection.method(int mods,
Class<?> returnType,
String name)
Add a method to this type.
|
JMethodDef |
JClassDefSection.method(int mods,
JType returnType,
String name)
Add a method to this type.
|
JMethodDef |
JClassDefSection.method(int mods,
String returnType,
String name)
Add a method to this type.
|
Modifier and Type | Method and Description |
---|---|
JComment |
JComment.linkMethod(boolean plain,
JMethodDef methodDef)
Add an inline
@link to a method. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.