esoe
2 years ago
5 changed files with 34 additions and 24 deletions
@ -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 + "]"; |
||||
} |
||||
|
||||
} |
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue