Package com.intellij.psi

Provides interfaces for working with the Program Source Interface (IDEA's internal representation of the program structure).

See:
          Description

Interface Summary
AspectPatternMatcher  
CustomHighlighterTokenType  
ImplicitVariable  
JavaDocTokenType  
JavaResolveResult JavaResolveResult holds additional information that is obtained when Java references are being resolved
JavaTokenType  
PsiAnnotation Represents a Java annotation.
PsiAnnotationMemberValue Represents a PSI element which can be used as the value of an annotation element.
PsiAnnotationMethod Represents a method which is declared on an annotation interface and possibly specifies the default value of the annotation element.
PsiAnnotationParameterList Represents the list of name/value elements for an annotation.
PsiAnonymousClass Represents a Java anonymous class.
PsiArrayAccessExpression Represents an array access expession, for example, i [1].
PsiArrayInitializerExpression Represents an array initializer expression.
PsiArrayInitializerMemberValue Represents an array used as a value of an annotation element.
PsiAspectManager AspectJ functionality; currently not supported.
PsiAspectManagerListener AspectJ functionality; currently not supported.
PsiAssertStatement Represents a Java assert statement.
PsiAssignmentExpression Represents a simple assignment (a=b) or a compound assignment (a+=1) expression.
PsiBinaryExpression Represents a Java binary expression (addition, multiplication and so on).
PsiBinaryFile Represents a binary file.
PsiBlockStatement Represents a Java block statement (sequence of statements surrounded with curly braces).
PsiBreakStatement Represents a Java break statement.
PsiCall Represents the call of a Java method or constructor or a Java enum constant..
PsiCallExpression Represents the call of a Java method or constructor.
PsiCatchSection Represents a single catch section of a Java try ... catch statement.
PsiClass Represents a Java class or interface.
PsiClassInitializer Represents a Java class initializer block.
PsiClassObjectAccessExpression Represents a class literal expression (for example, String.class).
PsiClassType.ClassResolveResult Represents the result of resolving a reference to a Java class.
PsiCodeBlock Represents a Java code block, usually surrounded by curly braces.
PsiCodeFragment Represents a fragment of Java code which exists outside of a project structure (for example, in a foreign language code or in a user interface element other than the main source code editor).
PsiCodeFragment.ExceptionHandler Interface used to determine which exceptions are considered handled in the context where the fragment is used.
PsiCodeFragment.VisibilityChecker Interface used to determine the visibility of declarations from the code fragment.
PsiComment Represents a comment in Java code or in a custom language.
PsiCompiledElement Represents an element in a Java library used in a project.
PsiConditionalExpression Represents a Java conditional expression (for example, a ?
PsiConstructorCall Represents a Java constructor call or enum constant.
PsiContinueStatement Represents a Java continue statement.
PsiDeclarationStatement Represents a Java local variable or class declaration statement.
PsiDirectory Represents a file system directory and allows to access its contents.
PsiDocCommentOwner Represents a PSI element which can have an attached JavaDoc comment.
PsiDocumentManager.Listener Listener for receiving notifications about creation of Document and PsiFile instances.
PsiDoWhileStatement Represents a Java do ... while statement.
PsiElement The common base interface for all elements of the PSI tree.
PsiElementFactory Service for creating instances of Java, JavaDoc, AspectJ and XML PSI elements which don't have an underlying source code file.
PsiElementFinder Allows to extend the mechanism of locating classes and packages by full-qualified name.
PsiEmptyStatement Represents an empty statement in Java.
PsiEnumConstant Represents a constant in a Java enum type.
PsiEnumConstantInitializer Represents the class body attached to a constant in a Java enum type.
PsiErrorElement Represents a syntax error (for example, invalid token) in Java or custom language code.
PsiExpression Represents a Java epxression.
PsiExpressionCodeFragment Represents a fragment of Java code the contents of which is an expression.
PsiExpressionList Represents a list of expressions separated by commas.
PsiExpressionListStatement Represents the list of expressions separated by commas, used as the initialize or update part of a for loop.
PsiExpressionStatement Represents a Java expression statement.
PsiField Represents a Java field or enum constant.
PsiFile A PSI element representing a file.
PsiFileSystemItem Represents a file or directory which can be renamed.
PsiForeachStatement Represents a Java enhanced for statement.
PsiForStatement Represents a Java basic for statement.
PsiIdentifier Represents a Java identifier.
PsiIfStatement Represents a Java if or if ... else statement.
PsiImportHolder Represents a code fragment to which import statements can be added.
PsiImportList Represents the list of import statements contained in a Java or JSP file.
PsiImportStatement Represents a Java import statement.
PsiImportStatementBase Represents a Java import or import static statement.
PsiImportStaticReferenceElement Represents a reference to the member imported by a Java import static statement.
PsiImportStaticStatement Represents a Java import static statement.
PsiInstanceOfExpression Represents a Java instanceof expression.
PsiJavaCodeReferenceCodeFragment Represents a fragment of Java code the contents of which is a reference element referencing a Java class or package.
PsiJavaCodeReferenceElement Represents a reference found in Java code (either an identifier or a sequence of identifiers separated by periods, optionally with generic type arguments).
PsiJavaFile Represents a Java or JSP file.
PsiJavaReference Represents a reference found in Java code.
PsiJavaToken Represents a single token in a Java file (the lowest-level element in the Java PSI tree).
PsiKeyword Represents a Java keyword.
PsiLabeledStatement Represents a Java statement with an attached label.
PsiLiteralExpression Represents a Java literal expression.
PsiLocalVariable Represents a Java local variable.
PsiMember Represents a member of a Java class (for example, a field or a method).
PsiMethod Represents a Java method or constructor.
PsiMethodCallExpression Represents a call of a Java method.
PsiMigration  
PsiModifier Provides a list of possible modifier keywords for Java classes, methods and fields.
PsiModifierList Represents the list of modifiers and annotations on a Java element (class, method, field and so on).
PsiModifierListOwner Represents a PSI element which has a list of modifiers (public/private/protected/etc.)
PsiNamedElement A PSI element which has a name and can be renamed (for example, a class or a method).
PsiNameValuePair Represents a single element-value pair of an annotation parameter list.
PsiNewExpression Represents the call of a Java class constructor (a simple or qualified class instance creation expression, or an array creation expression).
PsiPackage Represents a Java package.
PsiPackageStatement Represents a package Java statement.
PsiParameter Represents the parameter of a Java method, foreach (enhanced for) statement or catch block.
PsiParameterList Represents the list of parameters of a Java method.
PsiParenthesizedExpression Represents a Java expression enclosed in parentheses.
PsiPlainText Represents the contents of a plain-text file.
PsiPlainTextFile Represents a plain-text file (a file belonging to the type "Text files" or a custom file type which has no associated language).
PsiPolyVariantReference Inherit this interface if you want the reference to resolve to more than one element, or if you want to provide resolve result(s) for a superset of valid resolve cases.
PsiPostfixExpression Represents a Java postfix increment or decrement expression.
PsiPrefixExpression Represents a Java expression with an unary prefix operator.
PsiReference A reference to a PSI element.
PsiReferenceExpression Represents a reference in Java code used as part of an expression.
PsiReferenceList Represents a list of Java classes referenced by the implements, extends or throws clause.
PsiReferenceParameterList Represents the list of type arguments specified on a Java reference.
PsiResolveHelper Service for resolving references to declarations.
PsiReturnStatement Represents a Java return statement.
PsiRootPackageType Deprecated.  
PsiStatement Represents a Java statement.
PsiSubstitutor Represents a mapping between type parameters and their values.
PsiSuperExpression Represents a Java super expression.
PsiSwitchLabelStatement Represents a single case or default section in a Java switch statement.
PsiSwitchStatement Represents a Java switch statement.
PsiSynchronizedStatement Represents a Java synchronized statement.
PsiThisExpression Represents a Java this expression.
PsiThrowStatement Represents a Java throw statement.
PsiTreeChangeListener Listener for receiving notifications about all changes in the PSI tree of a project.
PsiTryStatement Represents a Java try ... catch ... finally statement.
PsiTypeCastExpression Represents a Java type cast expression.
PsiTypeCodeFragment Represents a Java code fragment the contents of which is a reference to a Java type.
PsiTypeElement Represents the occurrence of a type in Java source code, for example, as a return type of the method or the type of a method parameter.
PsiTypeParameter Represents the type parameter of a generic class, interface, method or constructor.
PsiTypeParameterList Represents a list of generic type parameters for a class or method.
PsiTypeParameterListOwner Represents a PSI element (class, interface, method or constructor) which can own a type parameter list.
PsiVariable Represents a Java local variable, method parameter or field.
PsiWhileStatement Represents a Java while statement.
PsiWhiteSpace Represents a whitespace token.
ResolveResult Represents the result of resolving a reference.
SmartPsiElementPointer  
SmartTypePointer  
StringEscapesTokenTypes  
TokenType The standard lexer token types common to all languages.
 

Class Summary
BitSetUtil  
CustomHighlighterTokenType.CustomElementType  
EmptySubstitutor The substitutor which does not provide any mappings for the type parameters.
GenericsUtil  
JavaElementVisitor  
JspElementVisitor  
PsiArrayType Represents an array type.
PsiCapturedWildcardType  
PsiClassType Represents a class type.
PsiCodeFragment.VisibilityChecker.Visibility  
PsiConstantEvaluationHelper Service for evaluating values of constant expressions.
PsiDocumentManager Manages the relationship between documents and PSI trees.
PsiElementResolveResult Trivial implementation of ResolveResult.
PsiElementVisitor Visitor which can be used to visit Java, XML and AspectJ PSI elements.
PsiEllipsisType Represents the type of a variable arguments array passed as a method parameter.
PsiIntersectionType  
PsiManager The main entry point for accessing the PSI services for a project.
PsiNameHelper Service for validating and parsing Java identifiers.
PsiPrimitiveType Represents primitive types of Java language.
PsiRecursiveElementVisitor Represents a PSI element visitor which recursively visits the children of the element on which the visit was started.
PsiTreeChangeAdapter Default empty implementation of PsiTreeChangeListener.
PsiTreeChangeEvent Provides information about a change in the PSI tree of a project.
PsiType Representation of Java type (primitive type, array or class type).
PsiTypeVisitor<A> Visitor which can be used to visit Java types.
PsiWildcardType Represents a wildcard type, with bounds.
SmartPointerManager  
XmlElementVisitor  
 

Exception Summary
PsiTypeCodeFragment.IncorrectTypeException  
PsiTypeCodeFragment.NoTypeException  
PsiTypeCodeFragment.TypeSyntaxException  
 

Package com.intellij.psi Description

Provides interfaces for working with the Program Source Interface (IDEA's internal representation of the program structure).