org.extendj.ast
node type ConstructorDecl

General Info

Production
ConstructorDecl : BodyDecl ::= Modifiers <ID:String> Parameter:ParameterDeclaration* Exception:Access* [ParsedConstructorInvocation:Stmt] Block ImplicitConstructorInvocation:Stmt;
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.ConstructorDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
ConstructorDeclSubstituted, GenericConstructorDecl, ParConstructorDecl

Description

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

Member Filters

API level:

Aspect:

Constructors

public ConstructorDecl()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ConstructorDecl(Modifiers p0,
                       java.lang.String p1,
                       List<ParameterDeclaration> p2,
                       List<Access> p3,
                       Opt<Stmt> p4,
                       Block p5)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 16
public ConstructorDecl(Modifiers p0,
                       beaver.Symbol p1,
                       List<ParameterDeclaration> p2,
                       List<Access> p3,
                       Opt<Stmt> p4,
                       Block p5)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 24

Attributes

Source
Declared in /home/jesper/git/extendj/java4/frontend/AccessControl.jrag at line 118
Aspect
AccessControl
@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
Source
Declared in /home/jesper/git/extendj/java4/frontend/ExceptionHandling.jrag at line 200
Aspect
ExceptionHandling
@ASTNodeAnnotation.Attribute
syn java.lang.String name()
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 147
Aspect
ConstructorDecl
@ASTNodeAnnotation.Attribute
syn java.lang.String signature()
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 149
Aspect
ConstructorDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 163
Aspect
ConstructorDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 178
Aspect
ConstructorDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 181
Aspect
ConstructorDecl
Returns:
true if this is an auto-generated default constructor
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 234
Aspect
ImplicitConstructor
Nonterminal attribute for implicit constructor invocation. This is used when an explicit constructor invocation is missing in a constructor declaration. The implicit constructor invocation used to be inserted in the same node where the parsed constructor declaration was stored. This meant that it was impossible to distinguish a parsed constructor from an implicit one.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 344
Aspect
ImplicitConstructor
Test if there is an explicit or implicit constructor invocation available. This should be false only if the host type is java.lang.Object.
Returns:
true if there is a constructor invocation.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 352
Aspect
ImplicitConstructor
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 355
Aspect
ImplicitConstructor
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet parameterDeclaration(java.lang.String name)
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupVariable.jrag at line 170
Aspect
VariableScope
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 258
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 276
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 277
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 278
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 245
Aspect
PrettyPrintUtil
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 255
Aspect
PrettyPrintUtil
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 257
Aspect
PrettyPrintUtil
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 294
Aspect
TypeAnalysis
Overrides:isVoid in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 297
Aspect
TypeAnalysis
@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
@ASTNodeAnnotation.Attribute
syn java.lang.String descName()
Source
Declared in /home/jesper/git/extendj/java4/backend/ConstantPoolNames.jrag at line 118
Aspect
ConstantPoolNames
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.CodeGeneration bytecodes(ConstantPool constantPool)
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 128
Aspect
CreateBCode
Source
Declared in /home/jesper/git/extendj/java4/backend/Flags.jrag at line 94
Aspect
Flags
Overrides:isBytecodeMethod in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 350
Aspect
GenerateClassfile
Overrides:flush in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 379
Aspect
GenerateClassfile
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 502
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 503
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 505
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 506
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/LocalNum.jrag at line 111
Aspect
LocalNum
Source
Declared in /home/jesper/git/extendj/java4/backend/LocalNum.jrag at line 122
Aspect
LocalNum
@ASTNodeAnnotation.Attribute
syn int localIndexOfEnclosingVariable(org.extendj.ast.Variable v)
Source
Declared in /home/jesper/git/extendj/java4/backend/LocalNum.jrag at line 135
Aspect
LocalNum
Source
Declared in /home/jesper/git/extendj/java4/backend/LocalNum.jrag at line 146
Aspect
LocalNum
@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 400
Aspect
Annotations
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1629
Aspect
SourceDeclarations
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 299
Aspect
MethodSignature15
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 330
Aspect
MethodSignature15
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 355
Aspect
MethodSignature15
Note: isGeneric must be called first to check if this declaration is generic. Otherwise this attribute will throw an error!
Returns:
original generic declaration of this constructor.
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 397
Aspect
MethodSignature15
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 535
Aspect
MethodSignature15
Source
Declared in /home/jesper/git/extendj/java5/frontend/MethodSignature.jrag at line 545
Aspect
MethodSignature15
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 56
Aspect
VariableArityParameters
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 90
Aspect
VariableArityParameters
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 207
Aspect
GenericsCodegen
Overrides:needsSignatureAttribute in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 388
Aspect
GenericsCodegen
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
It is an error if the SafeVarargs annotation is used on something that is not a variable arity method or constructor.
Overrides:hasIllegalAnnotationSafeVarargs in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java7/frontend/SafeVarargs.jrag at line 73
Aspect
SafeVarargs
@ASTNodeAnnotation.Attribute
syn boolean modifiedInScope(org.extendj.ast.Variable var)
Overrides:modifiedInScope in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/EffectivelyFinal.jrag at line 40
Aspect
PreciseRethrow
Source
Declared in /home/jesper/git/extendj/java8/frontend/MethodSignature.jrag at line 938
Aspect
MethodSignature18
Source
Declared in /home/jesper/git/extendj/java8/frontend/MethodSignature.jrag at line 954
Aspect
MethodSignature18
Source
Declared in /home/jesper/git/extendj/java8/frontend/MethodSignature.jrag at line 970
Aspect
MethodSignature18
Source
Declared in /home/jesper/git/extendj/java4/frontend/ExceptionHandling.jrag at line 83
Aspect
ExceptionHandling
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 293
Aspect
TypeAnalysis

