pnuts.ext
Class LimitedClassesConfiguration

java.lang.Object
  extended by pnuts.lang.Configuration
      extended by pnuts.ext.ConfigurationAdapter
          extended by pnuts.ext.LimitedClassesConfiguration
All Implemented Interfaces:
java.io.Serializable

public class LimitedClassesConfiguration
extends ConfigurationAdapter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class pnuts.ext.ConfigurationAdapter
base
 
Fields inherited from class pnuts.lang.Configuration
_add, _add1, _and, _divide, _eq, _ge, _gt, _le, _lt, _mod, _multiply, _negate, _not, _or, _shiftArithmetic, _shiftLeft, _shiftRight, _subtract, _subtract1, _xor, normalConfiguration
 
Constructor Summary
LimitedClassesConfiguration()
           
LimitedClassesConfiguration(Configuration base)
           
 
Method Summary
 java.lang.reflect.Constructor[] getConstructors(java.lang.Class cls)
          Get all public constructors of the specified class.
 java.lang.reflect.Method[] getMethods(java.lang.Class cls)
          Get all public methods of the specified class.
 void registerClass(java.lang.Class cls)
           
 
Methods inherited from class pnuts.ext.ConfigurationAdapter
callConstructor, callMethod, createMap, formatObject, getElement, getField, getParent, getRange, getStaticField, handleUndefinedSymbol, makeArray, putField, putStaticField, setElement, setRange, toCallable, toEnumeration
 
Methods inherited from class pnuts.lang.Configuration
createList, getDefault, getDefaultImports, getInitialClassLoader, initializeOperators, invokeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LimitedClassesConfiguration

public LimitedClassesConfiguration()

LimitedClassesConfiguration

public LimitedClassesConfiguration(Configuration base)
Method Detail

registerClass

public void registerClass(java.lang.Class cls)

getMethods

public java.lang.reflect.Method[] getMethods(java.lang.Class cls)
Description copied from class: ConfigurationAdapter
Get all public methods of the specified class.

Overrides:
getMethods in class ConfigurationAdapter
Parameters:
cls - the class
Returns:
an array of Method objects

getConstructors

public java.lang.reflect.Constructor[] getConstructors(java.lang.Class cls)
Description copied from class: ConfigurationAdapter
Get all public constructors of the specified class.

Overrides:
getConstructors in class ConfigurationAdapter
Parameters:
cls - the class
Returns:
an array of Constructor objects