Class dstc.kalimantan.inspect.BoringInspector
All Packages Class Hierarchy This Package Previous Next Index
Class dstc.kalimantan.inspect.BoringInspector
java.lang.Object
|
+----dstc.kalimantan.inspect.Inspector
|
+----dstc.kalimantan.inspect.BoringInspector
- public class BoringInspector
- extends Inspector
An inspector on a trivial object, currently only used for null.
- See Also:
- Inspector
-
BoringInspector(String, String)
-
-
getClassName()
- Returns the name of the target's class
-
getInspector(int)
- This should never be called
-
getNames()
- Returns an empty array of Strings - boring objects have no slots
-
getTarget()
- Returns a string representing the target
-
getValue(int)
- This should never be called
BoringInspector
public BoringInspector(String cname,
String value)
getClassName
public String getClassName()
- Returns the name of the target's class
- Overrides:
- getClassName in class Inspector
getTarget
public String getTarget()
- Returns a string representing the target
- Overrides:
- getTarget in class Inspector
getNames
public String[] getNames()
- Returns an empty array of Strings - boring objects have no slots
- Overrides:
- getNames in class Inspector
getValue
public String getValue(int index)
- This should never be called
- Overrides:
- getValue in class Inspector
getInspector
public Inspector getInspector(int index)
- This should never be called
- Overrides:
- getInspector in class Inspector
All Packages Class Hierarchy This Package Previous Next Index