Interface GeneratedClass
-
- All Known Implementing Classes:
LoadedGeneratedClass,ReflectGeneratedClass
public interface GeneratedClassA meta-class that represents a generated class. (Similar to java.lang.Class).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetClassLoaderVersion()Return the class reload version that this class was built at.GeneratedMethodgetMethod(java.lang.String simpleName)Obtain a handle to the method with the given name that takes no arguments.java.lang.StringgetName()Return the name of the generated class.java.lang.ObjectnewInstance(Context context)Return a new object that is an instance of the represented class.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Return the name of the generated class.
-
newInstance
java.lang.Object newInstance(Context context) throws StandardException
Return a new object that is an instance of the represented class. The object will have been initialised by the no-arg constructor of the represneted class. (Similar to java.lang.Class.newInstance).- Throws:
StandardException- Standard Derby error policy
-
getMethod
GeneratedMethod getMethod(java.lang.String simpleName) throws StandardException
Obtain a handle to the method with the given name that takes no arguments.- Throws:
StandardException- Standard Derby error policy
-
getClassLoaderVersion
int getClassLoaderVersion()
Return the class reload version that this class was built at.
-
-