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

项目:intellij-ce-playground    文件:ContinueStatementWithLabelInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  final PsiIdentifier label = statement.getLabelIdentifier();
  if (label == null) {
    return;
  }
  final String labelText = label.getText();
  if (labelText == null) {
    return;
  }
  if (labelText.length() == 0) {
    return;
  }
  registerStatementError(statement);
}
项目:intellij-ce-playground    文件:ContinueOrBreakFromFinallyBlockInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  if (!ControlFlowUtils.isInFinallyBlock(statement)) {
    return;
  }
  final PsiStatement continuedStatement =
    statement.findContinuedStatement();
  if (continuedStatement == null) {
    return;
  }
  if (ControlFlowUtils.isInFinallyBlock(continuedStatement)) {
    return;
  }
  registerStatementError(statement);
}
项目:tools-idea    文件:ContinueStatementWithLabelInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  final PsiIdentifier label = statement.getLabelIdentifier();
  if (label == null) {
    return;
  }
  final String labelText = label.getText();
  if (labelText == null) {
    return;
  }
  if (labelText.length() == 0) {
    return;
  }
  registerStatementError(statement);
}
项目:tools-idea    文件:ContinueOrBreakFromFinallyBlockInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  if (!ControlFlowUtils.isInFinallyBlock(statement)) {
    return;
  }
  final PsiStatement continuedStatement =
    statement.findContinuedStatement();
  if (continuedStatement == null) {
    return;
  }
  if (ControlFlowUtils.isInFinallyBlock(continuedStatement)) {
    return;
  }
  registerStatementError(statement);
}
项目:consulo-java    文件:ContinueStatementWithLabelInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  final PsiIdentifier label = statement.getLabelIdentifier();
  if (label == null) {
    return;
  }
  final String labelText = label.getText();
  if (labelText == null) {
    return;
  }
  if (labelText.length() == 0) {
    return;
  }
  registerStatementError(statement);
}
项目:consulo-java    文件:ContinueOrBreakFromFinallyBlockInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  if (!ControlFlowUtils.isInFinallyBlock(statement)) {
    return;
  }
  final PsiStatement continuedStatement =
    statement.findContinuedStatement();
  if (continuedStatement == null) {
    return;
  }
  if (ControlFlowUtils.isInFinallyBlock(continuedStatement)) {
    return;
  }
  registerStatementError(statement);
}
项目:Android_Lint_SRP_Practice_Example    文件:PsiClassStructureDetector.java   
@Override
public void visitContinueStatement(PsiContinueStatement statement) {
    mVisitor.report("PsiContinueStatement", statement.getText(), statement);
    super.visitStatement(statement);
}
项目:intellij-ce-playground    文件:ContinueStatementInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  registerStatementError(statement);
}
项目:tools-idea    文件:ContinueStatementInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  registerStatementError(statement);
}
项目:consulo-java    文件:ContinueStatementInspection.java   
@Override
public void visitContinueStatement(
  @NotNull PsiContinueStatement statement) {
  super.visitContinueStatement(statement);
  registerStatementError(statement);
}