public class Warner extends Object
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Field and Description |
---|---|
protected boolean |
warned |
Constructor and Description |
---|
Warner() |
Warner(JCDiagnostic.DiagnosticPosition pos) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
hasLint(Lint.LintCategory lint) |
boolean |
hasNonSilentLint(Lint.LintCategory lint) |
boolean |
hasSilentLint(Lint.LintCategory lint) |
JCDiagnostic.DiagnosticPosition |
pos() |
void |
silentWarn(Lint.LintCategory lint) |
void |
warn(Lint.LintCategory lint) |
public Warner(JCDiagnostic.DiagnosticPosition pos)
public Warner()
public JCDiagnostic.DiagnosticPosition pos()
public void warn(Lint.LintCategory lint)
public void silentWarn(Lint.LintCategory lint)
public boolean hasSilentLint(Lint.LintCategory lint)
public boolean hasNonSilentLint(Lint.LintCategory lint)
public boolean hasLint(Lint.LintCategory lint)
public void clear()
Copyright © 2017 earcam. All rights reserved.