summaryrefslogtreecommitdiffstats
path: root/tests/bugs164/pr268710/ConcreteAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs164/pr268710/ConcreteAspect.aj')
-rw-r--r--tests/bugs164/pr268710/ConcreteAspect.aj26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/bugs164/pr268710/ConcreteAspect.aj b/tests/bugs164/pr268710/ConcreteAspect.aj
new file mode 100644
index 000000000..14abbfc93
--- /dev/null
+++ b/tests/bugs164/pr268710/ConcreteAspect.aj
@@ -0,0 +1,26 @@
+/**
+ *
+ */
+package none;
+
+/**
+ * @author Dawid Pytel
+ *
+ */
+public aspect ConcreteAspect extends GenericAspect<String> {
+
+ public static void main(String [] argv) {
+ new C();
+ }
+
+
+ before(SomeInterface v): SomeConstructor(v) {
+ System.out.println("Building an object "+v.getClass());
+ }
+}
+
+class C implements GenericAspect.SomeInterface {
+ public C() {
+ System.out.println("C.init");
+ }
+}