|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.java.model.util.JETInterfaceImplementer
public final class JETInterfaceImplementer
This helper class provides utilitys for a JETemplate to add the method signatures of an interface. Over the signatures can be iterated.
| Constructor Summary | |
|---|---|
JETInterfaceImplementer(java.util.List<java.lang.Class> interfaces,
java.util.List<java.lang.String> ignoreMethods)
Initialize the method signatures without the body of the method. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Check if there is a further method signature |
java.util.List<java.lang.Class> |
imports()
Retrieve the list of needed imports |
java.lang.String |
next()
Retrieve the next method signature |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JETInterfaceImplementer(java.util.List<java.lang.Class> interfaces,
java.util.List<java.lang.String> ignoreMethods)
interfaces - List of interfaces that are implementend and contain the methods to implementignoreMethods - List of method names to be ignored.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.String>public java.lang.String next()
next in interface java.util.Iterator<java.lang.String>public void remove()
remove in interface java.util.Iterator<java.lang.String>public java.util.List<java.lang.Class> imports()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||