Methods

public boolean applicable(List<Expr> argList)
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 190
Aspect
ConstructorDecl
Set the default constructor flag. Causes this constructor to not be pretty printed.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 227
Aspect
ImplicitConstructor
public void checkModifiers()
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 136
Aspect
Modifiers
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 97
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 508
Aspect
Java4PrettyPrint
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeCheck.jrag at line 498
Aspect
TypeCheck
public void emitInvokeConstructor(org.extendj.ast.CodeGeneration gen)
Source
Declared in /home/jesper/git/extendj/java4/backend/CodeGeneration.jrag at line 547
Aspect
CodeGeneration
public void createBCode(org.extendj.ast.CodeGeneration gen)
Overrides:createBCode in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 172
Aspect
CreateBCode
public void generateMethod(java.io.DataOutputStream out,
                           ConstantPool cp)
                    throws java.io.IOException
Overrides:generateMethod in class BodyDecl
Throws:
java.io.IOException
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 292
Aspect
GenerateClassfile
public void touchMethod(ConstantPool cp)
Overrides:touchMethod in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 311
Aspect
GenerateClassfile
public boolean clear()
Overrides:clear in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 433
Aspect
GenerateClassfile
public void addEnclosingVariables()
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 527
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 567
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 613
Aspect
InnerClasses
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 622
Aspect
InnerClasses
public void transformation()
Overrides:transformation in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/Transformations.jrag at line 113
Aspect
Transformations
protected void transformEnumConstructors()
Overrides:transformEnumConstructors in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Enums.jrag at line 197
Aspect
Enums
protected void checkEnum(EnumDecl enumDecl)
Check if the enum constructor has an incorrect access modifier
Overrides:checkEnum in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Enums.jrag at line 525
Aspect
Enums
public ConstructorDecl substitutedBodyDecl(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substitutedBodyDecl in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1388
Aspect
LookupParTypeDecl
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 41
public void flushAttrCache()
Overrides:flushAttrCache in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 47
public void flushCollectionCache()
Overrides:flushCollectionCache in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 72
public void flushRewriteCache()
Overrides:flushRewriteCache in class BodyDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 78
public ConstructorDecl clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class BodyDecl
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 84
public ConstructorDecl copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 91
@Deprecated
public ConstructorDecl 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 BodyDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 110
public ConstructorDecl 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 BodyDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 120
public ConstructorDecl 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 BodyDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 145
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 152
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 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.
Replaces the Parameter list.
Parameters:
list - The new list node to be used as the Parameter list.
public int getNumParameter()
Retrieves the number of children in the Parameter list.
Returns:
Number of children in the Parameter list.
Retrieves the number of children in the Parameter list. Calling this method will not trigger rewrites.
Returns:
Number of children in the Parameter list.
Retrieves the element at index i in the Parameter list.
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Parameter list.
public boolean hasParameter()
Check whether the Parameter list has any children.
Returns:
true if it has at least one child, false otherwise.
Append an element to the Parameter list.
Parameters:
node - The element to append to the Parameter list.
public void setParameter(ParameterDeclaration node,
                         int i)
Replaces the Parameter list element at index i with the new node node.
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Parameter list.
Returns:
The node representing the Parameter list.
Retrieves the Parameter list.

This method does not invoke AST transformations.

Returns:
The node representing the Parameter list.
Retrieves the Parameter list.
Returns:
The node representing the Parameter list.
Retrieves the Parameter list.

This method does not invoke AST transformations.

Returns:
The node representing the Parameter list.
public void setExceptionList(List<Access> list)
Replaces the Exception list.
Parameters:
list - The new list node to be used as the Exception list.
public int getNumException()
Retrieves the number of children in the Exception list.
Returns:
Number of children in the Exception list.
Retrieves the number of children in the Exception list. Calling this method will not trigger rewrites.
Returns:
Number of children in the Exception list.
public Access getException(int i)
Retrieves the element at index i in the Exception list.
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Exception list.
public boolean hasException()
Check whether the Exception list has any children.
Returns:
true if it has at least one child, false otherwise.
public void addException(Access node)
Append an element to the Exception list.
Parameters:
node - The element to append to the Exception list.
public void addExceptionNoTransform(Access node)
public void setException(Access node,
                         int i)
Replaces the Exception list element at index i with the new node node.
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Exception list.
Returns:
The node representing the Exception list.
Retrieves the Exception list.

This method does not invoke AST transformations.

Returns:
The node representing the Exception list.
Retrieves the Exception list.
Returns:
The node representing the Exception list.
Retrieves the Exception list.

This method does not invoke AST transformations.

Returns:
The node representing the Exception list.
Replaces the optional node for the ParsedConstructorInvocation child. This is the Opt node containing the child ParsedConstructorInvocation, not the actual child!
Parameters:
opt - The new node to be used as the optional node for the ParsedConstructorInvocation child.
Replaces the (optional) ParsedConstructorInvocation child.
Parameters:
node - The new node to be used as the ParsedConstructorInvocation child.
Check whether the optional ParsedConstructorInvocation child exists.
Returns:
true if the optional ParsedConstructorInvocation child exists, false if it does not.
Retrieves the (optional) ParsedConstructorInvocation child.
Returns:
The ParsedConstructorInvocation child, if it exists. Returns null otherwise.
Retrieves the optional node for the ParsedConstructorInvocation child. This is the Opt node containing the child ParsedConstructorInvocation, not the actual child!
Returns:
The optional node for child the ParsedConstructorInvocation child.
Retrieves the optional node for child ParsedConstructorInvocation. This is the Opt node containing the child ParsedConstructorInvocation, not the actual child!

This method does not invoke AST transformations.

Returns:
The optional node for child ParsedConstructorInvocation.
public void setBlock(Block node)
Replaces the Block child.
Parameters:
node - The new node to replace the Block child.
Retrieves the Block child.
Returns:
The current node used as the Block child.
Retrieves the Block child.

This method does not invoke AST transformations.

Returns:
The current node used as the Block child.
Retrieves the ImplicitConstructorInvocation child.

This method does not invoke AST transformations.

Returns:
The current node used as the ImplicitConstructorInvocation child.
Retrieves the child position of the optional child ImplicitConstructorInvocation.
Returns:
The the child position of the optional child ImplicitConstructorInvocation.
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_isDUbefore(ASTNode caller,
                                 ASTNode child,
                                 org.extendj.ast.Variable v)
Overrides:Define_isDUbefore in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 779
protected boolean canDefine_isDUbefore(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 java.util.Collection Define_lookupMethod(ASTNode caller,
                                                ASTNode child,
                                                java.lang.String name)
Overrides:Define_lookupMethod in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 46
protected boolean canDefine_lookupMethod(ASTNode caller,
                                         ASTNode child,
                                         java.lang.String name)
public org.extendj.ast.SimpleSet Define_lookupVariable(ASTNode caller,
                                                       ASTNode child,
                                                       java.lang.String name)
Overrides:Define_lookupVariable in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/LookupVariable.jrag at line 30
protected boolean canDefine_lookupVariable(ASTNode caller,
                                           ASTNode child,
                                           java.lang.String name)
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)
Overrides:Define_enclosingBlock in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 310
protected boolean canDefine_enclosingBlock(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)
Overrides:Define_enclosingInstance in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeCheck.jrag at line 586
protected boolean canDefine_enclosingInstance(ASTNode caller,
                                              ASTNode child)
Overrides:Define_inExplicitConstructorInvocation in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 165
protected boolean canDefine_inExplicitConstructorInvocation(ASTNode caller,
                                                            ASTNode child)
Overrides:Define_enclosingExplicitConstructorHostType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 173
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)
public boolean Define_reachable(ASTNode caller,
                                ASTNode child)
