jltools.ast
Interface FieldDecl

All Superinterfaces:
ClassMember, java.lang.Cloneable, Copy, Node, java.io.Serializable
All Known Implementing Classes:
FieldDecl_c

public interface FieldDecl
extends ClassMember

A FieldDecl is an immutable representation of the declaration of a field of a class.


Method Summary
 Type declType()
           
 FieldInstance fieldInstance()
           
 FieldDecl fieldInstance(FieldInstance fi)
           
 Flags flags()
           
 FieldDecl flags(Flags flags)
           
 Expr init()
           
 FieldDecl init(Expr init)
           
 java.lang.String name()
           
 FieldDecl name(java.lang.String name)
           
 TypeNode type()
           
 FieldDecl type(TypeNode type)
           
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 

Method Detail

declType

public Type declType()

flags

public Flags flags()

flags

public FieldDecl flags(Flags flags)

type

public TypeNode type()

type

public FieldDecl type(TypeNode type)

name

public java.lang.String name()

name

public FieldDecl name(java.lang.String name)

init

public Expr init()

init

public FieldDecl init(Expr init)

fieldInstance

public FieldInstance fieldInstance()

fieldInstance

public FieldDecl fieldInstance(FieldInstance fi)