org.inxar.jenesis
Interface Field

All Superinterfaces:
Access, Codeable, Declaration, Member
All Known Subinterfaces:
ClassField, Constant

public interface Field
extends Member

Declaration subinterface for a field. Fields includes constants and class fields (in this API).


Fields inherited from interface org.inxar.jenesis.Access
PACKAGE, PRIVATE, PROTECTED, PUBLIC
 
Method Summary
 Expression getExpression()
          Gets the initial value of this Field.
 Type getType()
          Gets the (return) type of this Field.
 void setExpression(Expression e)
          Sets the initial value of this Field.
 void setType(Type type)
          Sets the (return) type of this Field.
 
Methods inherited from interface org.inxar.jenesis.Member
getName, isFinal, isFinal, isStatic, isStatic, setName
 
Methods inherited from interface org.inxar.jenesis.Access
getAccess, setAccess
 
Methods inherited from interface org.inxar.jenesis.Declaration
javadoc
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 

Method Detail

setType

public void setType(Type type)
Sets the (return) type of this Field.

getType

public Type getType()
Gets the (return) type of this Field.

setExpression

public void setExpression(Expression e)
Sets the initial value of this Field.

getExpression

public Expression getExpression()
Gets the initial value of this Field.