org.aspectj.weaver.patterns
Class FormalBinding
java.lang.Object
org.aspectj.weaver.patterns.FormalBinding
- All Implemented Interfaces:
- IHasPosition
- Direct Known Subclasses:
- FormalBinding.ImplicitFormalBinding
public class FormalBinding
- extends java.lang.Object
- implements IHasPosition
Nested Class Summary |
static class |
FormalBinding.ImplicitFormalBinding
A marker class for bindings for which we want to ignore unbound issue and consider them as implicit binding - f.e. |
Method Summary |
int |
getEnd()
The ending index of this location in the character stream
This points to the last character in this token. |
int |
getIndex()
|
java.lang.String |
getName()
|
int |
getStart()
The starting index of this location in the character stream. |
UnresolvedType |
getType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NONE
public static final FormalBinding[] NONE
FormalBinding
public FormalBinding(UnresolvedType type,
java.lang.String name,
int index,
int start,
int end)
FormalBinding
public FormalBinding(UnresolvedType type,
int index)
FormalBinding
public FormalBinding(UnresolvedType type,
java.lang.String name,
int index)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEnd
public int getEnd()
- Description copied from interface:
IHasPosition
- The ending index of this location in the character stream
This points to the last character in this token.
If a location truly had no contents, then start == end + 1. We don't recommend this.
- Specified by:
getEnd
in interface IHasPosition
getStart
public int getStart()
- Description copied from interface:
IHasPosition
- The starting index of this location in the character stream.
- Specified by:
getStart
in interface IHasPosition
getIndex
public int getIndex()
getName
public java.lang.String getName()
getType
public UnresolvedType getType()