From d717e90f4c46e26f9f54ba5638aade6688527bf4 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Wed, 3 Jul 2013 21:18:15 +0300 Subject: [PATCH] refactored packages --- .../java}/structure/ClassDescriptor.java | 2 +- .../java}/structure/ClassGraph.java | 2 +- .../java}/structure/FieldDescriptor.java | 2 +- .../java}/structure/GraphElement.java | 2 +- .../java}/structure/MethodDescriptor.java | 2 +- .../{javainspect => inspector/java}/structure/Utils.java | 2 +- .../java/structure}/example/RenderExampleProject.java | 6 +++--- .../java/structure}/example/RenderJavaInspect.java | 6 +++--- .../example/structure/ObjectReturnedByMethod.java | 5 +++++ .../example/structure/ObjectVisibleAsClassField.java | 5 +++++ .../java/structure}/example/structure/SampleClass.java | 2 +- .../java/structure/example/structure/SampleEnum.java | 7 +++++++ .../structure}/example/structure/SampleInterface.java | 2 +- .../structure}/example/structure/SampleSuperClass.java | 2 +- src/main/java/eu/svjatoslav/inspector/xml/xsd/Main.java | 9 +++++++++ .../example/structure/ObjectReturnedByMethod.java | 5 ----- .../example/structure/ObjectVisibleAsClassField.java | 5 ----- .../javainspect/example/structure/SampleEnum.java | 7 ------- 18 files changed, 41 insertions(+), 32 deletions(-) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/ClassDescriptor.java (99%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/ClassGraph.java (98%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/FieldDescriptor.java (98%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/GraphElement.java (90%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/MethodDescriptor.java (98%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java}/structure/Utils.java (98%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java/structure}/example/RenderExampleProject.java (73%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java/structure}/example/RenderJavaInspect.java (82%) create mode 100644 src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectReturnedByMethod.java create mode 100644 src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectVisibleAsClassField.java rename src/main/java/eu/svjatoslav/{javainspect => inspector/java/structure}/example/structure/SampleClass.java (74%) create mode 100644 src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleEnum.java rename src/main/java/eu/svjatoslav/{javainspect => inspector/java/structure}/example/structure/SampleInterface.java (52%) rename src/main/java/eu/svjatoslav/{javainspect => inspector/java/structure}/example/structure/SampleSuperClass.java (67%) create mode 100644 src/main/java/eu/svjatoslav/inspector/xml/xsd/Main.java delete mode 100644 src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectReturnedByMethod.java delete mode 100644 src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectVisibleAsClassField.java delete mode 100644 src/main/java/eu/svjatoslav/javainspect/example/structure/SampleEnum.java diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/ClassDescriptor.java b/src/main/java/eu/svjatoslav/inspector/java/structure/ClassDescriptor.java similarity index 99% rename from src/main/java/eu/svjatoslav/javainspect/structure/ClassDescriptor.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/ClassDescriptor.java index f1d6a51..c8a2773 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/ClassDescriptor.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/ClassDescriptor.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; import java.lang.reflect.Field; import java.lang.reflect.Method; diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/ClassGraph.java b/src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java similarity index 98% rename from src/main/java/eu/svjatoslav/javainspect/structure/ClassGraph.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java index 180b2c7..bda0882 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/ClassGraph.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; import java.io.File; import java.io.IOException; diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/FieldDescriptor.java b/src/main/java/eu/svjatoslav/inspector/java/structure/FieldDescriptor.java similarity index 98% rename from src/main/java/eu/svjatoslav/javainspect/structure/FieldDescriptor.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/FieldDescriptor.java index a91da4d..2cbb47c 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/FieldDescriptor.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/FieldDescriptor.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/GraphElement.java b/src/main/java/eu/svjatoslav/inspector/java/structure/GraphElement.java similarity index 90% rename from src/main/java/eu/svjatoslav/javainspect/structure/GraphElement.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/GraphElement.java index 7aed6fe..c8bab85 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/GraphElement.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/GraphElement.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; public interface GraphElement { diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/MethodDescriptor.java b/src/main/java/eu/svjatoslav/inspector/java/structure/MethodDescriptor.java similarity index 98% rename from src/main/java/eu/svjatoslav/javainspect/structure/MethodDescriptor.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/MethodDescriptor.java index c541b03..35e49d5 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/MethodDescriptor.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/MethodDescriptor.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; diff --git a/src/main/java/eu/svjatoslav/javainspect/structure/Utils.java b/src/main/java/eu/svjatoslav/inspector/java/structure/Utils.java similarity index 98% rename from src/main/java/eu/svjatoslav/javainspect/structure/Utils.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/Utils.java index 25caa1d..c28d68b 100644 --- a/src/main/java/eu/svjatoslav/javainspect/structure/Utils.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/Utils.java @@ -7,7 +7,7 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.structure; +package eu.svjatoslav.inspector.java.structure; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/eu/svjatoslav/javainspect/example/RenderExampleProject.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderExampleProject.java similarity index 73% rename from src/main/java/eu/svjatoslav/javainspect/example/RenderExampleProject.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderExampleProject.java index 0c7d28a..028c775 100644 --- a/src/main/java/eu/svjatoslav/javainspect/example/RenderExampleProject.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderExampleProject.java @@ -7,10 +7,10 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.example; +package eu.svjatoslav.inspector.java.structure.example; -import eu.svjatoslav.javainspect.example.structure.SampleClass; -import eu.svjatoslav.javainspect.structure.ClassGraph; +import eu.svjatoslav.inspector.java.structure.ClassGraph; +import eu.svjatoslav.inspector.java.structure.example.structure.SampleClass; public class RenderExampleProject { diff --git a/src/main/java/eu/svjatoslav/javainspect/example/RenderJavaInspect.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java similarity index 82% rename from src/main/java/eu/svjatoslav/javainspect/example/RenderJavaInspect.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java index d79e23e..f993e22 100644 --- a/src/main/java/eu/svjatoslav/javainspect/example/RenderJavaInspect.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java @@ -7,12 +7,12 @@ * as published by the Free Software Foundation. */ -package eu.svjatoslav.javainspect.example; +package eu.svjatoslav.inspector.java.structure.example; import java.io.FileNotFoundException; -import eu.svjatoslav.javainspect.structure.ClassGraph; -import eu.svjatoslav.javainspect.structure.Utils; +import eu.svjatoslav.inspector.java.structure.ClassGraph; +import eu.svjatoslav.inspector.java.structure.Utils; public class RenderJavaInspect { diff --git a/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectReturnedByMethod.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectReturnedByMethod.java new file mode 100644 index 0000000..3e507bb --- /dev/null +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectReturnedByMethod.java @@ -0,0 +1,5 @@ +package eu.svjatoslav.inspector.java.structure.example.structure; + +public class ObjectReturnedByMethod { + +} diff --git a/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectVisibleAsClassField.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectVisibleAsClassField.java new file mode 100644 index 0000000..c69a881 --- /dev/null +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/ObjectVisibleAsClassField.java @@ -0,0 +1,5 @@ +package eu.svjatoslav.inspector.java.structure.example.structure; + +public class ObjectVisibleAsClassField { + +} diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleClass.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleClass.java similarity index 74% rename from src/main/java/eu/svjatoslav/javainspect/example/structure/SampleClass.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleClass.java index 244af16..3e496c4 100644 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleClass.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleClass.java @@ -1,4 +1,4 @@ -package eu.svjatoslav.javainspect.example.structure; +package eu.svjatoslav.inspector.java.structure.example.structure; public class SampleClass extends SampleSuperClass { diff --git a/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleEnum.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleEnum.java new file mode 100644 index 0000000..dfb6ea2 --- /dev/null +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleEnum.java @@ -0,0 +1,7 @@ +package eu.svjatoslav.inspector.java.structure.example.structure; + +public enum SampleEnum { + + ONE, TWO, THREE, FOUR + +} diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleInterface.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleInterface.java similarity index 52% rename from src/main/java/eu/svjatoslav/javainspect/example/structure/SampleInterface.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleInterface.java index f88cf16..136bfde 100644 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleInterface.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleInterface.java @@ -1,4 +1,4 @@ -package eu.svjatoslav.javainspect.example.structure; +package eu.svjatoslav.inspector.java.structure.example.structure; public interface SampleInterface { public SampleEnum getSomeValue(); diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleSuperClass.java b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleSuperClass.java similarity index 67% rename from src/main/java/eu/svjatoslav/javainspect/example/structure/SampleSuperClass.java rename to src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleSuperClass.java index 837e35e..96edce2 100644 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleSuperClass.java +++ b/src/main/java/eu/svjatoslav/inspector/java/structure/example/structure/SampleSuperClass.java @@ -1,4 +1,4 @@ -package eu.svjatoslav.javainspect.example.structure; +package eu.svjatoslav.inspector.java.structure.example.structure; public class SampleSuperClass implements SampleInterface { diff --git a/src/main/java/eu/svjatoslav/inspector/xml/xsd/Main.java b/src/main/java/eu/svjatoslav/inspector/xml/xsd/Main.java new file mode 100644 index 0000000..9ecb76e --- /dev/null +++ b/src/main/java/eu/svjatoslav/inspector/xml/xsd/Main.java @@ -0,0 +1,9 @@ +package eu.svjatoslav.inspector.xml.xsd; + +public class Main { + + public static void main(final String[] args) { + + } + +} diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectReturnedByMethod.java b/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectReturnedByMethod.java deleted file mode 100644 index 42e3186..0000000 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectReturnedByMethod.java +++ /dev/null @@ -1,5 +0,0 @@ -package eu.svjatoslav.javainspect.example.structure; - -public class ObjectReturnedByMethod { - -} diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectVisibleAsClassField.java b/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectVisibleAsClassField.java deleted file mode 100644 index 76b34d2..0000000 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/ObjectVisibleAsClassField.java +++ /dev/null @@ -1,5 +0,0 @@ -package eu.svjatoslav.javainspect.example.structure; - -public class ObjectVisibleAsClassField { - -} diff --git a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleEnum.java b/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleEnum.java deleted file mode 100644 index 3335289..0000000 --- a/src/main/java/eu/svjatoslav/javainspect/example/structure/SampleEnum.java +++ /dev/null @@ -1,7 +0,0 @@ -package eu.svjatoslav.javainspect.example.structure; - -public enum SampleEnum { - - ONE, TWO, THREE, FOUR - -} -- 2.20.1