org.hecl
Class ClassCommandInfo
- java.lang.Object
-
- org.hecl.ClassCommandInfo
-
public class ClassCommandInfo extends java.lang.ObjectTheClassCommandInfoholds information about a class command that may be attached to an interpreter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.ClassforClass()Gets the class of instances this command operates on.ClassCommandgetCommand()Gets theClassCommandto be called for methodes on instances.
-
-
-
Method Detail
-
forClass
public java.lang.Class forClass()
Gets the class of instances this command operates on.- Returns:
- The
Classon which methods on references inObjectThings must be assignable for the command to be called during evaluation.
-
getCommand
public ClassCommand getCommand()
Gets theClassCommandto be called for methodes on instances. This function is used by the interpreter to call the Java implementation of methods onObjectThings holding a reference to instances of the class stored in this descriptor.- Returns:
- The
ClassCommand.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG