Top Inners Fields Constructors Methods
org.aspectj.weaver.patterns

public Class FormalBinding

extends Object
implements IHasPosition
Class Inheritance
All Implemented Interfaces
org.aspectj.weaver.IHasPosition
Known Direct Subclasses
org.aspectj.weaver.patterns.FormalBinding.ImplicitFormalBinding
Imports
org.aspectj.weaver.IHasPosition, .UnresolvedType

Nested and Inner Type Summary

Modifier and TypeClass and Description
public 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.

Field Summary

Modifier and TypeField and Description
private final int
private final int
private final String
public static final FormalBinding[]
private final int
private final UnresolvedType

Constructor Summary

AccessConstructor and Description
public
FormalBinding(UnresolvedType type, String name, int index, int start, int end)

public
FormalBinding(UnresolvedType type, int index)

public
FormalBinding(UnresolvedType type, String name, int index)

Method Summary

Modifier and TypeMethod and Description
public int
getEnd()

Implements org.aspectj.weaver.IHasPosition.getEnd.

The ending index of this location in the character stream This points to the last character in this token.
public int
public String
public int
getStart()

Implements org.aspectj.weaver.IHasPosition.getStart.

The starting index of this location in the character stream.
public UnresolvedType
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

endback to summary
private final int end
indexback to summary
private final int index
nameback to summary
private final String name
NONEback to summary
public static final FormalBinding[] NONE
startback to summary
private final int start
typeback to summary
private final UnresolvedType type

Constructor Detail

FormalBindingback to summary
public FormalBinding(UnresolvedType type, String name, int index, int start, int end)
FormalBindingback to summary
public FormalBinding(UnresolvedType type, int index)
FormalBindingback to summary
public FormalBinding(UnresolvedType type, String name, int index)

Method Detail

getEndback to summary
public int getEnd()

Implements org.aspectj.weaver.IHasPosition.getEnd.

Doc from org.aspectj.weaver.IHasPosition.getEnd.

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.

getIndexback to summary
public int getIndex()
getNameback to summary
public String getName()
getStartback to summary
public int getStart()

Implements org.aspectj.weaver.IHasPosition.getStart.

Doc from org.aspectj.weaver.IHasPosition.getStart.

The starting index of this location in the character stream.

getTypeback to summary
public UnresolvedType getType()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

org.aspectj.weaver.patterns back to summary

public Class FormalBinding.ImplicitFormalBinding

extends FormalBinding
Class Inheritance

A marker class for bindings for which we want to ignore unbound issue and consider them as implicit binding - f.e. to handle JoinPoint in @AJ advices
Author
Alexandre Vasseur (alex AT gnilux DOT com)

Field Summary

Inherited from org.aspectj.weaver.patterns.FormalBinding:
NONE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.aspectj.weaver.patterns.FormalBinding:
getEndgetIndexgetNamegetStartgetTypetoString

Constructor Detail

ImplicitFormalBindingback to summary
public ImplicitFormalBinding(UnresolvedType type, String name, int index)