public class GenerateGetterSetter extends Object
This tool is mostly helpful for non-IDE users who need to explicitly code getters and setters for their operators. Note, that the tool assumes that names of variables are identical to the name of the member/field.
Constructor and Description |
---|
GenerateGetterSetter() |
Modifier and Type | Method and Description |
---|---|
private static String |
generateAccessFunction(ALDOpParameterDescriptor descriptor,
String argType)
Generate access function code.
|
private static String |
generateAccessFunctionNoAnnotation(ALDOpParameterDescriptor descriptor,
String argType)
Deprecated.
|
static void |
main(String[] args)
Main function.
|
public static void main(String[] args)
args
- Name of class to document.private static String generateAccessFunction(ALDOpParameterDescriptor descriptor, String argType)
descriptor
- Argument descriptor.argType
- Type of the argument.@Deprecated private static String generateAccessFunctionNoAnnotation(ALDOpParameterDescriptor descriptor, String argType)
descriptor
- argType
- Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.