Returns the parent of the plain #currentComponent() current component}. @throws IllegalStateException if the current graph is the plain #atRoot() root component
()
| 59 | * @throws IllegalStateException if the current graph is the {@linkplain #atRoot() root component} |
| 60 | */ |
| 61 | public final TypeElement parentComponent() { |
| 62 | checkState(!atRoot()); |
| 63 | return components().reverse().get(1); |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Returns {@code true} if the {@linkplain #currentComponent()} current component} is the |
nothing calls this directly
no test coverage detected