org.extendj.ast
node type ClassDecl

General Info

Production
ClassDecl : ReferenceType ::= Modifiers <ID:String> [SuperClass:Access] Implements:Access* BodyDecl* [ImplicitConstructor:ConstructorDecl];
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.TypeDecl
              extended by org.extendj.ast.ReferenceType
                  extended by org.extendj.ast.ClassDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
AnonymousDecl, ArrayDecl, ClassDeclSubstituted, EnumDecl, GenericClassDecl, ParClassDecl, UnknownType
static class SimpleSet.SimpleSetImpl
           

Description

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

Member Filters

API level:

Aspect:

Constructors

public ClassDecl()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ClassDecl(Modifiers p0,
                 java.lang.String p1,
                 Opt<Access> p2,
                 List<Access> p3,
                 List<BodyDecl> p4)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 17
public ClassDecl(Modifiers p0,
                 beaver.Symbol p1,
                 Opt<Access> p2,
                 List<Access> p3,
                 List<BodyDecl> p4)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 24

Attributes

@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Constant cast(org.extendj.ast.Constant c)
Overrides:cast in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/ConstantExpression.jrag at line 72
Aspect
ConstantExpression
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Constant add(org.extendj.ast.Constant c1,
                                                         org.extendj.ast.Constant c2)
Overrides:add in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/ConstantExpression.jrag at line 138
Aspect
ConstantExpression
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Constant questionColon(org.extendj.ast.Constant cond,
                                                                   org.extendj.ast.Constant c1,
                                                                   org.extendj.ast.Constant c2)
Overrides:questionColon in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/ConstantExpression.jrag at line 202
Aspect
ConstantExpression
@ASTNodeAnnotation.Attribute
syn boolean eqIsTrue(Expr left,
                                             Expr right)
Overrides:eqIsTrue in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/ConstantExpression.jrag at line 326
Aspect
ConstantExpression
Overrides:lineNumber in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/ErrorCheck.jrag at line 45
Aspect
ErrorCheck
Overrides:lookupSuperConstructor in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 42
Aspect
ConstructScope
Overrides:constructors in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 127
Aspect
ConstructorLookup
A class declaration requires an implicit constructor if it has no explicit constructor.
Returns:
true if this class requires an implicit default contstructor.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 213
Aspect
ImplicitConstructor
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 236
Aspect
ImplicitConstructor
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 323
Aspect
ImplicitConstructor
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet interfacesMethodsSignature(java.lang.String signature)
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 406
Aspect
MemberMethods
@ASTNodeAnnotation.Attribute
syn java.util.Map<java.lang.String,org.extendj.ast.SimpleSet> methodsSignatureMap()
Overrides:methodsSignatureMap in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 466
Aspect
MemberMethods
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet ancestorMethods(java.lang.String signature)
Overrides:ancestorMethods in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 536
Aspect
AncestorMethods
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet memberTypes(java.lang.String name)
Overrides:memberTypes in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 619
Aspect
TypeScopePropagation
Overrides:memberFieldsMap in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupVariable.jrag at line 383
Aspect
Fields
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet memberFields(java.lang.String name)
Overrides:memberFields in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupVariable.jrag at line 435
Aspect
Fields
Overrides:unimplementedMethods in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 37
Aspect
Modifiers
Overrides:hasAbstract in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 35
Aspect
Modifiers
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 241
Aspect
PrettyPrintUtil
Overrides:castingConversionTo in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 109
Aspect
TypeConversion
Overrides:isClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 231
Aspect
TypeAnalysis
Overrides:isString in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 248
Aspect
TypeAnalysis
Overrides:isObject in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 251
Aspect
TypeAnalysis
Overrides:instanceOf in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 442
Aspect
TypeWideningAndIdentity
Overrides:isSupertypeOfClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 458
Aspect
TypeWideningAndIdentity
Overrides:isSupertypeOfInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 478
Aspect
TypeWideningAndIdentity
Overrides:isSupertypeOfArrayDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 493
Aspect
TypeWideningAndIdentity
Overrides:isInnerClass in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 585
Aspect
NestedTypes
Overrides:typeDescriptor in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/ConstantPoolNames.jrag at line 77
Aspect
ConstantPoolNames
Overrides:arrayTypeDescriptor in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 900
Aspect
CreateBCode
@ASTNodeAnnotation.Attribute
syn java.util.Collection bcMethods()
Overrides:bcMethods in class ReferenceType
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 328
Aspect
GenerateClassfile
Overrides:superEnclosing in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 499
Aspect
InnerClasses
Overrides:annotation in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 292
Aspect
Annotations
@ASTNodeAnnotation.Attribute
syn java.util.Map<java.lang.String,org.extendj.ast.SimpleSet> erasedAncestorMethodsMap()
Overrides:erasedAncestorMethodsMap in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 496
Aspect
GenericsTypeCheck
Overrides:implementedInterfaces in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 614
Aspect
GenericsTypeCheck
Overrides:supertypeClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 448
Aspect
GenericsSubtype
Overrides:supertypeInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 465
Aspect
GenericsSubtype
Overrides:supertypeArrayDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 480
Aspect
GenericsSubtype
A type is reifiable if it either refers to a non-parameterized type, is a raw type, is a parameterized type with only unbound wildcard parameters or is an array type with a reifiable type parameter.
Overrides:isReifiable in class TypeDecl
See Also:
"JLS SE7 §4.7"
Source
Declared in /home/jesper/git/extendj/java5/frontend/ReifiableTypes.jrag at line 39
Aspect
ReifiableTypes
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet bridgeCandidates(java.lang.String signature)
Overrides:bridgeCandidates in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 228
Aspect
GenericsCodegen
Overrides:needsSignatureAttribute in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 345
Aspect
GenericsCodegen
Overrides:classSignature in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 401
Aspect
GenericsCodegen
Overrides:strictSupertypeClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 370
Aspect
StrictSubtype
Overrides:strictSupertypeInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 390
Aspect
StrictSubtype
Overrides:strictSupertypeArrayDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 407
Aspect
StrictSubtype
Source
Declared in /home/jesper/git/extendj/java8/frontend/MethodSignature.jrag at line 1066
Aspect
MethodSignature18

