esoe 2 years ago
parent
commit
9c23e81926
  1. 16
      files/pom.xml
  2. 3
      files/src/main/java/ru/molokoin/AnnotationReseacher.java
  3. 39
      files/src/main/java/ru/molokoin/Storage.java
  4. BIN
      files/target/classes/ru/molokoin/AnnotationReseacher.class
  5. BIN
      files/target/classes/ru/molokoin/Storage.class

16
files/pom.xml

@ -24,20 +24,4 @@ @@ -24,20 +24,4 @@
<version>1.18.12</version>
<scope>provided</scope>
</dependency>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<annotationProcessorPaths>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
</annotationProcessorPaths>
</configuration>
</plugin>
</project>

3
files/src/main/java/ru/molokoin/AnnotationReseacher.java

@ -20,8 +20,7 @@ public class AnnotationReseacher { @@ -20,8 +20,7 @@ public class AnnotationReseacher {
System.out.println(file.size());
}
public static void main(String[] args) {
Storage storage = new Storage();
print(storage);
}
}

39
files/src/main/java/ru/molokoin/Storage.java

@ -1,21 +1,48 @@ @@ -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 + "]";
}
}

BIN
files/target/classes/ru/molokoin/AnnotationReseacher.class

Binary file not shown.

BIN
files/target/classes/ru/molokoin/Storage.class

Binary file not shown.
Loading…
Cancel
Save