|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnl.tudelft.goal.EIS2Java.util.EIS2JavaUtil
public class EIS2JavaUtil
| Constructor Summary | |
|---|---|
EIS2JavaUtil()
|
|
| Method Summary | |
|---|---|
static String |
getNameOfAction(eis.iilang.Action action)
Returns the name of the action used for storage. |
static String |
getNameOfAction(Method method)
Returns the name of the action method used for storage. |
static String |
getNameOfPercept(Method method)
|
static Map<String,Method> |
processActionAnnotations(Class<?> clazz)
Processes all annotations for the given class. |
static Set<Method> |
processPerceptAnnotations(Class<?> clazz)
Processes all AsPercept annotations for the given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EIS2JavaUtil()
| Method Detail |
|---|
public static Set<Method> processPerceptAnnotations(Class<?> clazz)
throws eis.exceptions.EntityException
AsPercept annotations for the given class.
eis.exceptions.EntityException - Thrown when the annotations are not used properly.
public static Map<String,Method> processActionAnnotations(Class<?> clazz)
throws eis.exceptions.EntityException
eis.exceptions.EntityException - Thrown when the annotations are not used properly.public static String getNameOfAction(eis.iilang.Action action)
action - The action to get the name of.public static String getNameOfAction(Method method)
AsAction.name() and the number of parameters are used as an
identifier.
action - The method to get the name of.public static String getNameOfPercept(Method method)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||