org.mule.devkit.model.code
Class GeneratedField

java.lang.Object
  extended by org.mule.devkit.model.code.AbstractExpression
      extended by org.mule.devkit.model.code.GeneratedVariable
          extended by org.mule.devkit.model.code.GeneratedField
All Implemented Interfaces:
Annotable, AssignmentTarget, Declaration, Documentable, Generable, GeneratedExpression

public class GeneratedField
extends GeneratedVariable
implements Documentable

A field that can have a GeneratedJavaDocComment associated with it


Method Summary
 void declare(Formatter f)
           
 GeneratedJavaDocComment javadoc()
          Creates, if necessary, and returns the class javadoc for this DefinedClass
 void name(String name)
          Changes the name of this variable.
 String toString()
           
 
Methods inherited from class org.mule.devkit.model.code.GeneratedVariable
annotate, annotate, annotate2, annotations, assign, assignPlus, bind, generate, init, isAnnotated, mods, name, type, type
 
Methods inherited from class org.mule.devkit.model.code.AbstractExpression
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, isNotNull, isNull, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.devkit.model.code.GeneratedExpression
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, isNotNull, isNull, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor
 

Method Detail

name

public void name(String name)
Description copied from class: GeneratedVariable
Changes the name of this variable.

Overrides:
name in class GeneratedVariable

javadoc

public GeneratedJavaDocComment javadoc()
Creates, if necessary, and returns the class javadoc for this DefinedClass

Specified by:
javadoc in interface Documentable
Returns:
JDocComment containing javadocs for this class

declare

public void declare(Formatter f)
Specified by:
declare in interface Declaration
Overrides:
declare in class GeneratedVariable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.