APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.tools.javac.comp

public Class WarningAnalyzer

extends Object
Class Inheritance
Imports
com.sun.tools.javac.util.Context, .Log

This pass checks for various things to warn about. It runs after attribution and flow analysis.

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.

Field Summary

Modifier and TypeField and Description
protected static final Context.Key<WarningAnalyzer>
private final Log
private final ThisEscapeAnalyzer

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
public static WarningAnalyzer
instance(Context context)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextKeyback to summary
protected static final Context.Key<WarningAnalyzer> contextKey
logback to summary
private final Log log
thisEscapeAnalyzerback to summary
private final ThisEscapeAnalyzer thisEscapeAnalyzer

Constructor Detail

WarningAnalyzerback to summary
protected WarningAnalyzer(Context context)
Annotations
@SuppressWarnings:this-escape

Method Detail

analyzeTreeback to summary
public void analyzeTree(Env<AttrContext> env)
instanceback to summary
public static WarningAnalyzer instance(Context context)