public class Argument extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Argument.Direction |
static class |
Argument.MismatchException |
static class |
Argument.ParsingException |
| Constructor and Description |
|---|
Argument(String name,
Type c) |
Argument(String name,
com.squareup.javapoet.TypeName c) |
Argument(VariableElement v) |
| Modifier and Type | Method and Description |
|---|---|
static void |
compareWithoutOrder(Collection<Argument> a,
Collection<Argument> b) |
static List<Argument> |
fromTypeListString(String string)
Liest einen String wie zB "String variable1, Integer variable 2" usw ein
|
static List<Argument> |
fromVariableElements(List<? extends VariableElement> l) |
String |
toString() |
static String |
toTypeListString(Collection<Argument> type) |
public Argument(VariableElement v)
public Argument(String name, com.squareup.javapoet.TypeName c)
public static List<Argument> fromVariableElements(List<? extends VariableElement> l)
public static void compareWithoutOrder(Collection<Argument> a, Collection<Argument> b) throws Argument.MismatchException
Argument.MismatchExceptionpublic static String toTypeListString(Collection<Argument> type)
public static List<Argument> fromTypeListString(String string) throws Argument.ParsingException
string - the arguments as string like "String var1, Integer var2..."Argument.ParsingException - if there is an errorCopyright © 2019. All rights reserved.