Home » openjdk-7 » com.sun.tools » javac » comp » [javadoc | source]
abstract class: Resolve.ResolveError [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    StaticError, InvalidSymbolError, AmbiguityError, InapplicableSymbolsError, SymbolNotFoundError, InapplicableSymbolError, AccessError

Root class for resolution errors. Subclass of ResolveError represent a different kinds of resolution error - as such they must specify how they map into concrete compiler diagnostics.
Field Summary
final  String debugName    The name of the kind of error, for debugging only. 
Fields inherited from com.sun.tools.javac.code.Symbol:
kind,  flags_field,  attributes_field,  name,  type,  owner,  completer,  erasure_field
 ResolveError(int kind,
    String debugName) 
Method from com.sun.tools.javac.comp.Resolve$ResolveError Summary:
accept,   access,   exists,   getDiagnostic,   isOperator,   toString
Methods from com.sun.tools.javac.code.Symbol:
accept,   asMemberOf,   asType,   attribute,   clone,   complete,   enclClass,   erasure,   exists,   externalType,   flags,   flatName,   getAnnotation,   getAnnotationMirrors,   getEnclosedElements,   getEnclosingElement,   getKind,   getModifiers,   getQualifiedName,   getSimpleName,   getTypeParameters,   hasOuterInstance,   isAnonymous,   isConstructor,   isEnclosedBy,   isInheritedIn,   isInner,   isInterface,   isLocal,   isMemberOf,   isPolymorphicSignatureGeneric,   isPolymorphicSignatureInstance,   isStatic,   isSubClass,   location,   location,   members,   outermostClass,   overrides,   packge,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.comp.Resolve$ResolveError Detail:
 public R accept(ElementVisitor<R, P> v,
    P p) 
 protected Symbol access(Name name,
    TypeSymbol location) 
    Create an external representation for this erroneous symbol to be used during attribution - by default this returns the symbol of a brand new error type which stores the original type found during resolution.
 public boolean exists() 
 abstract JCDiagnostic getDiagnostic(DiagnosticType dkind,
    DiagnosticPosition pos,
    Symbol location,
    Type site,
    Name name,
    List<Type> argtypes,
    List<Type> typeargtypes)
    Create a diagnostic representing this resolution error.
 boolean isOperator(Name name) 
    A name designates an operator if it consists of a non-empty sequence of operator symbols +-~!/*%&|^<>=
 public String toString()