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) getCollectionType(com.github.javaparser.ast.CompilationUnit source, com.github.javaparser.ast.CompilationUnit destination, com.github.javaparser.ast.type.ClassOrInterfaceType type) 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)
-
Constructor Details
-
CollectionsHandler
public CollectionsHandler()
-
-
Method Details
-
isCollection
public static boolean isCollection(com.github.javaparser.ast.type.Type type) -
isCollection
-
isListOrSet
-
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) -
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) -
getCollectionType
-