diff --git a/files/pom.xml b/files/pom.xml
index a4bcde5..4de3078 100644
--- a/files/pom.xml
+++ b/files/pom.xml
@@ -24,20 +24,4 @@
1.18.12
provided
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.5.1
-
-
- org.projectlombok
- lombok
- 1.18.12
-
-
-
-
-
-
\ No newline at end of file
diff --git a/files/src/main/java/ru/molokoin/AnnotationReseacher.java b/files/src/main/java/ru/molokoin/AnnotationReseacher.java
index c75329b..8cbb2c3 100644
--- a/files/src/main/java/ru/molokoin/AnnotationReseacher.java
+++ b/files/src/main/java/ru/molokoin/AnnotationReseacher.java
@@ -20,8 +20,7 @@ public class AnnotationReseacher {
System.out.println(file.size());
}
public static void main(String[] args) {
- Storage storage = new Storage();
- print(storage);
+
}
}
diff --git a/files/src/main/java/ru/molokoin/Storage.java b/files/src/main/java/ru/molokoin/Storage.java
index 19d0a16..292c25b 100644
--- a/files/src/main/java/ru/molokoin/Storage.java
+++ b/files/src/main/java/ru/molokoin/Storage.java
@@ -1,21 +1,48 @@
package ru.molokoin;
-//import annotations
+
@File (name="noname", size=0, extension=Extension.OTHER)
public class Storage {
+ public static void main(String[] args) {
+ System.out.println("Storage.main()");
+ Storage storage = new Storage();
+ AnnotationReseacher.print(storage);
+
+
+ }
private File file;
+ /**
+ * @param file
+ */
+ public Storage(File file) {
+ this.file = file;
+ }
//Extension extension;
public Storage(){
}
+
public Storage(Extension extension){
}
+ /**
+ * @return the file
+ */
+ public File getFile() {
+ return file;
+ }
- public static void main(String[] args) {
- System.out.println("Storage.main()");
- //Storage storage = new Storage();
-
-
+ /**
+ * @param file the file to set
+ */
+ public void setFile(File file) {
+ this.file = file;
+ }
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Storage [file=" + file + "]";
}
}
diff --git a/files/target/classes/ru/molokoin/AnnotationReseacher.class b/files/target/classes/ru/molokoin/AnnotationReseacher.class
index a232445..8b46457 100644
Binary files a/files/target/classes/ru/molokoin/AnnotationReseacher.class and b/files/target/classes/ru/molokoin/AnnotationReseacher.class differ
diff --git a/files/target/classes/ru/molokoin/Storage.class b/files/target/classes/ru/molokoin/Storage.class
index b6efbc6..2a1e6ec 100644
Binary files a/files/target/classes/ru/molokoin/Storage.class and b/files/target/classes/ru/molokoin/Storage.class differ