|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcaas.AnnotationScript
public class AnnotationScript
This clase takes a reference to a script file and then interprets that script file. Any instance of this class will have the behavior as defined in the script file it is given.
Method Summary | |
---|---|
static AnnotationScript |
compile(java.io.File script)
Compiles the script. |
static AnnotationScript |
compile(java.io.InputStream input)
Compiles the script. |
AnnotationContext |
getContext()
Gives the current context of the script. |
org.apache.bcel.generic.MethodGen |
run(org.apache.bcel.generic.MethodGen gmethod)
This method runs the script against a given InstructionList. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AnnotationScript compile(java.io.File script) throws java.lang.Exception
script
-
java.lang.Exception
public static AnnotationScript compile(java.io.InputStream input) throws java.lang.Exception
input
-
java.lang.Exception
public org.apache.bcel.generic.MethodGen run(org.apache.bcel.generic.MethodGen gmethod) throws java.lang.Exception
list
- - a list to run the script on.
java.lang.Exception
- - thrown if the script file is not found or if there is
a parsing error.public AnnotationContext getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |