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.
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 |
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)