Top Description Fields Constructors Methods
org.aspectj.weaver

public Class BindingScope

extends SimpleScope
Class Inheritance
Imports
org.aspectj.bridge.ISourceLocation, org.aspectj.weaver.patterns.FormalBinding, .SimpleScope

BindingScope that knows the enclosingType, which is needed for pointcut reference resolution
Authors
Alexandre Vasseur, Andy Clement

Field Summary

Modifier and TypeField and Description
private final ResolvedType
private boolean
private final ISourceContext
Inherited from org.aspectj.weaver.patterns.SimpleScope:
bindings

Constructor Summary

AccessConstructor and Description
public
BindingScope(ResolvedType type, ISourceContext sourceContext, FormalBinding[] bindings)

Method Summary

Modifier and TypeMethod and Description
public ResolvedType
public UnresolvedType
public ISourceLocation
Inherited from org.aspectj.weaver.patterns.SimpleScope:
getFormalgetFormalCountgetImportedNamesgetImportedPrefixesgetMessageHandlergetWorldlookupFormalmakeFormalBindingsmessagemessagemessagesetImportedNamessetImportedPrefixes

Field Detail

enclosingTypeback to summary
private final ResolvedType enclosingType

Hides org.aspectj.weaver.patterns.SimpleScope.enclosingType.

importsUpdatedback to summary
private boolean importsUpdated
sourceContextback to summary
private final ISourceContext sourceContext

Constructor Detail

BindingScopeback to summary
public BindingScope(ResolvedType type, ISourceContext sourceContext, FormalBinding[] bindings)

Method Detail

getEnclosingTypeback to summary
public ResolvedType getEnclosingType()

Overrides org.aspectj.weaver.patterns.SimpleScope.getEnclosingType.

Implements org.aspectj.weaver.patterns.IScope.getEnclosingType.

lookupTypeback to summary
public UnresolvedType lookupType(String name, IHasPosition location)

Overrides org.aspectj.weaver.patterns.SimpleScope.lookupType.

Implements org.aspectj.weaver.patterns.IScope.lookupType.

Returns:UnresolvedType

Doc from org.aspectj.weaver.patterns.IScope.lookupType.

the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists

makeSourceLocationback to summary
public ISourceLocation makeSourceLocation(IHasPosition location)

Overrides org.aspectj.weaver.patterns.SimpleScope.makeSourceLocation.