com.sun.tools.javac.comp
Class Resolve.AccessError
java.lang.Object
com.sun.tools.javac.code.Symbol
com.sun.tools.javac.comp.Resolve.ResolveError
com.sun.tools.javac.comp.Resolve.AccessError
- All Implemented Interfaces:
- Element
- Enclosing class:
- Resolve
class Resolve.AccessError
- extends Resolve.ResolveError
Resolve error class indicating that a symbol is not accessible.
| Nested classes/interfaces inherited from class com.sun.tools.javac.code.Symbol |
Symbol.ClassSymbol, Symbol.Completer, Symbol.CompletionFailure, Symbol.DelegatedSymbol, Symbol.Level, Symbol.MethodSymbol, Symbol.OperatorSymbol, Symbol.PackageSymbol, Symbol.TypeSymbol, Symbol.VarSymbol, Symbol.Visitor<R,P> |
| Methods inherited from class com.sun.tools.javac.code.Symbol |
accept, addParentLevel, asMemberOf, asType, attribute, clone, complete, enclClass, erasure, externalType, flags, flatName, getAnnotation, getAnnotationMirrors, getEnclosedElements, getEnclosingElement, getKind, getLevel, getModifiers, getQualifiedName, getSimpleName, getTypeParameters, hasOuterInstance, isConstructor, isEnclosedBy, isInheritedIn, isInner, isInterface, isLocal, isMemberOf, isStatic, isSubClass, location, location, members, outermostClass, overrides, packge, removeParentLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
env
private Env<AttrContext> env
site
private Type site
Resolve.AccessError
Resolve.AccessError(Symbol sym)
Resolve.AccessError
Resolve.AccessError(Env<AttrContext> env,
Type site,
Symbol sym)
report
void report(Log log,
JCDiagnostic.DiagnosticPosition pos,
Type site,
Name name,
List<Type> argtypes,
List<Type> typeargtypes)
- Report error.
- Overrides:
report in class Resolve.ResolveError
- Parameters:
log - The error log to be used for error reporting.pos - The position to be used for error reporting.site - The original type from where the selection took place.name - The name of the symbol to be resolved.argtypes - The invocation's value arguments,
if we looked for a method.typeargtypes - The invocation's type arguments,
if we looked for a method.