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

public Class MissingInfoHandler

extends Object
Class Inheritance
Imports
com.sun.source.util.ParameterNameProvider, com.sun.tools.javac.code.Symbol.ParamSymbol, com.sun.tools.javac.util.Context, .Name, .Names

A Context class, that can return additional useful information for Symbols, currently parameter names. It does so by calling user-supplied ParameterNameProvider.

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<MissingInfoHandler>
private final Names
private ParameterNameProvider

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public Name
public static MissingInfoHandler
instance(Context context)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

missingInfoHandlerWrapperKeyback to summary
protected static final Context.Key<MissingInfoHandler> missingInfoHandlerWrapperKey
namesback to summary
private final Names names
parameterNameProviderback to summary
private ParameterNameProvider parameterNameProvider

Constructor Detail

MissingInfoHandlerback to summary
protected MissingInfoHandler(Context context)
Annotations
@SuppressWarnings:this-escape

Method Detail

getParameterNameback to summary
public Name getParameterName(Symbol.ParamSymbol parameter)
instanceback to summary
public static MissingInfoHandler instance(Context context)
setDelegateback to summary
public void setDelegate(ParameterNameProvider delegate)