Search in sources :

Example 1 with DRootElement

use of org.jetbrains.plugins.groovy.annotator.intentions.dynamic.elements.DRootElement in project intellij-community by JetBrains.

the class DynamicTest method getDClassElement.

@NotNull
private DClassElement getDClassElement() {
    final DRootElement rootElement = DynamicManager.getInstance(getProject()).getRootElement();
    final DClassElement classElement = rootElement.getClassElement(getTestName(false));
    assertNotNull(classElement);
    return classElement;
}
Also used : DClassElement(org.jetbrains.plugins.groovy.annotator.intentions.dynamic.elements.DClassElement) DRootElement(org.jetbrains.plugins.groovy.annotator.intentions.dynamic.elements.DRootElement) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

NotNull (org.jetbrains.annotations.NotNull)1 DClassElement (org.jetbrains.plugins.groovy.annotator.intentions.dynamic.elements.DClassElement)1 DRootElement (org.jetbrains.plugins.groovy.annotator.intentions.dynamic.elements.DRootElement)1