ExtendsLoader extends AbstractDelegatingLoader { public Definition load(final String name, final Map<Object, Object> context) throws ADLException { Definition d = clientLoader.load(name, context); if (d instanceof MindDefinition) d = resolveExtends((MindDefinition) d, context); return d; }  Definition load(final String name, final Map<Object, Object> context); static final String EXTENDS_DEFINITION_RESOLVER; static final String EXTENDS_NODE_MERGER; static final String ADL_ID_ATTRIBUTES; }
@Test(groups = {"functional"}) public void testAbstract() throws Exception { final Definition d = loader.load("pkg1.abstracts.AbstractPrimitive", context); assertTrue(ASTHelper.isAbstract(d)); }
@Test(groups = {"functional"}) public void testExtendsAbstract() throws Exception { final Definition d = loader.load("pkg1.abstracts.ConcretePrimitive", context); assertFalse(ASTHelper.isAbstract(d)); }