Overrides:Define_reachable in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/UnreachableStatements.jrag at line 52
protected boolean canDefine_reachable(ASTNode caller,
                                      ASTNode child)
public boolean Define_isMethodParameter(ASTNode caller,
                                        ASTNode child)
Overrides:Define_isMethodParameter in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/MultiCatch.jrag at line 44
protected boolean canDefine_isMethodParameter(ASTNode caller,
                                              ASTNode child)
public boolean Define_isConstructorParameter(ASTNode caller,
                                             ASTNode child)
Overrides:Define_isConstructorParameter in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/MultiCatch.jrag at line 45
protected boolean canDefine_isConstructorParameter(ASTNode caller,
                                                   ASTNode child)
public boolean Define_isExceptionHandlerParameter(ASTNode caller,
                                                  ASTNode child)
Overrides:Define_isExceptionHandlerParameter in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/MultiCatch.jrag at line 46
protected boolean canDefine_isExceptionHandlerParameter(ASTNode caller,
                                                        ASTNode child)
public int Define_localNum(ASTNode caller,
                           ASTNode child)
Overrides:Define_localNum in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/backend/MultiCatch.jrag at line 64
protected boolean canDefine_localNum(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)
public boolean Define_variableArityValid(ASTNode caller,
                                         ASTNode child)
Overrides:Define_variableArityValid in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 48
protected boolean canDefine_variableArityValid(ASTNode caller,
                                               ASTNode child)
public boolean Define_inhModifiedInScope(ASTNode caller,
                                         ASTNode child,
                                         org.extendj.ast.Variable var)
Overrides:Define_inhModifiedInScope in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java8/frontend/EffectivelyFinal.jrag at line 30
protected boolean canDefine_inhModifiedInScope(ASTNode caller,
                                               ASTNode child,
                                               org.extendj.ast.Variable var)
public boolean Define_isCatchParam(ASTNode caller,
                                   ASTNode child)
Overrides:Define_isCatchParam in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag at line 206
protected boolean canDefine_isCatchParam(ASTNode caller,
                                         ASTNode child)
Overrides:rewriteTo in class BodyDecl

Fields

protected boolean addEnclosingVariables
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 526
Aspect
InnerClasses
protected java.lang.String tokenString_ID
public int IDstart
public int IDend
protected java.util.Map accessibleFrom_TypeDecl_values
protected java.util.Map isDAafter_Variable_values
protected java.util.Map isDUafter_Variable_values
protected java.util.Map throwsException_TypeDecl_values
protected boolean name_computed
protected java.lang.String name_value
protected boolean signature_computed
protected java.lang.String signature_value
protected java.util.Map sameSignature_ConstructorDecl_values
protected java.util.Map parameterDeclaration_String_values
protected boolean attributes_computed
protected java.util.Collection attributes_value
protected boolean descName_computed
protected java.lang.String descName_value
protected java.util.Map bytecodes_ConstantPool_values
protected boolean flags_computed
protected int flags_value
protected java.util.Map handlesException_TypeDecl_values

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