From 26be0a0be89c747b127aba682c5043841b99b38a Mon Sep 17 00:00:00 2001 From: esoe Date: Thu, 20 Oct 2022 13:01:48 +0300 Subject: [PATCH] qq --- files/pom.xml | 5 ----- .../main/java/ru/molokoin/AnnotationReader.java | 5 +++++ files/src/main/java/ru/molokoin/File.java | 8 +++++++- files/src/main/java/ru/molokoin/Storage.java | 3 +-- .../classes/ru/molokoin/AnnotationReader.class | Bin 0 -> 297 bytes files/target/classes/ru/molokoin/Extension.class | Bin 0 -> 1130 bytes files/target/classes/ru/molokoin/File.class | Bin 0 -> 614 bytes files/target/classes/ru/molokoin/Storage.class | Bin 0 -> 811 bytes files/target/dependencies.txt | 2 -- 9 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 files/src/main/java/ru/molokoin/AnnotationReader.java create mode 100644 files/target/classes/ru/molokoin/AnnotationReader.class create mode 100644 files/target/classes/ru/molokoin/Extension.class create mode 100644 files/target/classes/ru/molokoin/File.class create mode 100644 files/target/classes/ru/molokoin/Storage.class delete mode 100644 files/target/dependencies.txt diff --git a/files/pom.xml b/files/pom.xml index 7bb00e7..2e54a69 100644 --- a/files/pom.xml +++ b/files/pom.xml @@ -17,10 +17,5 @@ files 1.0 jar - - 11 - 11 - UTF-8 - \ No newline at end of file diff --git a/files/src/main/java/ru/molokoin/AnnotationReader.java b/files/src/main/java/ru/molokoin/AnnotationReader.java new file mode 100644 index 0000000..37c5efe --- /dev/null +++ b/files/src/main/java/ru/molokoin/AnnotationReader.java @@ -0,0 +1,5 @@ +package ru.molokoin; + +public class AnnotationReader { + +} diff --git a/files/src/main/java/ru/molokoin/File.java b/files/src/main/java/ru/molokoin/File.java index 8ab6a9d..79a9b7c 100644 --- a/files/src/main/java/ru/molokoin/File.java +++ b/files/src/main/java/ru/molokoin/File.java @@ -1,10 +1,16 @@ package ru.molokoin; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + @Inherited @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface File { String name() default "noname"; - byte size() default "0"; + byte size() default 0; Extension extension () default Extension.OTHER; } diff --git a/files/src/main/java/ru/molokoin/Storage.java b/files/src/main/java/ru/molokoin/Storage.java index b1e9759..c9741a3 100644 --- a/files/src/main/java/ru/molokoin/Storage.java +++ b/files/src/main/java/ru/molokoin/Storage.java @@ -1,6 +1,6 @@ package ru.molokoin; //import annotations -//@File (name=noname, size=0, extension=Extension.OTHER) +@File (name="noname", size=0, extension=Extension.OTHER) public class Storage { //Extension extension; public Storage(){ @@ -10,7 +10,6 @@ public class Storage { } - //читаем днные аннотации public static void main(String[] args) { System.out.println("Storage.main()"); //Storage storage = new Storage(); diff --git a/files/target/classes/ru/molokoin/AnnotationReader.class b/files/target/classes/ru/molokoin/AnnotationReader.class new file mode 100644 index 0000000000000000000000000000000000000000..2bf39dc3ef0dfa6b32ff9084d791e9af830bb63b GIT binary patch literal 297 zcmaKnK}*9x5QX2QNuy~rMetS%-f9o-(Ssrs!Bc2KrT0y`)UC-btQ-HAC&7b1pg*cO z8$5aN^4`1|X82}*`1%HLjd6;IFmat|ZDU`pHez9n_0nr=9+liEmm(&Nck*3|Mw+cy zRXbIC!thob?e7SK+2xuL-`kDKFu-w+1VchmYNM82TPgP}t40ydN?XfjEu9Yew;B5v z{YIFU|1sPUvM1ZQT0Q7+>HII`Rp7$~n1=rXI|T~Xl#}Q)kjy`E^udh?8EY7W7e=gk OUnlG*oCv3^5sDuGQ9`5u literal 0 HcmV?d00001 diff --git a/files/target/classes/ru/molokoin/Extension.class b/files/target/classes/ru/molokoin/Extension.class new file mode 100644 index 0000000000000000000000000000000000000000..0c76b87677aaff3c1472aa2f9d8346e45cc69ce9 GIT binary patch literal 1130 zcmZ`%T~pIg5IvW)O&Y?7RlW+M2ufR!it?eh!_a}K9a}nMXlF7$g&J!xO`J4kb@$oTA!a@>2ZkO!NG>^;ezvuE$_uixJ;0Bqx_j3I`Jpqp>|uK(V5yuAJ~w7rhw zdop4SqsP{Xm3J+#mDjy)n?c#H?bWOL!6Cy`<-fcFL%duqJ=ZCg>igvy#YTBw=dpJ9 zLVv|DtRK{?ON~;ct{V)~uLlY##ir|cPPoG$WwH&1*q;B!RuEUgkkW7+Hy9Gde#&H~ za%I;D1IKF>%GpMeawj#!kx(FWFrz`{K;d9cgTg_QgIgMs9H<=J(V!y1PfHqxp)rhA z9M3-JwvX)K&^mH$@=)=cmfNrbhhy{95;INuZ60oCxkLDPQb@M{{q+^RL6NDUcI%d^66KtHn) zJx(qTaJ5s|U8iA4w7H4h89q;dB8^f+nxcp_KoMznz<8QZju+}2+;c4;9=vwzsv c$WawuOHHxdIUfB48_XNRmeAbBV-cVH0l$moB>(^b literal 0 HcmV?d00001 diff --git a/files/target/classes/ru/molokoin/File.class b/files/target/classes/ru/molokoin/File.class new file mode 100644 index 0000000000000000000000000000000000000000..205ea04fa23ac021085fb033077f0ea57a0783db GIT binary patch literal 614 zcmZ{hxlY4C5QhIvYz*PP35P%w5j41@paNk;B#y{2NQi0)L)frhBYTa2N2A~YcqqhJ zkfR8NHQs-|{pZ-P?~hLa``GYM5|~MIKTdS=lqln$C`}$5Ry*=V`dXT{e|guTmh~_q zu-R9oF^QE{CB{GO{R%in#w4(?vwPNOn>JOZeIPK~M~~@2=GqF3nB@14lc{&UTHe_` zDsz7j7^7E9CgU0cRdyWgH0Y+-cKP3odl{Vup+KdX~kZXPLBmhQRo#&9H(X`3wP-505IF1bCN3pB-KZ1na_3_HqEO*0512sq8zXBseNm;=?e8wEeo@>h<1(&> zxI#PU`&LIP*ugb{@SSIwQdcuxCyTOWI-xO*HL3;513OE{>bds5R?hbObpl&QGvjok zhC0*q`H3;sNk`AfR$p<+kJID8$b>XSV;4n`=}#)p-vR=K!{ZkRN4U;%{=&#d6d6MT z9xw~$!rnKOKC{T7%vfdyK>a+_z~$q=LS6nm&C H?z;OM2LP$T literal 0 HcmV?d00001 diff --git a/files/target/dependencies.txt b/files/target/dependencies.txt deleted file mode 100644 index 1c65e84..0000000 --- a/files/target/dependencies.txt +++ /dev/null @@ -1,2 +0,0 @@ -digraph "ru.molokoin:files:jar:1.0" { - } \ No newline at end of file