Methods

public void accessControl()
Overrides:accessControl in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/AccessControl.jrag at line 175
Aspect
AccessControl
public void collectErrors()
Description copied from class: ASTNodeThe collectErrors method is refined so that it calls the checkWarnings method on each ASTNode to report unchecked warnings.
Overrides:collectErrors in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/ErrorCheck.jrag at line 243
Aspect
ErrorCheck
public void checkModifiers()
Overrides:checkModifiers in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 122
Aspect
Modifiers
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 362
Aspect
Java4PrettyPrint
public boolean hasSuperclass()
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 647
Aspect
SuperClasses
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 651
Aspect
SuperClasses
public java.util.Iterator<TypeDecl> interfacesIterator()
Description copied from class: TypeDeclIterate over interfaces which this type implements.
Overrides:interfacesIterator in class TypeDecl
Returns:
interface iterator
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 688
Aspect
SuperClasses
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 321
Aspect
TypeHierarchyCheck
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 362
Aspect
TypeHierarchyCheck
public void generateClassfile()
Overrides:generateClassfile in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag at line 59
Aspect
GenerateClassfile
public void transformation()
Overrides:transformation in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/backend/Transformations.jrag at line 56
Aspect
Transformations
Overrides:makeGeneric in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 231
Aspect
Generics
public ClassDecl substitutedClassDecl(org.extendj.ast.Parameterization parTypeDecl)
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1424
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 ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 34
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 40
public void flushAttrCache()
Overrides:flushAttrCache in class ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 46
public void flushCollectionCache()
Overrides:flushCollectionCache in class ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 74
public void flushRewriteCache()
Overrides:flushRewriteCache in class ReferenceType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 80
public ClassDecl clone()
                throws java.lang.CloneNotSupportedException
