mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-01-15 09:05:05 +01:00
removed convert button
This commit is contained in:
parent
0901c23207
commit
3b484441ec
3 changed files with 3 additions and 26 deletions
|
|
@ -6,20 +6,13 @@ public class UMLMethod {
|
|||
private final String name;
|
||||
private final String encapsulation;
|
||||
|
||||
private ArrayList<String> argsNames = new ArrayList<>();
|
||||
private ArrayList<String> argsTypes = new ArrayList<>();
|
||||
private final ArrayList<String> argsNames = new ArrayList<>();
|
||||
private final ArrayList<String> argsTypes = new ArrayList<>();
|
||||
|
||||
public UMLMethod(String line, String className) {
|
||||
|
||||
//First, format it nicely
|
||||
|
||||
/**
|
||||
* Formatted line:
|
||||
* EncapsulationIndicator;
|
||||
* retunType("" for void);
|
||||
* name;
|
||||
* args in the UML format
|
||||
*/
|
||||
String formatted = line.replaceAll(Regex.METHOD_FIND_REGEX, "$1;$4;$2;$3");
|
||||
String[] parts = formatted.split(";");
|
||||
this.encapsulation = switch (parts[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue