All Methods Static Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
static PsiType |
buildTypeFromTypeString(java.lang.String typeName,
PsiElement context,
PsiFile psiFile) |
static void |
collectTypeUseAnnotations(PsiModifierList modifierList,
java.util.List<? super PsiAnnotation> annotations) |
static void |
deleteTypeAnnotations(PsiTypeElement typeElement) |
static java.util.List<java.lang.String> |
findAllEnclosingLabels(PsiElement start) |
static PsiAnnotation |
findAnnotation(PsiAnnotationOwner annotationOwner,
java.lang.String qualifiedName) |
static PsiAnnotation.TargetType |
findApplicableTarget(PsiAnnotation annotation,
PsiAnnotation.TargetType... types)
|
static PsiAnnotation.TargetType |
findApplicableTarget(PsiClass annotationType,
PsiAnnotation.TargetType... types)
|
static PsiAnnotationMemberValue |
findAttributeValue(PsiAnnotation annotation,
java.lang.String attributeName) |
static PsiAnnotationMemberValue |
findDeclaredAttributeValue(PsiAnnotation annotation,
java.lang.String attributeName) |
static ASTNode |
findDocComment(CompositeElement element) |
static PsiJavaDocumentedElement |
findDocCommentOwner(PsiDocComment comment) |
static PsiLabeledStatement |
findEnclosingLabeledStatement(PsiElement start,
java.lang.String label) |
static PsiLoopStatement |
findEnclosingLoop(PsiElement start) |
static PsiSwitchExpression |
findEnclosingSwitchExpression(PsiElement start) |
static PsiStatement |
findEnclosingSwitchOrLoop(PsiElement start) |
static PsiModifierList |
findNeighbourModifierList(PsiJavaCodeReferenceElement ref) |
static ASTNode |
findStatementChild(CompositePsiElement statement) |
static PsiStatement [] |
getChildStatements(CompositeElement psiCodeBlock) |
static PsiMethod [] |
getConstructors(PsiClass aClass) |
static SearchScope |
getMemberUseScope(PsiMember member) |
static VirtualFile |
getModuleVirtualFile(PsiJavaModule module) |
static int |
getParameterIndex(PsiParameter parameter,
PsiParameterList parameterList) |
static java.lang.Object [] |
getReferenceVariantsByFilter(PsiJavaCodeReferenceElement reference,
ElementFilter filter) |
static PsiSwitchLabelStatementBase |
getSwitchLabel(PsiExpression expression)
Returns enclosing label statement for given label expression
|
static PsiAnnotation.TargetType [] |
getTargetsForLocation(PsiAnnotationOwner owner)
|
static PsiType |
getType(PsiClassObjectAccessExpression classAccessExpression) |
static int |
getTypeParameterIndex(PsiTypeParameter typeParameter,
PsiTypeParameterList typeParameterList) |
static PsiTypeParameter [] |
getTypeParameters(PsiTypeParameterListOwner owner) |
static PsiElement |
handleMirror(PsiElement element) |
static boolean |
hasTypeParameters(PsiTypeParameterListOwner owner) |
static boolean |
isDeprecated(PsiElement psiElement)
Checks if the given PSI element is deprecated with annotation or JavaDoc tag.
|
static boolean |
isDeprecatedByAnnotation(PsiModifierListOwner owner) |
static boolean |
isDeprecatedByDocTag(PsiJavaDocumentedElement owner) |
static boolean |
isInServerPage(PsiElement element) |
static boolean |
isLeafElementOfType(PsiElement element,
IElementType type) |
static boolean |
isLeafElementOfType(PsiElement element,
TokenSet tokenSet) |
static boolean |
isTypeAnnotation(PsiElement element) |
static boolean |
isVarArgs(PsiMethod method) |
static boolean |
isWhitespaceOrComment(ASTNode element) |
static void |
markTypeAnnotations(PsiTypeElement typeElement) |
static <T extends PsiJavaCodeReferenceElement> JavaResolveResult [] |
multiResolveImpl(Project project,
PsiFile psiFile,
T element,
boolean incompleteCode,
ResolveCache.PolyVariantContextResolver<? super T> resolver) |
static <T extends PsiJavaCodeReferenceElement> JavaResolveResult [] |
multiResolveImpl(T element,
boolean incompleteCode,
ResolveCache.PolyVariantContextResolver<? super T> resolver) |
static PsiJavaCodeReferenceElement [] |
namesToPackageReferences(PsiManager manager,
java.lang.String [] names) |
static PsiType |
normalizeWildcardTypeByPosition(PsiType type,
PsiExpression expression)
|
static boolean |
processDeclarationsInLambda(PsiLambdaExpression lambda,
PsiScopeProcessor processor,
ResolveState state,
PsiElement lastParent,
PsiElement place) |
static boolean |
processDeclarationsInMethod(PsiMethod method,
PsiScopeProcessor processor,
ResolveState state,
PsiElement lastParent,
PsiElement place) |
static boolean |
processDeclarationsInResourceList(PsiResourceList resourceList,
PsiScopeProcessor processor,
ResolveState state,
PsiElement lastParent) |
static PsiAnnotationMemberValue |
setDeclaredAttributeValue(PsiAnnotation psiAnnotation,
java.lang.String attributeName,
PsiAnnotationMemberValue value,
PairFunction<? super Project,? super java.lang.String,? extends PsiAnnotation> annotationCreator) |
static PsiElement |
setName(PsiElement element,
java.lang.String name) |
static ASTNode |
skipWhitespaceAndComments(ASTNode node) |
static ASTNode |
skipWhitespaceAndCommentsBack(ASTNode node) |
static ASTNode |
skipWhitespaceCommentsAndTokens(ASTNode node,
TokenSet alsoSkip) |
static PsiType [] |
typesByReferenceParameterList(PsiReferenceParameterList parameterList) |
static PsiType [] |
typesByTypeElements(PsiTypeElement [] typeElements) |