@Test public void shouldImportDeclaringClass() { final JanusGraphGremlinDriverPlugin plugin = JanusGraphGremlinDriverPlugin.instance(); final ImportCustomizer customizer = (ImportCustomizer) plugin.getCustomizers().get()[0]; final Set<Class> classes = customizer.getClassImports(); for (final Method m : customizer.getMethodImports()) { final Class c = m.getDeclaringClass(); assertTrue(classes.contains(c), "CLASS_IMPORTS is missing " + c.getCanonicalName()); } for (final Enum e : customizer.getEnumImports()) { final Class c = e.getDeclaringClass(); assertTrue(classes.contains(c), "CLASS_IMPORTS is missing " + c.getCanonicalName()); } }
public static JanusGraphGremlinDriverPlugin instance() { return instance; }
JanusGraphGremlinDriverPlugin extends AbstractGremlinPlugin { public static JanusGraphGremlinDriverPlugin instance() { return instance; } }
JanusGraphGremlinDriverPlugin extends AbstractGremlinPlugin { public static JanusGraphGremlinDriverPlugin instance() { return instance; } JanusGraphGremlinDriverPlugin();  JanusGraphGremlinDriverPlugin(String name, DefaultImportCustomizer.Builder build);  JanusGraphGremlinDriverPlugin(String moduleName, Customizer... customizers); }
JanusGraphGremlinDriverPlugin extends AbstractGremlinPlugin { public static JanusGraphGremlinDriverPlugin instance() { return instance; } JanusGraphGremlinDriverPlugin();  JanusGraphGremlinDriverPlugin(String name, DefaultImportCustomizer.Builder build);  JanusGraphGremlinDriverPlugin(String moduleName, Customizer... customizers); static JanusGraphGremlinDriverPlugin instance(); @Override boolean requireRestart(); }
JanusGraphGremlinDriverPlugin extends AbstractGremlinPlugin { public static JanusGraphGremlinDriverPlugin instance() { return instance; } JanusGraphGremlinDriverPlugin();  JanusGraphGremlinDriverPlugin(String name, DefaultImportCustomizer.Builder build);  JanusGraphGremlinDriverPlugin(String moduleName, Customizer... customizers); static JanusGraphGremlinDriverPlugin instance(); @Override boolean requireRestart();  }