@Generated(value="org.jomc.tools.SourceFileProcessor 1.4", comments="See http://www.jomc.org/jomc/1.4/jomc-tools-1.4") public class RuntimeArgument extends Argument implements RuntimeModelObject
Argument
.
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
RuntimeArgument()
Creates a new
RuntimeArgument instance. |
RuntimeArgument(Argument argument)
Creates a new
RuntimeArgument instance by deeply copying a given Argument instance. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
JavaTypeName |
getJavaTypeName()
Gets the Java type name of the type referenced by the argument.
|
clone, getAny, getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getIndex, getJavaVariableName, getName, getType, setIndex, setName, setType
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
public RuntimeArgument(Argument argument)
RuntimeArgument
instance by deeply copying a given Argument
instance.argument
- The instance to copy.NullPointerException
- if argument
is null
.@Generated(value="org.jomc.tools.SourceFileProcessor 1.4", comments="See http://www.jomc.org/jomc/1.4/jomc-tools-1.4") public RuntimeArgument()
RuntimeArgument
instance.public JavaTypeName getJavaTypeName() throws ModelObjectException
This method queries an internal cache for a result object to return. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear()
must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getJavaTypeName
in class Argument
null
, if the argument does not
reference a type.ModelObjectException
- if compiling the name of the referenced type to a JavaTypeName
fails.Argument.getType()
,
clear()
public void gc()
RuntimeModelObject
gc
in interface RuntimeModelObject
public void clear()
RuntimeModelObject
clear
in interface RuntimeModelObject
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.