| java.lang.Object com.sun.tools.javac.code.Lint
Lint | public class Lint (Code) | | A class for handling -Xlint suboptions and @SuppresssWarnings.
This is NOT part of any API supported by Sun Microsystems. 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.
|
Inner Class :public enum LintCategory | |
Method Summary | |
public Lint | augment(Attribute.Compound attr) Returns the result of combining the values in this object with
the given annotation. | public Lint | augment(List<Attribute.Compound> attrs) Returns the result of combining the values in this object with
the given annotations. | public Lint | augment(List<Attribute.Compound> attrs, long flags) Returns the result of combining the values in this object with
the given annotations and flags. | public static Lint | instance(Context context) Get the root Lint instance. | public boolean | isEnabled(LintCategory lc) Checks if a warning category is enabled. | public boolean | isSuppressed(LintCategory lc) Checks is a warning category has been specifically suppressed, by means
of the SuppressWarnings annotation, or, in the case of the deprecated
category, whether it has been implicitly suppressed by virtue of the
current entity being itself deprecated. | public String | toString() |
augment | public Lint augment(Attribute.Compound attr)(Code) | | Returns the result of combining the values in this object with
the given annotation.
|
augment | public Lint augment(List<Attribute.Compound> attrs, long flags)(Code) | | Returns the result of combining the values in this object with
the given annotations and flags.
|
instance | public static Lint instance(Context context)(Code) | | Get the root Lint instance.
|
isEnabled | public boolean isEnabled(LintCategory lc)(Code) | | Checks if a warning category is enabled. A warning category may be enabled
on the command line, or by default, and can be temporarily disabled with
the SuppressWarnings annotation.
|
isSuppressed | public boolean isSuppressed(LintCategory lc)(Code) | | Checks is a warning category has been specifically suppressed, by means
of the SuppressWarnings annotation, or, in the case of the deprecated
category, whether it has been implicitly suppressed by virtue of the
current entity being itself deprecated.
|
|
|