Returns the component at the end of the path.
()
| 50 | |
| 51 | /** Returns the component at the end of the path. */ |
| 52 | public final TypeElement currentComponent() { |
| 53 | return getLast(components()); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Returns the parent of the {@linkplain #currentComponent()} current component}. |