jdeparser 1.0.0.Final-redhat-1

org.jboss.jdeparser
Class JFieldVar

java.lang.Object
  extended by org.jboss.jdeparser.JExpressionImpl
      extended by org.jboss.jdeparser.JVar
          extended by org.jboss.jdeparser.JFieldVar
All Implemented Interfaces:
JAnnotatable, JAssignmentTarget, JDeclaration, JDocCommentable, JExpression, JGenerable

public class JFieldVar
extends JVar
implements JDocCommentable

A field that can have a JDocComment associated with it


Method Summary
 void declare(JFormatter f)
           
 JDocComment javadoc()
          Creates, if necessary, and returns the class javadoc for this JDefinedClass
 void name(String name)
          Changes the name of this variable.
 
Methods inherited from class org.jboss.jdeparser.JVar
annotate, annotate, annotate2, annotations, assign, assignPlus, bind, generate, init, isAnnotated, mods, name, type, type
 
Methods inherited from class org.jboss.jdeparser.JExpressionImpl
_instanceof, band, bor, cand, complement, component, cond, cor, decr, div, eq, gt, gte, incr, invoke, invoke, 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, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.jdeparser.JExpression
_instanceof, band, bor, cand, complement, component, cond, cor, decr, div, eq, gt, gte, incr, invoke, invoke, 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: JVar
Changes the name of this variable.

Overrides:
name in class JVar

javadoc

public JDocComment javadoc()
Creates, if necessary, and returns the class javadoc for this JDefinedClass

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

declare

public void declare(JFormatter f)
Specified by:
declare in interface JDeclaration
Overrides:
declare in class JVar

jdeparser 1.0.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.