Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add circular reference example for Eclipse bug report.
- Loading branch information
Stephen Haberman
committed
Feb 18, 2010
1 parent
e3cb80f
commit 0dccdf0
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
examples/src/main/java/org/interfacegen/examples/circular/One.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| package org.interfacegen.examples.circular; | ||
|
|
||
| import org.interfacegen.GenInterface; | ||
| import org.interfacegen.examples.circular.foo.ITwo; | ||
|
|
||
| @GenInterface | ||
| public class One implements IOne { | ||
| @Override | ||
| public ITwo getTwo() { | ||
| return null; | ||
| } | ||
|
|
||
| @Override | ||
| public IThree getThree() { | ||
| return null; | ||
| } | ||
| } |
7 changes: 7 additions & 0 deletions
7
examples/src/main/java/org/interfacegen/examples/circular/Three.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package org.interfacegen.examples.circular; | ||
|
|
||
| import org.interfacegen.GenInterface; | ||
|
|
||
| @GenInterface | ||
| public class Three implements IThree { | ||
| } |
7 changes: 7 additions & 0 deletions
7
examples/src/main/java/org/interfacegen/examples/circular/foo/Two.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package org.interfacegen.examples.circular.foo; | ||
|
|
||
| import org.interfacegen.GenInterface; | ||
|
|
||
| @GenInterface | ||
| public class Two implements ITwo { | ||
| } |