Поправил .gitignoreg

This commit is contained in:
Struchkov Mark 2023-02-21 10:35:41 +03:00
parent 3e7c100982
commit 11e67b1c18
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
2 changed files with 5 additions and 20 deletions

21
.gitignore vendored
View File

@ -20,34 +20,16 @@ dependency-reduced-pom.xml
buildNumber.properties buildNumber.properties
.mvn/timing.properties .mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar .mvn/wrapper/maven-wrapper.jar
.idea/**/workspace.xml .idea/
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/contentModel.xml
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
.idea/**/gradle.xml
.idea/**/libraries
cmake-build-*/ cmake-build-*/
.idea/**/mongoSettings.xml
*.iws *.iws
out/ out/
.idea_modules/ .idea_modules/
atlassian-ide-plugin.xml atlassian-ide-plugin.xml
.idea/replstate.xml
com_crashlytics_export_strings.xml com_crashlytics_export_strings.xml
crashlytics.properties crashlytics.properties
crashlytics-build.properties crashlytics-build.properties
fabric.properties fabric.properties
.idea/httpRequests
.idea/caches/build_file_checksums.ser
*~ *~
.fuse_hidden* .fuse_hidden*
.directory .directory
@ -83,3 +65,4 @@ Icon
Network Trash Folder Network Trash Folder
Temporary Items Temporary Items
.apdisk .apdisk
/haiti-field-constants-utils.iml

View File

@ -11,6 +11,8 @@ import javax.lang.model.element.Element;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import static dev.struchkov.haiti.utils.fieldconstants.util.Generator.getPackage;
public class GeneratorSimpleMode { public class GeneratorSimpleMode {
public static void generate(ProcessingEnvironment processingEnv, Element annotatedElement) { public static void generate(ProcessingEnvironment processingEnv, Element annotatedElement) {
@ -27,7 +29,7 @@ public class GeneratorSimpleMode {
newClass.setNewClassName(oldClassName + Mode.SIMPLE.getDefaultPostfix()); newClass.setNewClassName(oldClassName + Mode.SIMPLE.getDefaultPostfix());
newClass.setOldClassName(oldClassName); newClass.setOldClassName(oldClassName);
newClass.setSimpleFields(simpleFields); newClass.setSimpleFields(simpleFields);
newClass.setClassPackage(Generator.getPackage(annotatedElement)); newClass.setClassPackage(getPackage(annotatedElement));
CreatorClassSimpleMode.record(newClass, processingEnv); CreatorClassSimpleMode.record(newClass, processingEnv);
} }