private class ConfigurationFile.ClassLiteral extends ConfigurationFile.ParseNode
| Modifier and Type | Field and Description |
|---|---|
private String |
className |
private boolean |
isArray |
private Class |
value |
lineno, override| Constructor and Description |
|---|
ClassLiteral(String className,
boolean isArray,
int lineno) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Object |
eval(Object data)
Returns the result of evaluating the parse node with the specified
data provided by the call to getEntry.
|
(package private) boolean |
isConstant()
Returns true if the value is a constant.
|
(package private) Class |
resolve(ConfigurationFile.Entry inEntry)
Calculates and returns the declared type of the parse node, as
referred to by the specified entry.
|
oops, oops, oopsprivate final String className
private final boolean isArray
private Class value
ClassLiteral(String className, boolean isArray, int lineno)
Class resolve(ConfigurationFile.Entry inEntry) throws ConfigurationException
ConfigurationFile.ParseNoderesolve in class ConfigurationFile.ParseNodeConfigurationExceptionboolean isConstant()
ConfigurationFile.ParseNodeisConstant in class ConfigurationFile.ParseNodeObject eval(Object data)
ConfigurationFile.ParseNodeeval in class ConfigurationFile.ParseNodeCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.