GeneratedMethods
| Modifier and Type | Field and Description |
|---|---|
| private final ClassName | |
| private final MethodSpec | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | GeneratedMethod(ClassName
the declaring class of the method className, String the generated method name name, Consumer<MethodSpec.consumer to generate the method methodCreate a new |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv MethodSpec | |
| public String | |
| public MethodReference | |
| public String |
| className | back to summary |
|---|---|
| private final ClassName className | |
| methodSpec | back to summary |
|---|---|
| private final MethodSpec methodSpec | |
| name | back to summary |
|---|---|
| private final String name | |
| GeneratedMethod | back to summary |
|---|---|
| pack-priv GeneratedMethod(ClassName className, String name, Consumer<MethodSpec. Create a new
| |
| getMethodSpec | back to summary |
|---|---|
| pack-priv MethodSpec getMethodSpec() Return the
| |
| getName | back to summary |
|---|---|
| public String getName() Return the generated name of the method.
| |
| toMethodReference | back to summary |
|---|---|
| public MethodReference toMethodReference() Return a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |