org.extendj.ast
node type FieldDeclaration

General Info

Production
FieldDeclaration : MemberDecl ::= Modifiers TypeAccess:Access <ID:String> [Init:Expr];
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.BodyDecl
              extended by org.extendj.ast.MemberDecl
                  extended by org.extendj.ast.FieldDeclaration
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
EnumConstant, FieldDeclarationSubstituted
static class SimpleSet.SimpleSetImpl
           

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/Java.ast at line 77

Member Filters

API level:

Aspect:

Constructors

public FieldDeclaration(Modifiers m,
                        Access type,
                        java.lang.String name)
 
Source
Declared in /home/jesper/git/extendj/java4/frontend/NodeConstructors.jrag at line 97
Aspect
NodeConstructors
public FieldDeclaration(Modifiers m,
                        Access type,
                        java.lang.String name,
                        Expr init)
 
Source
Declared in /home/jesper/git/extendj/java4/frontend/NodeConstructors.jrag at line 101
Aspect
NodeConstructors
public FieldDeclaration()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public FieldDeclaration(Modifiers p0,
                        Access p1,
                        java.lang.String p2,
                        Opt<Expr> p3)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 14
public FieldDeclaration(Modifiers p0,
                        Access p1,
                        beaver.Symbol p2,
                        Opt<Expr> p3)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 20

Attributes

Source
Declared in /home/jesper/git/extendj/java4/frontend/AccessControl.jrag at line 132
Aspect
AccessControl
@ASTNodeAnnotation.Attribute
syn java.util.Collection exceptions()
Source
Declared in /home/jesper/git/extendj/java4/frontend/AnonymousClasses.jrag at line 97
Aspect
AnonymousClasses
Overrides:isConstant in class MemberDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/ConstantExpression.jrag at line 250
Aspect
ConstantExpression
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 103
Aspect
DataStructures
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 104
Aspect
DataStructures
@ASTNodeAnnotation.Attribute
syn boolean contains(java.lang.Object o)
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 108
Aspect
DataStructures
@ASTNodeAnnotation.Attribute
syn boolean isDAafter(org.extendj.ast.Variable v)
Overrides:isDAafter in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 266
Aspect
DA
@ASTNodeAnnotation.Attribute
syn boolean isDUafter(org.extendj.ast.Variable v)
Overrides:isDUafter in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 796
Aspect
DU
Overrides:isSynthetic in class MemberDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 255
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 280
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 281
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 282
Aspect
Modifiers
Specified by:isStatic in class MemberDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 283
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 285
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 286
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 287
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 249
Aspect
PrettyPrintUtil
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 275
Aspect
TypeAnalysis
Overrides:isVoid in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 297
Aspect
TypeAnalysis
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 53
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 55
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 56
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 57
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 58
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 59
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 60
Aspect
Variables
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 62
Aspect
Variables
@ASTNodeAnnotation.Attribute
syn java.lang.String name()
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 64
Aspect
Variables
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Constant constant()
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 65
Aspect
Variables
@ASTNodeAnnotation.Attribute
syn java.util.Collection attributes()
Overrides:attributes in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/Attributes.jrag at line 212
Aspect
Attributes
Source
Declared in /home/jesper/git/extendj/java4/backend/Flags.jrag at line 134
Aspect
Flags
Overrides:isBytecodeField in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 347
Aspect
GenerateClassfile
Overrides:flush in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 379
Aspect
GenerateClassfile
@ASTNodeAnnotation.Attribute
syn boolean hasAnnotationSuppressWarnings(java.lang.String annot)
Overrides:hasAnnotationSuppressWarnings in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 356
Aspect
Annotations
Overrides:isDeprecated in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 401
Aspect
Annotations
Overrides:usesTypeVariable in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1253
Aspect
LookupParTypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1410
Aspect
LookupParTypeDecl
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Variable sourceVariableDecl()
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1637
Aspect
SourceDeclarations
Overrides:visibleTypeParameters in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsParTypeDecl.jrag at line 90
Aspect
GenericsParTypeDecl
Overrides:needsSignatureAttribute in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 374
Aspect
GenericsCodegen
@ASTNodeAnnotation.Attribute
syn java.util.Collection<TypeDecl> throwTypes()
Source
Declared in /home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag at line 47
Aspect
PreciseRethrow
Overrides:hasAnnotationSafeVarargs in class BodyDecl
Returns:
true if the modifier list includes the SafeVarargs annotation
Source
Declared in /home/jesper/git/extendj/java7/frontend/SafeVarargs.jrag at line 42
Aspect
SafeVarargs
@ASTNodeAnnotation.Attribute
syn boolean suppressWarnings(java.lang.String type)
Source
Declared in /home/jesper/git/extendj/java7/frontend/SuppressWarnings.jrag at line 44
Aspect
SuppressWarnings
Source
Declared in /home/jesper/git/extendj/java8/frontend/EffectivelyFinal.jrag at line 138
Aspect
EffectivelyFinal
Source
Declared in /home/jesper/git/extendj/java4/frontend/ExceptionHandling.jrag at line 81
Aspect
ExceptionHandling
@ASTNodeAnnotation.Attribute
inh boolean withinSuppressWarnings(java.lang.String annot)
Overrides:withinSuppressWarnings in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java7/frontend/SuppressWarnings.jrag at line 36
Aspect
SuppressWarnings

Methods

Source
Declared in /home/jesper/git/extendj/java4/frontend/BoundNames.jrag at line 32
Aspect
BoundNames
Source
Declared in /home/jesper/git/extendj/java4/frontend/BoundNames.jrag at line 106
Aspect
BoundNames
public org.extendj.ast.SimpleSet add(java.lang.Object o)
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 105
Aspect
DataStructures
public boolean isSingleton()
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 109
Aspect
DataStructures
public boolean isSingleton(java.lang.Object o)
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 110
Aspect
DataStructures
public java.util.Iterator iterator()
Specified by:iterator in interface java.lang.Iterable<ASTNode>Overrides:iterator in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 114
Aspect
DataStructures
public boolean hasNext()
Specified by:hasNext in interface java.util.Iterator
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 115
Aspect
DataStructures
public java.lang.Object next()
Specified by:next in interface java.util.Iterator
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 116
Aspect
DataStructures
public void remove()
Specified by:remove in interface java.util.Iterator
Source
Declared in /home/jesper/git/extendj/java4/frontend/DataStructures.jrag at line 117
Aspect
DataStructures
public void definiteAssignment()
Overrides:definiteAssignment in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 194
Aspect
DefiniteAssignment
public void checkModifiers()
Overrides:checkModifiers in class MemberDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 140
Aspect
Modifiers
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 352
Aspect
NameCheck
public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrint.jadd at line 41
Aspect
Java4PrettyPrint
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeCheck.jrag at line 55
Aspect
TypeCheck
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 113
Aspect
VariableDeclarationTransformation
public void setFieldDecl(FieldDecl fieldDecl)
Source
Declared in /home/jesper/git/extendj/java4/frontend/VariableDeclaration.jrag at line 116
Aspect
VariableDeclarationTransformation
public void emitLoadField(org.extendj.ast.CodeGeneration gen,
                          TypeDecl typeDecl)
Source
Declared in /home/jesper/git/extendj/java4/backend/CodeGeneration.jrag at line 334
Aspect
CodeGeneration
public void emitStoreField(org.extendj.ast.CodeGeneration gen,
                           TypeDecl typeDecl)
Source
Declared in /home/jesper/git/extendj/java4/backend/CodeGeneration.jrag at line 393
Aspect
CodeGeneration
public void emitStaticInitializer(org.extendj.ast.CodeGeneration gen,
                                  TypeDecl hostType)
Generate static initialization code for the field.
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 295
Aspect
CreateBCode
public void emitInstanceInitializer(org.extendj.ast.CodeGeneration gen,
                                    TypeDecl hostType)