Overrides:clone in class ReferenceType
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 86
public ClassDecl copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 93
@Deprecated
public ClassDecl 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 ReferenceType
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
public ClassDecl 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 ReferenceType
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 122
public ClassDecl 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 ReferenceType
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 147
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 154
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class ReferenceType
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class ReferenceType
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class ReferenceType
Returns:
The current node used as the Modifiers child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class ReferenceType
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.
Overrides:setID in class ReferenceType
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.
Overrides:getID in class ReferenceType
Returns:
The value for the lexeme ID.
public void setSuperClassOpt(Opt<Access> opt)
Replaces the optional node for the SuperClass child. This is the Opt node containing the child SuperClass, not the actual child!
Parameters:
opt - The new node to be used as the optional node for the SuperClass child.
public void setSuperClass(Access node)
Replaces the (optional) SuperClass child.
Parameters:
node - The new node to be used as the SuperClass child.
public boolean hasSuperClass()
Check whether the optional SuperClass child exists.
Returns:
true if the optional SuperClass child exists, false if it does not.
Retrieves the (optional) SuperClass child.
Returns:
The SuperClass child, if it exists. Returns null otherwise.
Retrieves the optional node for the SuperClass child. This is the Opt node containing the child SuperClass, not the actual child!
Returns:
The optional node for child the SuperClass child.
Retrieves the optional node for child SuperClass. This is the Opt node containing the child SuperClass, not the actual child!

This method does not invoke AST transformations.

Returns:
The optional node for child SuperClass.
public void setImplementsList(List<Access> list)
Replaces the Implements list.
Parameters:
list - The new list node to be used as the Implements list.
public int getNumImplements()
Retrieves the number of children in the Implements list.
Returns:
Number of children in the Implements list.
Retrieves the number of children in the Implements list. Calling this method will not trigger rewrites.
Returns:
Number of children in the Implements list.
public Access getImplements(int i)
Retrieves the element at index i in the Implements list.
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Implements list.
public boolean hasImplements()
Check whether the Implements list has any children.
Returns:
true if it has at least one child, false otherwise.
public void addImplements(Access node)
Append an element to the Implements list.
Parameters:
node - The element to append to the Implements list.
public void addImplementsNoTransform(Access node)
public void setImplements(Access node,
                          int i)
Replaces the Implements 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 Implements list.
Returns:
The node representing the Implements list.
Retrieves the Implements list.

This method does not invoke AST transformations.

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

This method does not invoke AST transformations.

Returns:
The node representing the Implements list.
public void setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
Overrides:setBodyDeclList in class ReferenceType
Parameters:
list - The new list node to be used as the BodyDecl list.
public int getNumBodyDecl()
Retrieves the number of children in the BodyDecl list.
Overrides:getNumBodyDecl in class ReferenceType
Returns:
Number of children in the BodyDecl list.
Retrieves the number of children in the BodyDecl list. Calling this method will not trigger rewrites.
Overrides:getNumBodyDeclNoTransform in class ReferenceType
Returns:
Number of children in the BodyDecl list.
public BodyDecl getBodyDecl(int i)
Retrieves the element at index i in the BodyDecl list.
Overrides:getBodyDecl in class ReferenceType
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the BodyDecl list.
public boolean hasBodyDecl()
Check whether the BodyDecl list has any children.
Overrides:hasBodyDecl in class ReferenceType
Returns:
true if it has at least one child, false otherwise.
public void addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
Overrides:addBodyDecl in class ReferenceType
Parameters:
node - The element to append to the BodyDecl list.
public void setBodyDecl(BodyDecl node,
                        int i)
Replaces the BodyDecl list element at index i with the new node node.
Overrides:setBodyDecl in class ReferenceType
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the BodyDecl list.
Overrides:getBodyDeclList in class ReferenceType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclListNoTransform in class ReferenceType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.
Overrides:getBodyDecls in class ReferenceType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclsNoTransform in class ReferenceType
Returns:
The node representing the BodyDecl list.
Replaces the (optional) ImplicitConstructor child.
Parameters:
node - The new node to be used as the ImplicitConstructor child.
public boolean hasImplicitConstructor()
Check whether the optional ImplicitConstructor child exists.
Returns:
true if the optional ImplicitConstructor child exists, false if it does not.
Retrieves the (optional) ImplicitConstructor child.
Returns:
The ImplicitConstructor child, if it exists. Returns null otherwise.
Retrieves the optional node for child ImplicitConstructor. This is the Opt node containing the child ImplicitConstructor, not the actual child!

This method does not invoke AST transformations.

