Search in sources :

Example 1 with ModelBuilder

use of org.whole.lang.builders.ModelBuilder in project whole by wholeplatform.

the class JDT2JavaBuilder method transform.

public static IEntity transform(ASTNode model) {
    JavaSpecificBuilderAdapter builder = new JavaSpecificBuilderAdapter(new ModelBuilder());
    transform(model, builder);
    return builder.wGetResult();
}
Also used : ModelBuilder(org.whole.lang.builders.ModelBuilder) JavaSpecificBuilderAdapter(org.whole.lang.java.builders.JavaSpecificBuilderAdapter)

Aggregations

ModelBuilder (org.whole.lang.builders.ModelBuilder)1 JavaSpecificBuilderAdapter (org.whole.lang.java.builders.JavaSpecificBuilderAdapter)1