Package org.openl.binding.impl
Class MethodUsage
- java.lang.Object
-
- org.openl.binding.impl.MethodUsage
-
- All Implemented Interfaces:
NodeUsage
- Direct Known Subclasses:
ConstructorUsage
public class MethodUsage extends Object implements NodeUsage
-
-
Constructor Summary
Constructors Constructor Description MethodUsage(int startPos, int endPos, IOpenMethod method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescription()intgetEnd()IOpenMethodgetMethod()NodeTypegetNodeType()intgetStart()StringgetUri()inthashCode()
-
-
-
Constructor Detail
-
MethodUsage
public MethodUsage(int startPos, int endPos, IOpenMethod method)- Parameters:
endPos- the ending index position, exclusive
-
-
Method Detail
-
getStart
public int getStart()
-
getEnd
public int getEnd()
-
getMethod
public IOpenMethod getMethod()
-
getUri
public String getUri()
-
getNodeType
public NodeType getNodeType()
- Specified by:
getNodeTypein interfaceNodeUsage
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceNodeUsage- Returns:
- String description of the method signature.
-
-