use of io.micronaut.starter.application.Project in project micronaut-starter by micronaut-projects.
the class NameUtils method parse.
public static Project parse(String name) throws IllegalArgumentException {
ProjectIdentifier projectIdentifier = parseProjectIdentifier(name);
String packageName = projectIdentifier.getPackageName();
String appName = projectIdentifier.getName();
String packagePath = packageName.replace('.', '/');
String className = getNameFromScript(appName);
String naturalName = getNaturalName(appName);
String propertyName = getPropertyName(className);
return new Project(packageName, packagePath, className, naturalName, propertyName, appName);
}
Aggregations