Class FieldTool.FieldToolSub

  extended by
Enclosing class:

public static class FieldTool.FieldToolSub
extends java.lang.Object

Holds a Map of results for a particular class. This exists simply to enable the $"class.Name").FOO syntax, even when storeDynamicLookups is set to false. NOTE: we can't simply return the results Map when the in() methods are called, because the Map contains placeholders for any mutable fields found. We want to put off reading non-final field values to the last moment, in case their values change.

Field Summary
private  java.util.Map<java.lang.String,java.lang.Object> results
Constructor Summary
FieldTool.FieldToolSub(java.util.Map<java.lang.String,java.lang.Object> results)
Method Summary
 java.lang.Object get(java.lang.String name)
 java.lang.String toString()
          Return the toString() value of the internal results Map for this sub.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


private final java.util.Map<java.lang.String,java.lang.Object> results
Constructor Detail


public FieldTool.FieldToolSub(java.util.Map<java.lang.String,java.lang.Object> results)
Method Detail


public java.lang.Object get(java.lang.String name)


public java.lang.String toString()
Return the toString() value of the internal results Map for this sub.

toString in class java.lang.Object

Copyright (c) 2003-2007 Apache Software Foundation