Class TypeAssembler

java.lang.Object
com.thoughtworks.qdox.builder.TypeAssembler

public final class TypeAssembler extends Object
An assembler to transform a TypeDef to a DefaultJavaType
Since:
2.0
  • Constructor Details

    • TypeAssembler

      private TypeAssembler()
  • Method Details

    • createUnresolved

      public static DefaultJavaType createUnresolved(TypeDef typeDef, int dimensions, TypeResolver typeResolver)
      this one is specific for those cases where dimensions can be part of both the type and identifier i.e. private String[] matrix[]; //field public abstract String[] getMatrix[](); //method
      Parameters:
      typeDef - the type definition
      dimensions - the array-depth
      typeResolver - the typeResolver
      Returns:
      the Type
    • createUnresolved

      public static DefaultJavaType createUnresolved(TypeDef typeDef, TypeResolver typeResolver)
      Parameters:
      typeDef - the type definition
      typeResolver - the typeResolver
      Returns:
      the Type