Java 类com.intellij.psi.PsiArrayAccessExpression 实例源码

项目:intellij-ce-playground    文件:FieldReferenceInstruction.java   
@Nullable 
public PsiExpression getElementToAssert() {
  if (mySyntheticFieldName != null) return myExpression;
  return myExpression instanceof PsiArrayAccessExpression
         ? ((PsiArrayAccessExpression)myExpression).getArrayExpression()
         : ((PsiReferenceExpression)myExpression).getQualifierExpression();
}
项目:tools-idea    文件:FieldReferenceInstruction.java   
@Nullable 
public PsiExpression getElementToAssert() {
  if (mySyntheticFieldName != null) return myExpression;
  return myExpression instanceof PsiArrayAccessExpression
         ? ((PsiArrayAccessExpression)myExpression).getArrayExpression()
         : ((PsiReferenceExpression)myExpression).getQualifierExpression();
}
项目:consulo-java    文件:FieldReferenceInstruction.java   
@Nullable
public PsiExpression getElementToAssert()
{
    if(mySyntheticFieldName != null)
    {
        return myExpression;
    }
    return myExpression instanceof PsiArrayAccessExpression ? ((PsiArrayAccessExpression) myExpression).getArrayExpression() : (
            (PsiReferenceExpression) myExpression).getQualifierExpression();
}
项目:Android_Lint_SRP_Practice_Example    文件:PsiClassStructureDetector.java   
@Override
public void visitArrayAccessExpression(PsiArrayAccessExpression expression) {
    mVisitor.report("PsiArrayAccessExpression", expression.getText(), expression);
    super.visitExpression(expression);
}
项目:consulo-java    文件:ArrayAccessInstruction.java   
public ArrayAccessInstruction(@NotNull DfaValue value, @NotNull PsiArrayAccessExpression expression)
{
    myValue = value;
    myExpression = expression;
}
项目:consulo-java    文件:ArrayAccessInstruction.java   
@NotNull
public PsiArrayAccessExpression getExpression()
{
    return myExpression;
}