Returns:
The optional node for child ImplicitConstructor.
Retrieves the child position of the optional child ImplicitConstructor.
Returns:
The the child position of the optional child ImplicitConstructor.
public void typeCheck()
Overrides:typeCheck in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 563
Aspect
GenericsTypeCheck
public void nameCheck()
Overrides:nameCheck in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/NameCheck.jrag at line 311
Aspect
Java8NameCheck
public org.extendj.ast.SimpleSet Define_lookupType(ASTNode caller,
                                                   ASTNode child,
                                                   java.lang.String name)
Overrides:Define_lookupType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericMethods.jrag at line 197
protected boolean canDefine_lookupType(ASTNode caller,
                                       ASTNode child,
                                       java.lang.String name)
public boolean Define_mayBeFinal(ASTNode caller,
                                 ASTNode child)
Overrides:Define_mayBeFinal in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 423
protected boolean canDefine_mayBeFinal(ASTNode caller,
                                       ASTNode child)
public org.extendj.ast.NameType Define_nameType(ASTNode caller,
                                                ASTNode child)
Overrides:Define_nameType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag at line 36
protected boolean canDefine_nameType(ASTNode caller,
                                     ASTNode child)
Overrides:Define_enclosingType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 544
protected boolean canDefine_enclosingType(ASTNode caller,
                                          ASTNode child)
public TypeDecl Define_hostType(ASTNode caller,
                                ASTNode child)
Overrides:Define_hostType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java7/frontend/MultiCatch.jrag at line 71
protected boolean canDefine_hostType(ASTNode caller,
                                     ASTNode child)
public boolean Define_withinSuppressWarnings(ASTNode caller,
                                             ASTNode child,
                                             java.lang.String annot)
Overrides:Define_withinSuppressWarnings in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/SuppressWarnings.jrag at line 38
protected boolean canDefine_withinSuppressWarnings(ASTNode caller,
                                                   ASTNode child,
                                                   java.lang.String annot)
public boolean Define_withinDeprecatedAnnotation(ASTNode caller,
                                                 ASTNode child)
Overrides:Define_withinDeprecatedAnnotation in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 449
protected boolean canDefine_withinDeprecatedAnnotation(ASTNode caller,
                                                       ASTNode child)
public boolean Define_inExtendsOrImplements(ASTNode caller,
                                            ASTNode child)
Overrides:Define_inExtendsOrImplements in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 338
protected boolean canDefine_inExtendsOrImplements(ASTNode caller,
                                                  ASTNode child)
Overrides:rewriteTo in class ReferenceType
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public org.extendj.ast.SimpleSet lookupVariable(java.lang.String name)

Fields

protected boolean constructors_computed
protected java.util.Collection<ConstructorDecl> constructors_value
protected java.util.Map<java.lang.String,org.extendj.ast.SimpleSet> methodsSignatureMap_value
protected java.util.Map ancestorMethods_String_values
protected java.util.Map memberTypes_String_values
protected boolean memberFieldsMap_computed
protected java.util.HashMap memberFieldsMap_value
protected java.util.Map memberFields_String_values
protected java.util.Collection unimplementedMethods_value
protected boolean hasAbstract_computed
protected boolean hasAbstract_value
protected java.util.Map castingConversionTo_TypeDecl_values
protected boolean isString_computed
protected boolean isString_value
protected boolean isObject_computed
protected boolean isObject_value
protected java.util.Map instanceOf_TypeDecl_values
protected int isCircular_visited
protected boolean isCircular_computed
protected boolean isCircular_initialized
protected boolean isCircular_value
protected boolean typeDescriptor_computed
protected java.lang.String typeDescriptor_value
protected java.util.Map<java.lang.String,org.extendj.ast.SimpleSet> erasedAncestorMethodsMap_value
protected java.util.HashSet<InterfaceDecl> implementedInterfaces_value
protected java.util.Map subtype_TypeDecl_values
protected boolean classSignature_computed
protected java.lang.String classSignature_value
protected java.util.Map strictSubtype_TypeDecl_values
public static final org.extendj.ast.SimpleSet emptySet
public static final org.extendj.ast.SimpleSet fullSet

Inherited Members

Attributes inherited from org.extendj.ast.ReferenceType

Attributes inherited from org.extendj.ast.TypeDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ReferenceType

Methods inherited from class org.extendj.ast.TypeDecl

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

Fields inherited from org.extendj.ast.TypeDecl

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value