use of com.android.tools.idea.gradle.dsl.parser.java.JavaDslElement in project android by JetBrains.
the class GradleBuildModel method java.
@NotNull
public JavaModel java() {
JavaDslElement javaDslElement = myGradleDslFile.getPropertyElement(JAVA_BLOCK_NAME, JavaDslElement.class);
if (javaDslElement == null) {
javaDslElement = new JavaDslElement(myGradleDslFile);
myGradleDslFile.setNewElement(JAVA_BLOCK_NAME, javaDslElement);
}
return new JavaModel(javaDslElement);
}
Aggregations