public abstract class IdeDeclaration extends Declaration
NodeImplBase.ScopedMODIFIER_ABSTRACT, MODIFIER_DYNAMIC, MODIFIER_FINAL, MODIFIER_INTERNAL, MODIFIER_NAMESPACE, MODIFIER_NATIVE, MODIFIER_OVERRIDE, MODIFIER_PRIVATE, MODIFIER_PROTECTED, MODIFIER_PUBLIC, MODIFIER_STATIC, MODIFIER_VIRTUAL, MODIFIERS_SCOPE| Modifier | Constructor and Description |
|---|---|
protected |
IdeDeclaration(AnnotationsAndModifiers am,
Ide ide) |
protected |
IdeDeclaration(Ide ide) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends AstNode> |
getChildren() |
Ide |
getIde() |
String |
getName() |
PackageDeclaration |
getPackageDeclaration() |
String[] |
getQualifiedName() |
String |
getQualifiedNameStr() |
JooSymbol |
getSymbol() |
void |
handleDuplicateDeclaration(Scope scope,
AstNode oldNode) |
boolean |
isConstructor() |
boolean |
isDeclaringCompileTimeConstant() |
boolean |
isMethod() |
boolean |
isPrimaryDeclaration() |
IdeDeclaration |
resolveDeclaration()
Resolve this declaration to the underlying Class or PredefinedType declaration
|
void |
scope(Scope scope) |
void |
setIde(Ide ide) |
String |
toString() |
protected static JooSymbol[] |
toSymbolArray(List symbols) |
analyze, computeModifiers, getAllowedModifiers, getAnnotation, getAnnotations, getAnnotations, getClassDeclaration, getCompilationUnit, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isDynamic, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isPublicApi, isStatic, setClassDeclaration, setInheritedModifiers, setParentDeclaration, setSymInheritedModifiersisClassMember, setClassMemberanalyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScopeprotected IdeDeclaration(AnnotationsAndModifiers am, Ide ide)
protected IdeDeclaration(Ide ide)
public List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class Declarationpublic Ide getIde()
public JooSymbol getSymbol()
public String getName()
public String[] getQualifiedName()
public String getQualifiedNameStr()
public void scope(Scope scope)
scope in interface AstNodescope in class Declarationpublic boolean isMethod()
public boolean isConstructor()
public IdeDeclaration resolveDeclaration()
public boolean isPrimaryDeclaration()
public boolean isDeclaringCompileTimeConstant()
public void setIde(Ide ide)
public PackageDeclaration getPackageDeclaration()
Copyright © 2002–2016 CoreMedia AG. All rights reserved.