- java.lang.Object
-
- com.sun.tools.xjc.model.CDefaultValue
-
public abstract class CDefaultValue extends Object
Object that computes the default value expression lazily. The computation is done lazily because often the default value needs to refer to things (such as enum classes) that are only generated after some of the outline is built.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CDefaultValue()
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JExpression
compute(Outline outline)
static CDefaultValue
create(TypeUse typeUse, XmlString defaultValue)
Creates a new that computes the default value by applying a lexical representation to aTypeUse
.
-
-
-
Method Detail
-
compute
public abstract JExpression compute(Outline outline)
-
create
public static CDefaultValue create(TypeUse typeUse, XmlString defaultValue)
Creates a new that computes the default value by applying a lexical representation to aTypeUse
.
-
-