public class PsiAnonymousClassImpl extends PsiClassImpl implements PsiAnonymousClass
Iconable.IconFlags, Iconable.LastComputedIconQueryable.Contributor, Queryable.PrintInfo, Queryable.UtilCREATION_TRACE, ourTraceStubAstBindingFLAGS_LOCKED, ICON_PLACEHOLDERARRAY_FACTORY, EMPTY_ARRAYEMPTY_NAVIGATABLE_ELEMENT_ARRAYEMPTY_NAVIGATION_ITEM_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description |
|---|
PsiAnonymousClassImpl(ASTNode node) |
PsiAnonymousClassImpl(PsiClassStub stub) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
protected java.lang.Object |
clone() |
PsiExpressionList |
getArgumentList()
Returns the list of arguments passed to the base class constructor.
|
PsiJavaCodeReferenceElement |
getBaseClassReference()
Returns the reference element specifying the base class for the anonymous class.
|
PsiClassType |
getBaseClassType()
Returns the type for the base class of the anonymous class.
|
PsiClass |
getContainingClass()
For an inner class, returns its containing class.
|
PsiReferenceList |
getExtendsList()
Returns the list of classes that this class or interface extends.
|
PsiReferenceList |
getImplementsList()
Returns the list of interfaces that this class implements.
|
PsiModifierList |
getModifierList()
Returns the list of modifiers for the element.
|
PsiIdentifier |
getNameIdentifier()
Returns the name identifier of the class.
|
PsiElement |
getOriginalElement()
Returns the PSI element which corresponds to this element and belongs to
either the project source path or class path.
|
java.lang.String |
getQualifiedName()
Returns the fully qualified name of the class.
|
PsiTypeParameterList |
getTypeParameterList()
Returns the type parameter list for the element.
|
boolean |
hasModifierProperty(java.lang.String name)
Checks if the element has the specified modifier.
|
boolean |
isAnnotationType()
Checks if the class is an annotation type.
|
boolean |
isEnum()
Checks if the class is an enumeration.
|
boolean |
isInQualifiedNew() |
boolean |
isInterface()
Checks if the class is an interface.
|
boolean |
processDeclarations(PsiScopeProcessor processor,
ResolveState state,
PsiElement lastParent,
PsiElement place)
Passes the declarations contained in this PSI element and its children
for processing to the specified scope processor.
|
void |
subtreeChanged() |
java.lang.String |
toString()
toString() should never be presented to the user.
|
calcBasesResolveContext, findFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getContext, getDocComment, getElementIcon, getExtendsListTypes, getFields, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getLBrace, getMethods, getName, getNode, getOwnFields, getOwnInnerClasses, getOwnMethods, getPresentation, getRBrace, getRecordComponents, getRecordHeader, getScope, getSuperClass, getSupers, getSuperTypes, getTypeParameters, getUseScope, getValuesMethod, getVisibleSignatures, hasTypeParameters, isDeprecated, isEquivalentTo, isInheritor, isInheritorDeep, isRecord, isVisibilitySupported, putInfo, putInfo, setNameacceptChildren, add, addAfter, addBefore, calcTreeElement, checkAdd, cloneImpl, delete, deleteChildRange, getChildren, getLanguage, getTextOffset, replacegetContainingFile, getElementType, getGreenStub, getManager, getParent, getParentByStub, getParentByTree, getProject, getRequiredStubOrPsiChild, getStub, getStubOrPsiChild, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiParentOfType, isPhysical, isValid, isWritable, setNode, setSubstrateRefaddInternal, addRange, addRangeAfter, addRangeBefore, checkDelete, copy, deleteChildInternal, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByType, findNotNullChildByType, getCopyableUserData, getFirstChild, getLastChild, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextRange, putCopyableUserData, replaceChildInternal, textContains, textMatches, textToCharArraycanNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getNavigationElement, getReference, getReferences, getResolveScope, navigate, notNullChild, textMatchesbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getClassKind, getConstructors, getExtendsListTypes, getFields, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getInterfaceTypes, getLBrace, getMethods, getRBrace, getRecordComponents, getRecordHeader, getScope, getSuperClass, getSuperClassType, getSupers, getSuperTypes, getVisibleSignatures, isInheritor, isInheritorDeep, isRecord, setNamegetIdentifyingElementisDeprecatedgetDocCommentgetTypeParameters, hasTypeParametersgetName, getPresentationcanNavigate, canNavigateToSource, navigategetAnnotation, getAnnotations, getSourceElement, hasAnnotation, hasModifieracceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArraygetUserData, putUserDatagetNamegetNavigationElementisWritablegetNamegetElementType, getStubpublic PsiAnonymousClassImpl(PsiClassStub stub)
public PsiAnonymousClassImpl(ASTNode node)
protected java.lang.Object clone()
clone in class PsiClassImplpublic void subtreeChanged()
subtreeChanged in class PsiClassImplpublic PsiExpressionList getArgumentList()
PsiAnonymousClassgetArgumentList in interface PsiAnonymousClasspublic PsiJavaCodeReferenceElement getBaseClassReference()
PsiAnonymousClassgetBaseClassReference in interface PsiAnonymousClasspublic PsiClassType getBaseClassType()
PsiAnonymousClassgetBaseClassType in interface PsiAnonymousClasspublic PsiIdentifier getNameIdentifier()
PsiClassgetNameIdentifier in interface PsiClassgetNameIdentifier in interface PsiNameIdentifierOwnergetNameIdentifier in class PsiClassImplpublic java.lang.String getQualifiedName()
PsiClassgetQualifiedName in interface JvmClassgetQualifiedName in interface PsiClassgetQualifiedName in interface PsiQualifiedNamedElementgetQualifiedName in class PsiClassImplClass.getCanonicalName()public PsiModifierList getModifierList()
PsiModifierListOwnergetModifierList in interface PsiModifierListOwnergetModifierList in class PsiClassImplpublic boolean hasModifierProperty(java.lang.String name)
PsiModifierListOwnerPsiModifier class.hasModifierProperty in interface PsiModifierListOwnerhasModifierProperty in class PsiClassImplname - the name of the modifier to check.public PsiReferenceList getExtendsList()
PsiClassgetExtendsList in interface PsiClassgetExtendsList in class PsiClassImplpublic PsiReferenceList getImplementsList()
PsiClassgetImplementsList in interface PsiClassgetImplementsList in class PsiClassImplpublic PsiClass getContainingClass()
PsiClassgetContainingClass in interface JvmMembergetContainingClass in interface PsiClassgetContainingClass in interface PsiJvmMembergetContainingClass in interface PsiMembergetContainingClass in class PsiClassImplMember.getDeclaringClass()public boolean isInterface()
PsiClassisInterface in interface PsiClassisInterface in class PsiClassImplpublic boolean isAnnotationType()
PsiClassisAnnotationType in interface PsiClassisAnnotationType in class PsiClassImplpublic boolean isEnum()
PsiClassisEnum in interface PsiClassisEnum in class PsiClassImplpublic PsiTypeParameterList getTypeParameterList()
PsiTypeParameterListOwnergetTypeParameterList in interface PsiTypeParameterListOwnergetTypeParameterList in class PsiClassImplpublic PsiElement getOriginalElement()
PsiElementthis or substitute a different element if this element does
not belong to the source path or class path. (For example, the original
element for a library source file is the corresponding compiled class file.)getOriginalElement in interface PsiElementgetOriginalElement in class PsiClassImplpublic void accept(PsiElementVisitor visitor)
PsiElementaccept in interface PsiElementaccept in class PsiClassImplvisitor - the visitor to pass the element to.public java.lang.String toString()
PsiElementtoString in interface PsiElementtoString in class PsiClassImplpublic boolean processDeclarations(PsiScopeProcessor processor, ResolveState state, PsiElement lastParent, PsiElement place)
PsiElementprocessDeclarations in interface PsiElementprocessDeclarations in class PsiClassImplprocessor - the processor receiving the declarations.lastParent - the child of this element has been processed during the previous
step of the tree up walk (declarations under this element do not need
to be processed again)place - the original element from which the tree up walk was initiated.public boolean isInQualifiedNew()
isInQualifiedNew in interface PsiAnonymousClass