org.aspectj.weaver.patterns
Class Bindings

java.lang.Object
  extended by org.aspectj.weaver.patterns.Bindings

public class Bindings
extends java.lang.Object


Field Summary
static Bindings NONE
           
 
Constructor Summary
Bindings(BindingPattern[] bindings)
           
Bindings(int count)
           
 
Method Summary
 void checkAllBound(IScope scope)
           
 void checkEquals(Bindings other, IScope scope)
          signals an error if one has a binding and other doesn't
 Bindings copy()
           
 int[] getUsedFormals()
           
 UnresolvedType[] getUsedFormalTypes()
           
 void mergeIn(Bindings other, IScope scope)
           
 void register(BindingPattern binding, IScope scope)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final Bindings NONE
Constructor Detail

Bindings

public Bindings(BindingPattern[] bindings)

Bindings

public Bindings(int count)
Method Detail

register

public void register(BindingPattern binding,
                     IScope scope)

mergeIn

public void mergeIn(Bindings other,
                    IScope scope)

checkEquals

public void checkEquals(Bindings other,
                        IScope scope)
signals an error if one has a binding and other doesn't


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getUsedFormals

public int[] getUsedFormals()

getUsedFormalTypes

public UnresolvedType[] getUsedFormalTypes()

copy

public Bindings copy()

checkAllBound

public void checkAllBound(IScope scope)

size

public int size()