Generate instance initialization code for the field.
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 305
Aspect
CreateBCode
protected void emitInitializerBCode(org.extendj.ast.CodeGeneration gen)
Generate field initialization bytecode.
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 316
Aspect
CreateBCode
public boolean clear()
Overrides:clear in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 429
Aspect
GenerateClassfile
public MethodDecl createAccessor(TypeDecl fieldQualifier)
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 341
Aspect
InnerClasses
public MethodDecl createAccessorWrite(TypeDecl fieldQualifier)
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 377
Aspect
InnerClasses
public BodyDecl substitutedBodyDecl(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substitutedBodyDecl in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1400
Aspect
LookupParTypeDecl
public void checkWarnings()
Description copied from class: BodyDeclWe must report illegal uses of the SafeVarargs annotation. It is only allowed on variable arity method and constructor declarations.
Overrides:checkWarnings in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java7/frontend/UncheckedConversion.jrag at line 47
Aspect
UncheckedConversion
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 29
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public void flushAttrCache()
Overrides:flushAttrCache in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 41
public void flushCollectionCache()
Overrides:flushCollectionCache in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 58
public void flushRewriteCache()
Overrides:flushRewriteCache in class MemberDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 64
public FieldDeclaration clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class MemberDecl
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 70
public FieldDeclaration copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 77
@Deprecated
public FieldDeclaration fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Specified by:fullCopy in class MemberDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 96
public FieldDeclaration treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Specified by:treeCopyNoTransform in class MemberDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 106
public FieldDeclaration treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Specified by:treeCopy in class MemberDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 126
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 133
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Returns:
The current node used as the Modifiers child.
public void setTypeAccess(Access node)
Replaces the TypeAccess child.
Parameters:
node - The new node to replace the TypeAccess child.
Retrieves the TypeAccess child.
Returns:
The current node used as the TypeAccess child.
Retrieves the TypeAccess child.

This method does not invoke AST transformations.

Returns:
The current node used as the TypeAccess child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Parameters:
symbol - Symbol containing the new value for the lexeme ID
@ASTNodeAnnotation.Token(name="ID")
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Returns:
The value for the lexeme ID.
public void setInitOpt(Opt<Expr> opt)
Replaces the optional node for the Init child. This is the Opt node containing the child Init, not the actual child!
Parameters:
opt - The new node to be used as the optional node for the Init child.
public void setInit(Expr node)
Replaces the (optional) Init child.
Parameters:
node - The new node to be used as the Init child.
public boolean hasInit()
Check whether the optional Init child exists.
Returns:
true if the optional Init child exists, false if it does not.
public Expr getInit()
Retrieves the (optional) Init child.
Returns:
The Init child, if it exists. Returns null otherwise.
Retrieves the optional node for the Init child. This is the Opt node containing the child Init, not the actual child!
Returns:
The optional node for child the Init child.
Retrieves the optional node for child Init. This is the Opt node containing the child Init, not the actual child!

This method does not invoke AST transformations.

Returns:
The optional node for child Init.
public boolean Define_isSource(ASTNode caller,
                               ASTNode child)
Overrides:Define_isSource in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 47
protected boolean canDefine_isSource(ASTNode caller,
                                     ASTNode child)
public boolean Define_isDAbefore(ASTNode caller,
                                 ASTNode child,
                                 org.extendj.ast.Variable v)
Overrides:Define_isDAbefore in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 255
protected boolean canDefine_isDAbefore(ASTNode caller,
                                       ASTNode child,
                                       org.extendj.ast.Variable v)
public boolean Define_handlesException(ASTNode caller,
                                       ASTNode child,
                                       TypeDecl exceptionType)
Overrides:Define_handlesException in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/TryWithResources.jrag at line 113
protected boolean canDefine_handlesException(ASTNode caller,
                                             ASTNode child,
                                             TypeDecl exceptionType)
public boolean Define_mayBePublic(ASTNode caller,
                                  ASTNode child)
Overrides:Define_mayBePublic in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 419
protected boolean canDefine_mayBePublic(ASTNode caller,
                                        ASTNode child)
public boolean Define_mayBeProtected(ASTNode caller,
                                     ASTNode child)
Overrides:Define_mayBeProtected in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 421
protected boolean canDefine_mayBeProtected(ASTNode caller,
                                           ASTNode child)
public boolean Define_mayBePrivate(ASTNode caller,
                                   ASTNode child)
Overrides:Define_mayBePrivate in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 420
protected boolean canDefine_mayBePrivate(ASTNode caller,
                                         ASTNode child)
public boolean Define_mayBeStatic(ASTNode caller,
                                  ASTNode child)
Overrides:Define_mayBeStatic in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 422
protected boolean canDefine_mayBeStatic(ASTNode caller,
                                        ASTNode child)
public boolean Define_mayBeFinal(ASTNode caller,
                                 ASTNode child)
Overrides:Define_mayBeFinal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 423
protected boolean canDefine_mayBeFinal(ASTNode caller,
                                       ASTNode child)
public boolean Define_mayBeTransient(ASTNode caller,
                                     ASTNode child)
Overrides:Define_mayBeTransient in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 426
protected boolean canDefine_mayBeTransient(ASTNode caller,
                                           ASTNode child)
public boolean Define_mayBeVolatile(ASTNode caller,
                                    ASTNode child)
Overrides:Define_mayBeVolatile in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 425
protected boolean canDefine_mayBeVolatile(ASTNode caller,
                                          ASTNode child)
public org.extendj.ast.NameType Define_nameType(ASTNode caller,
                                                ASTNode child)
Overrides:Define_nameType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag at line 36
protected boolean canDefine_nameType(ASTNode caller,
                                     ASTNode child)
public TypeDecl Define_declType(ASTNode caller,
                                ASTNode child)
Overrides:Define_declType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 601
protected boolean canDefine_declType(ASTNode caller,
                                     ASTNode child)
public boolean Define_inStaticContext(ASTNode caller,
                                      ASTNode child)
Overrides:Define_inStaticContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 182
protected boolean canDefine_inStaticContext(ASTNode caller,
                                            ASTNode child)
Overrides:Define_expectedType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 93
protected boolean canDefine_expectedType(ASTNode caller,
                                         ASTNode child)
public boolean Define_mayUseAnnotationTarget(ASTNode caller,
                                             ASTNode child,
                                             java.lang.String name)
Overrides:Define_mayUseAnnotationTarget in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 96
protected boolean canDefine_mayUseAnnotationTarget(ASTNode caller,
                                                   ASTNode child,
                                                   java.lang.String name)
Overrides:Define_assignConvertedType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericMethodsInference.jrag at line 58
protected boolean canDefine_assignConvertedType(ASTNode caller,
                                                ASTNode child)
public TypeDecl Define_targetType(ASTNode caller,
                                  ASTNode child)
Overrides:Define_targetType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 30
protected boolean canDefine_targetType(ASTNode caller,
                                       ASTNode child)
public boolean Define_assignmentContext(ASTNode caller,
                                        ASTNode child)
Overrides:Define_assignmentContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 196
protected boolean canDefine_assignmentContext(ASTNode caller,
                                              ASTNode child)
public boolean Define_invocationContext(ASTNode caller,
                                        ASTNode child)
Overrides:Define_invocationContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 197
protected boolean canDefine_invocationContext(ASTNode caller,
                                              ASTNode child)
public boolean Define_castContext(ASTNode caller,
                                  ASTNode child)
Overrides:Define_castContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 198
protected boolean canDefine_castContext(ASTNode caller,
                                        ASTNode child)
public boolean Define_stringContext(ASTNode caller,
                                    ASTNode child)
Overrides:Define_stringContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 199
protected boolean canDefine_stringContext(ASTNode caller,
                                          ASTNode child)
public boolean Define_numericContext(ASTNode caller,
                                     ASTNode child)
Overrides:Define_numericContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 200
protected boolean canDefine_numericContext(ASTNode caller,
                                           ASTNode child)
Overrides:rewriteTo in class MemberDecl
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.lang.String name()
public TypeDecl type()
public java.util.Collection<TypeDecl> throwTypes()
public boolean isParameter()
public boolean isClassVariable()
public boolean isInstanceVariable()
public boolean isMethodParameter()
public boolean isConstructorParameter()
public boolean isLocalVariable()
public boolean isFinal()
public boolean isVolatile()
public boolean isEffectivelyFinal()
public boolean isBlank()
public boolean isStatic()
public boolean isSynthetic()
public org.extendj.ast.Constant constant()

Fields

protected java.lang.String tokenString_ID
public int IDstart
public int IDend
protected java.util.Map accessibleFrom_TypeDecl_values
protected boolean exceptions_computed
protected java.util.Collection exceptions_value
protected java.util.Map isDAafter_Variable_values
protected java.util.Map isDUafter_Variable_values
protected boolean constant_computed
protected org.extendj.ast.Constant constant_value
protected boolean attributes_computed
protected java.util.Collection attributes_value
protected boolean flags_computed
protected int flags_value
protected boolean usesTypeVariable_computed
protected boolean usesTypeVariable_value
protected boolean sourceVariableDecl_computed
protected org.extendj.ast.Variable sourceVariableDecl_value
protected boolean throwTypes_computed
protected java.util.Collection<TypeDecl> throwTypes_value
protected boolean isEffectivelyFinal_computed
protected boolean isEffectivelyFinal_value
public static final org.extendj.ast.SimpleSet emptySet
public static final org.extendj.ast.SimpleSet fullSet

Inherited Members

Attributes inherited from org.extendj.ast.BodyDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.BodyDecl

Methods inherited from class org.extendj.ast.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from org.extendj.ast.BodyDecl

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value