Package apigen.gen.java

Examples of apigen.gen.java.JavaGenerationParameters


    this.adt = adt;
    this.impl = impl;
    this.prefix = params.getPrefix();
    this.packagePrefix = "";
    if (params instanceof JavaGenerationParameters) {
      JavaGenerationParameters javaParams = (JavaGenerationParameters) params;
      if (javaParams.getPackageName() != null) {
        this.packagePrefix += javaParams.getPackageName() + ".";
      }
      this.packagePrefix += javaParams.getApiExtName(module)
          .toLowerCase()
          + ".";
      this.packagePrefix += TypeGenerator.packageName() + ".";
      setDirectory(buildDirectoryName(javaParams.getOutputDirectory(),
          javaParams.getPackageName()));
    } else {
      setDirectory(params.getOutputDirectory());
    }
  }
View Full Code Here

TOP

Related Classes of apigen.gen.java.JavaGenerationParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.