Class CollectionsHandler

java.lang.Object
net.binis.codegen.generation.core.CollectionsHandler

public class CollectionsHandler extends Object
  • Constructor Details

    • CollectionsHandler

      public CollectionsHandler()
  • Method Details

    • isCollection

      public static boolean isCollection(com.github.javaparser.ast.type.Type type)
    • isCollection

      public static boolean isCollection(Class<?> type)
    • isListOrSet

      public static boolean isListOrSet(String type)
    • isCollection

      public static boolean isCollection(String type)
    • addModifier

      public static void 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

      public static String getCollectionType(com.github.javaparser.ast.type.Type type)