Class CollectionsHandler
java.lang.Object
net.binis.codegen.generation.core.CollectionsHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.github.javaparser.ast.body.MethodDeclarationaddModifier(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec, PrototypeField declaration, String modifierName, String className, boolean isClass, boolean isCodeEnum) getCollectionType(com.github.javaparser.ast.CompilationUnit source, com.github.javaparser.ast.CompilationUnit destination, com.github.javaparser.ast.type.ClassOrInterfaceType type, boolean checkPrototype) static StringgetCollectionType(com.github.javaparser.ast.type.Type type) static booleanisCollection(com.github.javaparser.ast.type.Type type) static booleanisCollection(Class<?> type) static booleanisCollection(String type) static booleanisListOrSet(String type) static boolean
-
Constructor Details
-
CollectionsHandler
public CollectionsHandler()
-
-
Method Details
-
isCollection
public static boolean isCollection(com.github.javaparser.ast.type.Type type) -
isCollection
-
isListOrSet
-
isMap
-
isCollection
-
addModifier
public static com.github.javaparser.ast.body.MethodDeclaration addModifier(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec, PrototypeField declaration, String modifierName, String className, boolean isClass, boolean isCodeEnum) -
getCollectionType
public static CollectionsHandler.CollectionType getCollectionType(com.github.javaparser.ast.CompilationUnit source, com.github.javaparser.ast.CompilationUnit destination, com.github.javaparser.ast.type.ClassOrInterfaceType type, boolean checkPrototype) -
getCollectionType
-