From 9c23e81926e800196f649fc8f14a412485020b02 Mon Sep 17 00:00:00 2001 From: esoe Date: Thu, 20 Oct 2022 16:58:16 +0300 Subject: [PATCH] qq --- files/pom.xml | 16 ------- .../java/ru/molokoin/AnnotationReseacher.java | 3 +- files/src/main/java/ru/molokoin/Storage.java | 39 +++++++++++++++--- .../ru/molokoin/AnnotationReseacher.class | Bin 1433 -> 1363 bytes .../target/classes/ru/molokoin/Storage.class | Bin 826 -> 1567 bytes 5 files changed, 34 insertions(+), 24 deletions(-) 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 a23244503621b2727527a30a8be74cba6ff25575..8b464570fb9e4b775b384d4b0fb32d72732467c3 100644 GIT binary patch delta 79 zcmbQqeVL2v)W2Q(7#JAL89X*}r894y$-IWqOdBY`2*MkI1QP=nkYoc3NHTB(**p+Q P1{VfbkRk>*uqt-|hm8u} delta 150 zcmcc2HItj`)W2Q(7#JAL8GJW#r88@=Gq^G`2p5&==jP|+XXj_;=?9nO7bT{raxu6t zaB?v)GI;PXC^0B+E@WQA7~;vm1cVF>yt^4(BDXWR`DpK8aNh_NU}E3`l6(xzKvJB6 ogF%9Uhe3*g8^{xbXkhSU@B;EU7+4u(7-WIQGBS7r`AiHx0NpPbmH+?% diff --git a/files/target/classes/ru/molokoin/Storage.class b/files/target/classes/ru/molokoin/Storage.class index b6efbc6f2362340efedb537b8e6ca34952953ba6..2a1e6ec2ff3606b2834f91226f371af79ca97b53 100644 GIT binary patch literal 1567 zcmZ{jdr#9)7{;G7wwBcjV~mY~3V4AHgsF(A0~8QMonQc$5aJ(Y97b_#N!uCqQ>oEm zB=H0Ip^WcoJJ!Kmvi4km&+}gT=kKrI0A{f+BgD{a)pAv{V!k(ZBe&(4mR9C6!VIw^ z?Sq!9Xhu1=v3JBv4nz1ruW*KVA$Vt%*7CGh)pUa)nb|EgFK#)OZj|%cBJD4m`#g$E zxGY0$p>KV%9bQ$@g>HrpvqnOF9z!>CZwTNJhHKS)CwdsVe2-H?FOyZ!i#{0%3dEId zy`mzC6oY&$C>65Tmucrt0Yh5F00tSPIo;5m1#*(f78P8@kc?{#L&1<24a0OaM>ma4 zZgZ`4$SoDa7-5LGN(}v(mK^z>-9&U3bc3(gs(akp*7m%7nkB7L)GS@h{l&0mm2HZu zO*$zc+bfjFRM1#M#|<>N;TB26(}8r9qMc9?fkaht4s}u)XtlfY(cy+o;kkyRyfI}+ zwa7Kkk)<+sgbG60fAMQGGEAHtGuY&I@P_|R8)|#p;alBl3{v-u&saQ9rW2! z?IIi7Yb%==p`ln|2#H$KNJf>0 zo^gcfDbY0Lx#nU- z?;$(!08_zjB8i{k8uyrkK6BdD03w3f#3`txt KHc|HI*48)o891r{