Package spoon.reflect.path.impl
Class AbstractPathElement<P extends CtElement,T extends CtElement>
java.lang.Object
spoon.reflect.path.impl.AbstractPathElement<P,T>
- All Implemented Interfaces:
CtPathElement<P,T>
- Direct Known Subclasses:
CtNamedPathElement
,CtRolePathElement
,CtTypedNameElement
public abstract class AbstractPathElement<P extends CtElement,T extends CtElement>
extends Object
implements CtPathElement<P,T>
Partial implementation for CtPathElement
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<C extends CtPathElement<P, T>>
CaddArgument(String key, String value)
Add a path argument.protected String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface spoon.reflect.path.impl.CtPathElement
getElements
-
Field Details
-
ARGUMENT_START
- See Also:
- Constant Field Values
-
ARGUMENT_END
- See Also:
- Constant Field Values
-
ARGUMENT_NAME_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractPathElement
public AbstractPathElement()
-
-
Method Details
-
getArguments
-
addArgument
Description copied from interface:CtPathElement
Add a path argument. For instance, addArgument("index",3) will select only the third element in an indexed list.- Specified by:
addArgument
in interfaceCtPathElement<P extends CtElement,T extends CtElement>
-
getParamString
-