Package spoon.reflect.path.impl
Class CtNamedPathElement
java.lang.Object
spoon.reflect.path.impl.AbstractPathElement<CtElement,CtElement>
spoon.reflect.path.impl.CtNamedPathElement
- All Implemented Interfaces:
CtPathElement<CtElement,CtElement>
A CtPathElement that match on CtNamedElement#getSimpleName
-
Field Summary
Fields inherited from class spoon.reflect.path.impl.AbstractPathElement
ARGUMENT_END, ARGUMENT_NAME_SEPARATOR, ARGUMENT_START
-
Constructor Summary
ConstructorDescriptionCtNamedPathElement(String pattern)
CtNamedPathElement(String pattern, boolean canBeRegexp)
-
Method Summary
Modifier and TypeMethodDescriptiongetElements(Collection<CtElement> roots)
Get elements childs of roots that match with this path.scanElements(Collection<? extends CtElement> roots)
toString()
Methods inherited from class spoon.reflect.path.impl.AbstractPathElement
addArgument, getArguments, getParamString
-
Field Details
-
STRING
- See Also:
- Constant Field Values
-
WILDCARD
- See Also:
- Constant Field Values
-
RECURSIVE_WILDCARD
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CtNamedPathElement
-
CtNamedPathElement
-
-
Method Details
-
getPattern
-
toString
-
getElements
Description copied from interface:CtPathElement
Get elements childs of roots that match with this path. -
scanElements
-