-
-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af36686
commit ac0799d
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
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
23 changes: 23 additions & 0 deletions
23
src/test/java/spoon/test/template/testclasses/types/AClassModel.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,23 @@ | ||
package spoon.test.template.testclasses.types; | ||
|
||
import java.util.AbstractList; | ||
|
||
public class AClassModel<E> extends AbstractList<E> implements AnIfaceModel { | ||
|
||
public AClassModel() { | ||
} | ||
|
||
@Override | ||
public E get(int index) { | ||
throw new IndexOutOfBoundsException(); | ||
} | ||
|
||
@Override | ||
public int size() { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public void someMethod() { | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/test/java/spoon/test/template/testclasses/types/AnEnumModel.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,5 @@ | ||
package spoon.test.template.testclasses.types; | ||
|
||
public enum AnEnumModel { | ||
case1, case2; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/test/java/spoon/test/template/testclasses/types/AnIfaceModel.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 spoon.test.template.testclasses.types; | ||
|
||
import java.io.Serializable; | ||
|
||
public interface AnIfaceModel extends Serializable { | ||
void someMethod(); | ||
} |