id stringlengths 7 14 | test_class dict | test_case dict | focal_class dict | focal_method dict | repository dict |
|---|---|---|---|---|---|
104141068_47 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/UrlUtilsTest.java",
"identifier": "UrlUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testConcatUrls() {\n assertEquals(\"/\", UrlUtils.concatUrlPaths(null, null));\n assertEquals(\"/\", UrlUtils.concatUrlPaths(null, \"\"));\n assertEquals(\"/\", UrlUtils.concatUrlPaths(\"\", null));\n assertEquals(\"/\", UrlUtils.concatUrlPaths(\"\", \"\")... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(UrlUtils.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(UrlUtils.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"declarator": "UT... | {
"body": "public static String concatUrlPaths(final String base, final String path) {\n if (base == null && path == null) {\n return \"/\";\n }\n\n String result;\n\n if (base == null) {\n result = path;\n } else if (path == null) {\n result = base;... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_348 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTreat1() {\n cb.treat((Join<User, Message>) null, (Class<Message>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTreat1()",
"constructor": false,
"full_signature": "@Test(expected = Unsupport... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <X, T, V extends T> Join<X, V> treat(final Join<X, T> join, final Class<V> type) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.treat(final Join<X, T> join, final Class<V> type)",
"constructor": false,
"full_signa... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_173 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testCreateEntityGraph1() {\n em.createEntityGraph(Widget.class);\n }",
"class_method_signature": "MinijaxEntityManagerTest.testCreateEntityGraph1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedO... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public <T> EntityGraph<T> createEntityGraph(final Class<T> rootType) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.createEntityGraph(final Class<T> rootType)",
"constructor": false,
"full_signature": "@Override public Ent... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_10 | {
"fields": [],
"file": "minijax-examples/minijax-example-hello/src/test/java/com/example/HelloTest.java",
"identifier": "HelloTest",
"interfaces": "",
"superclass": "extends MinijaxTest"
} | {
"body": "@Test\n public void testHello() {\n assertEquals(\"Hello world!\", target(\"/\").request().get(String.class));\n }",
"class_method_signature": "HelloTest.testHello()",
"constructor": false,
"full_signature": "@Test public void testHello()",
"identifier": "testHello",
"invocations": [... | {
"fields": [],
"file": "minijax-examples/minijax-example-hello/src/main/java/com/example/Hello.java",
"identifier": "Hello",
"interfaces": "",
"methods": [
{
"class_method_signature": "Hello.hello()",
"constructor": false,
"full_signature": "@GET public static String hello()",
"id... | {
"body": "@GET\n public static String hello() {\n return \"Hello world!\";\n }",
"class_method_signature": "Hello.hello()",
"constructor": false,
"full_signature": "@GET public static String hello()",
"identifier": "hello",
"invocations": [],
"modifiers": "@GET public static",
"parameters"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_108 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testParseSelectDisjunction() {\n final MinijaxCriteriaQuery<Widget> query = Parser.parse(\n em.getCriteriaBuilder(),\n Widget.class,\n Tokenizer.tokenize(\"SELECT w FROM Widget w WHERE id = :id OR name = :name\"));\n\n assert... | {
"fields": [
{
"declarator": "cb",
"modifier": "private final",
"original_string": "private final MinijaxCriteriaBuilder cb;",
"type": "MinijaxCriteriaBuilder",
"var_name": "cb"
},
{
"declarator": "resultType",
"modifier": "private final",
"original_string"... | {
"body": "public static <T> MinijaxCriteriaQuery<T> parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType, final List<Token> tokens) {\n return new Parser<>(cb, resultType, tokens).parse();\n }",
"class_method_signature": "Parser.parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_364 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n public void testjoin7() {\n root.join((CollectionAttribute) null, (JoinType) null);\n }",
"class_method_signature": "MinijaxRootTest.testjoin7()",
"constructor": false,
"full_s... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <Y> Join<T, Y> join(final SingularAttribute<? super T, Y> attribute) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.join(final SingularAttribute<? super T, Y> attribute)",
"constructor": false,
"full_signature": "@Override p... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_84 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/IdUtilsTest.java",
"identifier": "IdUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testParseTooShort() {\n assertNull(IdUtils.tryParse(\"1234567890\"));\n }",
"class_method_signature": "IdUtilsTest.testParseTooShort()",
"constructor": false,
"full_signature": "@Test public void testParseTooShort()",
"identifier": "testParseTooShort",
"invocation... | {
"fields": [
{
"declarator": "RANDOM = new SecureRandom()",
"modifier": "private static final",
"original_string": "private static final SecureRandom RANDOM = new SecureRandom();",
"type": "SecureRandom",
"var_name": "RANDOM"
},
{
"declarator": "PATTERN = Pattern.compi... | {
"body": "public static UUID tryParse(final String str) {\n if (str == null) {\n return null;\n }\n\n if (!PATTERN.matcher(str).matches()) {\n return null;\n }\n\n final String clean = str.replace(\"-\", \"\");\n if (clean.length() != 32) {\n ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_221 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testIsNull() {\n final MinijaxCriteriaQuery<Widget> q = cb.createQuery(Widget.class);\n final MinijaxRoot<Widget> w = q.from(Widget.class);\n q.select(w);\n q.where(cb.isNull(w.get(\"name\")));\n\n final AnsiSqlBuilder<Widget> sqlBuilder = new AnsiS... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n public MinijaxComparison isNull(final Expression<?> x) {\n return new MinijaxComparison(ComparisonType.IS, (MinijaxExpression) x, MinijaxNull.INSTANCE);\n }",
"class_method_signature": "MinijaxCriteriaBuilder.isNull(final Ex... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_299 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testIsEmpty() { cb.isEmpty(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testIsEmpty()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <C extends Collection<?>> Predicate isEmpty(final Expression<C> collection) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.isEmpty(final Expression<C> collection)",
"constructor": false,
"full_signature": "@Overri... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_333 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testLocate1() {\n cb.locate((Expression<String>) null, (Expression<String>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testLocate1()",
"constructor": false,
"full_signature": "@Test(expected = Uns... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Integer> locate(final Expression<String> x, final Expression<String> pattern) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.locate(final Expression<String> x, final Expression<String> pattern)",
"constru... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_276 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testProd2() {\n cb.prod((Expression<Integer>) null, (Integer) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testProd2()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperatio... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <N extends Number> Expression<N> prod(final Expression<? extends N> x, final Expression<? extends N> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.prod(final Expression<? extends N> x, final Expression<? extends N... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_149 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testRefresh2() {\n em.refresh(widget, properties);\n }",
"class_method_signature": "MinijaxEntityManagerTest.testRefresh2()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class)... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void refresh(final Object entity) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.refresh(final Object entity)",
"constructor": false,
"full_signature": "@Override public void refresh(final Object entity)",
"identi... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_8 | {
"fields": [
{
"declarator": "alice",
"modifier": "public static",
"original_string": "public static User alice;",
"type": "User",
"var_name": "alice"
},
{
"declarator": "aliceCookie",
"modifier": "public static",
"original_string": "public static Cookie al... | {
"body": "@Test\n public void testPublicTimeline() {\n final Response response = target(\"/public\").request().get();\n assertNotNull(response);\n assertEquals(200, response.getStatus());\n\n final View view = (View) response.getEntity();\n assertNotNull(view);\n assertEq... | {
"fields": [
{
"declarator": "security",
"modifier": "@Inject\n private",
"original_string": "@Inject\n private Security<User> security;",
"type": "Security<User>",
"var_name": "security"
},
{
"declarator": "dao",
"modifier": "@Inject\n private",
"... | {
"body": "@GET\n @Path(\"/public\")\n public Response publicTimeline() {\n List<Message> messages = dao.getEntityManager()\n .createQuery(\"SELECT m FROM Message m ORDER BY m.id DESC\", Message.class)\n .getResultList();\n return renderTimeline(messages);\n }",
... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_325 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testSubstring4() {\n cb.substring((Expression<String>) null, 0, 0);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testSubstring4()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOper... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<String> substring(final Expression<String> x, final Expression<Integer> from) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.substring(final Expression<String> x, final Expression<Integer> from)",
"constr... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_260 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGt2() {\n cb.gt((Expression<Integer>) null, (Integer) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testGt2()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationExcep... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Predicate gt(final Expression<? extends Number> x, final Expression<? extends Number> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.gt(final Expression<? extends Number> x, final Expression<? extends Number> y)",
... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_92 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/OptionalClassesTest.java",
"identifier": "OptionalClassesTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testOptionalClasses() {\n\n // Persistence is available in tests\n assertNotNull(OptionalClasses.ENTITY_MANAGER);\n\n // Websockets are *not* available in tests\n assertNull(OptionalClasses.SERVER_ENDPOINT);\n }",
"class_method_signature": "OptionalCl... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(OptionalClasses.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(OptionalClasses.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"de... | {
"body": "OptionalClasses() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "OptionalClasses.OptionalClasses()",
"constructor": true,
"full_signature": " OptionalClasses()",
"identifier": "OptionalClasses",
"invocations": [],
"modifiers": "",
"parameters": "()"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_372 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testjoinMap1() {\n root.joinMap(null);\n }",
"class_method_signature": "MinijaxRootTest.testjoinMap1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testjoin... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <X, K, V> MapJoin<X, K, V> joinMap(final String attributeName) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.joinMap(final String attributeName)",
"constructor": false,
"full_signature": "@Override public MapJoin<X, K, V> j... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_237 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testCountDistinct() {\n cb.countDistinct(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testCountDistinct()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.cl... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Long> countDistinct(final Expression<?> x) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.countDistinct(final Expression<?> x)",
"constructor": false,
"full_signature": "@Override public Expression<Long... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_240 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testSome() {\n cb.some(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testSome()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testSome()... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <Y> Expression<Y> some(final Subquery<Y> subquery) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.some(final Subquery<Y> subquery)",
"constructor": false,
"full_signature": "@Override public Expression<Y> some(fin... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_305 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void isNotMember1() {\n cb.isNotMember((Expression<Widget>) null, (Expression<List<Widget>>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.isNotMember1()",
"constructor": false,
"full_signature": "@Test(e... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <E, C extends Collection<E>> Predicate isNotMember(final Expression<E> elem, final Expression<C> collection) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.isNotMember(final Expression<E> elem, final Expression<C> col... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_186 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetBindableJavaType() {\n entityType.getBindableJavaType();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetBindableJavaType()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOper... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Class<T> getBindableJavaType() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getBindableJavaType()",
"constructor": false,
"full_signature": "@Override public Class<T> getBindableJavaType()",
"identifier": "getBinda... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_169 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testIsJoinedToTransaction() {\n em.isJoinedToTransaction();\n }",
"class_method_signature": "MinijaxEntityManagerTest.testIsJoinedToTransaction()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOpe... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public boolean isJoinedToTransaction() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.isJoinedToTransaction()",
"constructor": false,
"full_signature": "@Override public boolean isJoinedToTransaction()",
"identifier": "i... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_217 | {
"fields": [],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/MinijaxPersistenceProviderTest.java",
"identifier": "MinijaxPersistenceProviderTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetProviderUtil() {\n final MinijaxPersistenceProvider provider = new MinijaxPersistenceProvider();\n provider.getProviderUtil();\n }",
"class_method_signature": "MinijaxPersistenceProviderTest.testGetProviderUtil... | {
"fields": [
{
"declarator": "persistenceFile",
"modifier": "private final",
"original_string": "private final MinijaxPersistenceFile persistenceFile;",
"type": "MinijaxPersistenceFile",
"var_name": "persistenceFile"
}
],
"file": "minijax-components/minijax-persistence/src/m... | {
"body": "@Override\n public ProviderUtil getProviderUtil() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxPersistenceProvider.getProviderUtil()",
"constructor": false,
"full_signature": "@Override public ProviderUtil getProviderUtil()",
"identifier": "get... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_352 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTreat5() {\n cb.treat((MapJoin<String, User, Message>) null, (Class<Message>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTreat5()",
"constructor": false,
"full_signature": "@Test(expected ... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <X, T, V extends T> Join<X, V> treat(final Join<X, T> join, final Class<V> type) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.treat(final Join<X, T> join, final Class<V> type)",
"constructor": false,
"full_signa... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_201 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetDeclaredPluralAttributes() {\n entityType.getDeclaredPluralAttributes();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetDeclaredPluralAttributes()",
"constructor": false,
"full_signature": "@Test(ex... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Set<PluralAttribute<T, ?, ?>> getDeclaredPluralAttributes() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getDeclaredPluralAttributes()",
"constructor": false,
"full_signature": "@Override public Set<PluralAttribute<T... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_344 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testNullif2() {\n cb.<Widget>nullif((Expression<Widget>) null, (Widget) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testNullif2()",
"constructor": false,
"full_signature": "@Test(expected = Unsuppo... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <Y> Expression<Y> nullif(final Expression<Y> x, final Expression<?> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.nullif(final Expression<Y> x, final Expression<?> y)",
"constructor": false,
"full_signature": ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_128 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minij... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testUnwrap() {\n emf.unwrap(null);\n }",
"class_method_signature": "MinijaxEntityManagerFactoryTest.testUnwrap()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public voi... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class);",
"type": "Logger",
"var_name": "LOG... | {
"body": "@Override\n public <T> T unwrap(final Class<T> cls) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManagerFactory.unwrap(final Class<T> cls)",
"constructor": false,
"full_signature": "@Override public T unwrap(final Class<T> cls)",
"identif... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_256 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testLessThanOrEqualTo() {\n cb.lessThanOrEqualTo((Expression<Integer>) null, (Integer) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testLessThanOrEqualTo()",
"constructor": false,
"full_signature": ... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <Y extends Comparable<? super Y>> Predicate lessThanOrEqualTo(final Expression<? extends Y> x,\n final Expression<? extends Y> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.lessThanOrEqualTo(final Expre... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_313 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testNotLike1() {\n cb.notLike((Expression<String>) null, (Expression<String>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testNotLike1()",
"constructor": false,
"full_signature": "@Test(expected = ... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Predicate notLike(final Expression<String> x, final Expression<String> pattern) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.notLike(final Expression<String> x, final Expression<String> pattern)",
"constructor": f... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_190 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetSingularAttributes() {\n entityType.getSingularAttributes();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetSingularAttributes()",
"constructor": false,
"full_signature": "@Test(expected = Unsupport... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Set<SingularAttribute<? super T, ?>> getSingularAttributes() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getSingularAttributes()",
"constructor": false,
"full_signature": "@Override public Set<SingularAttribute<? su... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_88 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/IdUtilsTest.java",
"identifier": "IdUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testFromBytesTooShort() {\n assertNull(IdUtils.fromBytes(new byte[] { 1, 2, 3 }));\n }",
"class_method_signature": "IdUtilsTest.testFromBytesTooShort()",
"constructor": false,
"full_signature": "@Test public void testFromBytesTooShort()",
"identifier": "testFromByte... | {
"fields": [
{
"declarator": "RANDOM = new SecureRandom()",
"modifier": "private static final",
"original_string": "private static final SecureRandom RANDOM = new SecureRandom();",
"type": "SecureRandom",
"var_name": "RANDOM"
},
{
"declarator": "PATTERN = Pattern.compi... | {
"body": "public static UUID fromBytes(final byte[] b) {\n if (b == null || b.length != 16) {\n return null;\n }\n\n final ByteBuffer bb = ByteBuffer.wrap(b);\n return new UUID(bb.getLong(), bb.getLong());\n }",
"class_method_signature": "IdUtils.fromBytes(final byte[] b)"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_368 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testjoin11() {\n root.join((String) null);\n }",
"class_method_signature": "MinijaxRootTest.testjoin11()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testjo... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <Y> Join<T, Y> join(final SingularAttribute<? super T, Y> attribute) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.join(final SingularAttribute<? super T, Y> attribute)",
"constructor": false,
"full_signature": "@Override p... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_387 | {
"fields": [],
"file": "minijax-components/minijax-dao/src/test/java/org/minijax/dao/converters/JsonMapConverterTest.java",
"identifier": "JsonMapConverterTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testEmptyString() {\n final JsonMapConverter c = new JsonMapConverter();\n assertNull(c.convertToEntityAttribute(\"\"));\n }",
"class_method_signature": "JsonMapConverterTest.testEmptyString()",
"constructor": false,
"full_signature": "@Test public void testEmp... | {
"fields": [],
"file": "minijax-components/minijax-dao/src/main/java/org/minijax/dao/converters/JsonMapConverter.java",
"identifier": "JsonMapConverter",
"interfaces": "implements AttributeConverter<Map<String, Object>, String>",
"methods": [
{
"class_method_signature": "JsonMapConverter.convertToD... | {
"body": "@Override\n @SuppressWarnings(\"unchecked\")\n public Map<String, Object> convertToEntityAttribute(final String str) {\n if (str == null || str.isEmpty()) {\n return null;\n }\n try {\n return Json.getObjectMapper().readValue(str, Map.class);\n } catc... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_67 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/CloseUtilsTest.java",
"identifier": "CloseUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testCloseable() {\n final MyCloseable obj = new MyCloseable();\n CloseUtils.closeQuietly(obj);\n assertTrue(obj.closed);\n }",
"class_method_signature": "CloseUtilsTest.testCloseable()",
"constructor": false,
"full_signature": "@Test public void testClos... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(CloseUtils.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(CloseUtils.class);",
"type": "Logger",
"var_name": "LOG"
}
],
"file": "minijax-co... | {
"body": "@SuppressWarnings(\"rawtypes\")\n public static void closeQuietly(final Collection objs) {\n for (final Object obj : objs) {\n closeQuietly(obj);\n }\n }",
"class_method_signature": "CloseUtils.closeQuietly(final Collection objs)",
"constructor": false,
"full_signature"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_104 | {
"fields": [
{
"declarator": "pui",
"modifier": "private",
"original_string": "private MinijaxPersistenceUnitInfo pui;",
"type": "MinijaxPersistenceUnitInfo",
"var_name": "pui"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minijax... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testAddTransformer() {\n pui.addTransformer(null);\n }",
"class_method_signature": "MinijaxPersistenceUnitInfoTest.testAddTransformer()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationExce... | {
"fields": [
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final String name;",
"type": "String",
"var_name": "name"
},
{
"declarator": "providerClassName",
"modifier": "private final",
"original_string": "private final St... | {
"body": "@Override\n public void addTransformer(final ClassTransformer transformer) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxPersistenceUnitInfo.addTransformer(final ClassTransformer transformer)",
"constructor": false,
"full_signature": "@Override pu... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_411 | {
"fields": [
{
"declarator": "TEST_RESOURCES = new File(\"src/test/resources\")",
"modifier": "private static final",
"original_string": "private static final File TEST_RESOURCES = new File(\"src/test/resources\");",
"type": "File",
"var_name": "TEST_RESOURCES"
}
],
"file": ... | {
"body": "@Test\n public void testCloseEntityManagerFactoryException() throws Exception {\n final EntityManagerFactory emf = mock(EntityManagerFactory.class);\n doThrow(new RuntimeException(\"Boom\")).when(emf).close();\n\n LiquibaseHelper.closeQuietly(emf);\n\n verify(emf).close();\n ... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(LiquibaseHelper.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(LiquibaseHelper.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"de... | {
"body": "static void closeQuietly(final EntityManagerFactory emf) {\n if (emf != null) {\n try {\n emf.close();\n } catch (final Exception ex) {\n LOG.warn(\"Error closing entity manager factory: {}\", ex.getMessage(), ex);\n }\n }\n }"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_295 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testLiteral() {\n cb.literal(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testLiteral()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void t... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <T> Expression<T> literal(final T value) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.literal(final T value)",
"constructor": false,
"full_signature": "@Override public Expression<T> literal(final T value)",
"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_30 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/NetworkUtilsTest.java",
"identifier": "NetworkUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testEmptyInterfaces() {\n final Enumeration<NetworkInterface> nis = enumeration(emptyList());\n assertNull(NetworkUtils.getIpAddress(nis));\n }",
"class_method_signature": "NetworkUtilsTest.testEmptyInterfaces()",
"constructor": false,
"full_signature": "@Test ... | {
"fields": [],
"file": "minijax-core/src/main/java/org/minijax/rs/util/NetworkUtils.java",
"identifier": "NetworkUtils",
"interfaces": "",
"methods": [
{
"class_method_signature": "NetworkUtils.NetworkUtils()",
"constructor": true,
"full_signature": " NetworkUtils()",
"identifier... | {
"body": "public static String getIpAddress(final Enumeration<NetworkInterface> nis) {\n while (nis.hasMoreElements()) {\n final NetworkInterface ni = nis.nextElement();\n final String address = getIpAddress(ni);\n if (address != null && !address.startsWith(\"127.\") && !addre... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_153 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testDetach() {\n em.detach(widget);\n }",
"class_method_signature": "MinijaxEntityManagerTest.testDetach()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void test... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void detach(final Object entity) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.detach(final Object entity)",
"constructor": false,
"full_signature": "@Override public void detach(final Object entity)",
"identifie... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_283 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testQuot3() {\n cb.quot((Integer) null, (Expression<Integer>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testQuot3()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperatio... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Number> quot(final Expression<? extends Number> x, final Expression<? extends Number> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.quot(final Expression<? extends Number> x, final Expression<? extends ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_329 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTrim4() {\n cb.trim((Trimspec) null, (Expression<Character>) null, (Expression<String>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTrim4()",
"constructor": false,
"full_signature": "@Test(... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<String> trim(final Expression<String> x) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.trim(final Expression<String> x)",
"constructor": false,
"full_signature": "@Override public Expression<String> tr... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_26 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/MediaTypeUtilsTest.java",
"identifier": "MediaTypeUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testParseProduces() {\n assertEquals(\n TEXT_HTML_TYPE,\n MediaTypeUtils.parseMediaTypes(MediaTypeUtilsTest.class.getAnnotation(Produces.class)).get(0));\n }",
"class_method_signature": "MediaTypeUtilsTest.testParseProduces()",
"constructor... | {
"fields": [],
"file": "minijax-core/src/main/java/org/minijax/rs/util/MediaTypeUtils.java",
"identifier": "MediaTypeUtils",
"interfaces": "",
"methods": [
{
"class_method_signature": "MediaTypeUtils.MediaTypeUtils()",
"constructor": true,
"full_signature": " MediaTypeUtils()",
"... | {
"body": "public static List<MediaType> parseMediaTypes(final Consumes consumes) {\n return consumes == null ? Collections.emptyList() : parseMediaTypes(consumes.value());\n }",
"class_method_signature": "MediaTypeUtils.parseMediaTypes(final Consumes consumes)",
"constructor": false,
"full_signature"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_145 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetFlushMode() {\n em.getFlushMode();\n }",
"class_method_signature": "MinijaxEntityManagerTest.testGetFlushMode()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) publ... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public FlushModeType getFlushMode() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.getFlushMode()",
"constructor": false,
"full_signature": "@Override public FlushModeType getFlushMode()",
"identifier": "getFlushMode",
... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_4 | {
"fields": [],
"file": "minijax-examples/minijax-example-petclinic/src/test/java/com/example/model/OwnerTest.java",
"identifier": "OwnerTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testEquals() {\n final Owner o1 = new Owner();\n final Owner o2 = new Owner();\n final Owner o3 = new Owner();\n\n o2.setId(o1.getId());\n\n assertEquals(o1, o2);\n assertNotEquals(o1, null);\n assertNotEquals(o1, new Object());\n ... | {
"fields": [
{
"declarator": "serialVersionUID = 1L",
"modifier": "private static final",
"original_string": "private static final long serialVersionUID = 1L;",
"type": "long",
"var_name": "serialVersionUID"
},
{
"declarator": "name",
"modifier": "private",
... | {
"body": "@Override\n public boolean equals(final Object obj) {\n return EqualsBuilder.reflectionEquals(this, obj);\n }",
"class_method_signature": "Owner.equals(final Object obj)",
"constructor": false,
"full_signature": "@Override public boolean equals(final Object obj)",
"identifier": "equals... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_71 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/CloseUtilsTest.java",
"identifier": "CloseUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testEntityManagerClosed() {\n final EntityManager em = mock(EntityManager.class);\n when(em.isOpen()).thenReturn(false);\n CloseUtils.closeQuietly(em);\n verify(em, times(1)).isOpen();\n verify(em, never()).close();\n }",
"class_method_signatur... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(CloseUtils.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(CloseUtils.class);",
"type": "Logger",
"var_name": "LOG"
}
],
"file": "minijax-co... | {
"body": "@SuppressWarnings(\"rawtypes\")\n public static void closeQuietly(final Collection objs) {\n for (final Object obj : objs) {\n closeQuietly(obj);\n }\n }",
"class_method_signature": "CloseUtils.closeQuietly(final Collection objs)",
"constructor": false,
"full_signature"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_391 | {
"fields": [
{
"declarator": "validator",
"modifier": "private static",
"original_string": "private static Validator validator;",
"type": "Validator",
"var_name": "validator"
}
],
"file": "minijax-components/minijax-security/src/test/java/org/minijax/security/PasswordChangeR... | {
"body": "@Test\n public void testValidateNullCode() {\n final PasswordChangeRequest pcr = new PasswordChangeRequest();\n pcr.setCode(null);\n assertEquals(1, validator.validate(pcr).size());\n }",
"class_method_signature": "PasswordChangeRequestTest.testValidateNullCode()",
"construct... | {
"fields": [
{
"declarator": "serialVersionUID = 1L",
"modifier": "private static final",
"original_string": "private static final long serialVersionUID = 1L;",
"type": "long",
"var_name": "serialVersionUID"
},
{
"declarator": "userId",
"modifier": "@Column(colum... | {
"body": "public void setCode(final String code) {\n this.code = code;\n }",
"class_method_signature": "PasswordChangeRequest.setCode(final String code)",
"constructor": false,
"full_signature": "public void setCode(final String code)",
"identifier": "setCode",
"invocations": [],
"modifiers": "... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_112 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testParseIn() {\n final MinijaxCriteriaQuery<Widget> query = Parser.parse(\n em.getCriteriaBuilder(),\n Widget.class,\n Tokenizer.tokenize(\"SELECT w FROM Widget w WHERE w.name IN('foo', 'bar')\"));\n\n assertNotNull(query);\... | {
"fields": [
{
"declarator": "cb",
"modifier": "private final",
"original_string": "private final MinijaxCriteriaBuilder cb;",
"type": "MinijaxCriteriaBuilder",
"var_name": "cb"
},
{
"declarator": "resultType",
"modifier": "private final",
"original_string"... | {
"body": "public static <T> MinijaxCriteriaQuery<T> parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType, final List<Token> tokens) {\n return new Parser<>(cb, resultType, tokens).parse();\n }",
"class_method_signature": "Parser.parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_407 | {
"fields": [
{
"declarator": "TEST_RESOURCES = new File(\"src/test/resources\")",
"modifier": "private static final",
"original_string": "private static final File TEST_RESOURCES = new File(\"src/test/resources\");",
"type": "File",
"var_name": "TEST_RESOURCES"
}
],
"file": ... | {
"body": "@Test\n public void testNotIgnoreDropOtherTable() {\n final DropTableChange change = new DropTableChange();\n change.setTableName(\"foo\");\n\n final ChangeSet changeSet = new ChangeSet(null);\n changeSet.addChange(change);\n\n assertFalse(LiquibaseHelper.isIgnoredChan... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(LiquibaseHelper.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(LiquibaseHelper.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"de... | {
"body": "static boolean isIgnoredChangeSet(final ChangeSet changeSet) {\n final List<Change> changes = changeSet.getChanges();\n if (changes.size() != 1) {\n return false;\n }\n\n final Change change = changes.get(0);\n if (!(change instanceof DropTableChange)) {\n ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_113 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testParseInNamedVariable() {\n final MinijaxCriteriaQuery<Widget> query = Parser.parse(\n em.getCriteriaBuilder(),\n Widget.class,\n Tokenizer.tokenize(\"SELECT w FROM Widget w WHERE w.name IN :names\"));\n\n assertNotNull(qu... | {
"fields": [
{
"declarator": "cb",
"modifier": "private final",
"original_string": "private final MinijaxCriteriaBuilder cb;",
"type": "MinijaxCriteriaBuilder",
"var_name": "cb"
},
{
"declarator": "resultType",
"modifier": "private final",
"original_string"... | {
"body": "public static <T> MinijaxCriteriaQuery<T> parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType, final List<Token> tokens) {\n return new Parser<>(cb, resultType, tokens).parse();\n }",
"class_method_signature": "Parser.parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_406 | {
"fields": [
{
"declarator": "TEST_RESOURCES = new File(\"src/test/resources\")",
"modifier": "private static final",
"original_string": "private static final File TEST_RESOURCES = new File(\"src/test/resources\");",
"type": "File",
"var_name": "TEST_RESOURCES"
}
],
"file": ... | {
"body": "@Test\n public void testNotIgnoreAddColumn() {\n final AddColumnChange change = new AddColumnChange();\n\n final ChangeSet changeSet = new ChangeSet(null);\n changeSet.addChange(change);\n\n assertFalse(LiquibaseHelper.isIgnoredChangeSet(changeSet));\n }",
"class_method_... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(LiquibaseHelper.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(LiquibaseHelper.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"de... | {
"body": "static boolean isIgnoredChangeSet(final ChangeSet changeSet) {\n final List<Change> changes = changeSet.getChanges();\n if (changes.size() != 1) {\n return false;\n }\n\n final Change change = changes.get(0);\n if (!(change instanceof DropTableChange)) {\n ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_70 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/CloseUtilsTest.java",
"identifier": "CloseUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testEntityManagerOpen() {\n final EntityManager em = mock(EntityManager.class);\n when(em.isOpen()).thenReturn(true);\n CloseUtils.closeQuietly(em);\n verify(em, times(1)).isOpen();\n verify(em, times(1)).close();\n }",
"class_method_signature"... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(CloseUtils.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(CloseUtils.class);",
"type": "Logger",
"var_name": "LOG"
}
],
"file": "minijax-co... | {
"body": "@SuppressWarnings(\"rawtypes\")\n public static void closeQuietly(final Collection objs) {\n for (final Object obj : objs) {\n closeQuietly(obj);\n }\n }",
"class_method_signature": "CloseUtils.closeQuietly(final Collection objs)",
"constructor": false,
"full_signature"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_390 | {
"fields": [],
"file": "minijax-components/minijax-dao/src/test/java/org/minijax/dao/converters/UrlConverterTest.java",
"identifier": "UrlConverterTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test(expected = MinijaxException.class)\n public void testMalformedUrl() throws MalformedURLException {\n final UrlConverter c = new UrlConverter();\n final String str = \"! bad url !\";\n c.convertToEntityAttribute(str);\n }",
"class_method_signature": "UrlConverterTest.testM... | {
"fields": [],
"file": "minijax-components/minijax-dao/src/main/java/org/minijax/dao/converters/UrlConverter.java",
"identifier": "UrlConverter",
"interfaces": "implements AttributeConverter<URL, String>",
"methods": [
{
"class_method_signature": "UrlConverter.convertToDatabaseColumn(final URL url)... | {
"body": "@Override\n public URL convertToEntityAttribute(final String str) {\n if (str == null) {\n return null;\n }\n try {\n return new URL(str);\n } catch (final MalformedURLException ex) {\n throw new MinijaxException(ex.getMessage(), ex);\n ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_144 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testSetFlushMode() {\n em.setFlushMode(flushMode);\n }",
"class_method_signature": "MinijaxEntityManagerTest.testSetFlushMode()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.cl... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void setFlushMode(final FlushModeType flushMode) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.setFlushMode(final FlushModeType flushMode)",
"constructor": false,
"full_signature": "@Override public void setFlushMo... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_5 | {
"fields": [],
"file": "minijax-examples/minijax-example-todo-backend/src/test/java/com/example/TodoBackendTest.java",
"identifier": "TodoBackendTest",
"interfaces": "",
"superclass": "extends MinijaxTest"
} | {
"body": "@Test\n public void testDeletePost() {\n final Response r1 = target(\"/\").request().post(Entity.entity(\"{\\\"title\\\":\\\"blah\\\"}\", APPLICATION_JSON));\n final Post post = (Post) r1.getEntity();\n target(post.url).request().delete();\n final Response r3 = target(post.ur... | {
"fields": [
{
"declarator": "posts = new HashMap<>()",
"modifier": "private final",
"original_string": "private final Map<Integer, Post> posts = new HashMap<>();",
"type": "Map<Integer, Post>",
"var_name": "posts"
},
{
"declarator": "nextId = 1",
"modifier": "pr... | {
"body": "@DELETE\n public Response delete() {\n posts.clear();\n return Response.ok().build();\n }",
"class_method_signature": "TodoBackend.delete()",
"constructor": false,
"full_signature": "@DELETE public Response delete()",
"identifier": "delete",
"invocations": [
"clear",
"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_282 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testQuot2() {\n cb.quot((Expression<Integer>) null, (Integer) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testQuot2()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperatio... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Number> quot(final Expression<? extends Number> x, final Expression<? extends Number> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.quot(final Expression<? extends Number> x, final Expression<? extends ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_328 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTrim3() {\n cb.trim((Expression<Character>) null, (Expression<String>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTrim3()",
"constructor": false,
"full_signature": "@Test(expected = Unsupp... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<String> trim(final Expression<String> x) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.trim(final Expression<String> x)",
"constructor": false,
"full_signature": "@Override public Expression<String> tr... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_27 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/ClassPathScannerTest.java",
"identifier": "ClassPathScannerTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testScanner() throws IOException {\n final Set<Class<?>> result = ClassPathScanner.scan(\"org.minijax\");\n assertNotNull(result);\n assertFalse(result.isEmpty());\n }",
"class_method_signature": "ClassPathScannerTest.testScanner()",
"constructor": false,
... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(ClassPathScanner.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(ClassPathScanner.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"... | {
"body": "public static Set<Class<?>> scan(final String packageName) throws IOException {\n return scan(packageName, Thread.currentThread().getContextClassLoader());\n }",
"class_method_signature": "ClassPathScanner.scan(final String packageName)",
"constructor": false,
"full_signature": "public stat... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_152 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testClear() {\n em.clear();\n }",
"class_method_signature": "MinijaxEntityManagerTest.testClear()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testClear()",... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void clear() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.clear()",
"constructor": false,
"full_signature": "@Override public void clear()",
"identifier": "clear",
"invocations": [],
"modifiers": "@Override ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_294 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testToString() {\n cb.toString(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testToString()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public voi... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<String> toString(final Expression<Character> character) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.toString(final Expression<Character> character)",
"constructor": false,
"full_signature": "@Overrid... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_31 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/NetworkUtilsTest.java",
"identifier": "NetworkUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testLoopbackOnly() {\n final Enumeration<NetworkInterface> nis = enumeration(singletonList(createInterface(\"127.0.0.1\")));\n assertNull(NetworkUtils.getIpAddress(nis));\n }",
"class_method_signature": "NetworkUtilsTest.testLoopbackOnly()",
"constructor": false,... | {
"fields": [],
"file": "minijax-core/src/main/java/org/minijax/rs/util/NetworkUtils.java",
"identifier": "NetworkUtils",
"interfaces": "",
"methods": [
{
"class_method_signature": "NetworkUtils.NetworkUtils()",
"constructor": true,
"full_signature": " NetworkUtils()",
"identifier... | {
"body": "public static String getIpAddress(final Enumeration<NetworkInterface> nis) {\n while (nis.hasMoreElements()) {\n final NetworkInterface ni = nis.nextElement();\n final String address = getIpAddress(ni);\n if (address != null && !address.startsWith(\"127.\") && !addre... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_105 | {
"fields": [
{
"declarator": "pui",
"modifier": "private",
"original_string": "private MinijaxPersistenceUnitInfo pui;",
"type": "MinijaxPersistenceUnitInfo",
"var_name": "pui"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minijax... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetNewTempClassLoader() {\n pui.getNewTempClassLoader();\n }",
"class_method_signature": "MinijaxPersistenceUnitInfoTest.testGetNewTempClassLoader()",
"constructor": false,
"full_signature": "@Test(expected = Unsuppo... | {
"fields": [
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final String name;",
"type": "String",
"var_name": "name"
},
{
"declarator": "providerClassName",
"modifier": "private final",
"original_string": "private final St... | {
"body": "@Override\n public ClassLoader getNewTempClassLoader() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxPersistenceUnitInfo.getNewTempClassLoader()",
"constructor": false,
"full_signature": "@Override public ClassLoader getNewTempClassLoader()",
"i... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_410 | {
"fields": [
{
"declarator": "TEST_RESOURCES = new File(\"src/test/resources\")",
"modifier": "private static final",
"original_string": "private static final File TEST_RESOURCES = new File(\"src/test/resources\");",
"type": "File",
"var_name": "TEST_RESOURCES"
}
],
"file": ... | {
"body": "@Test\n public void testCloseEntityManagerFactoryNull() {\n LiquibaseHelper.closeQuietly((EntityManagerFactory) null);\n }",
"class_method_signature": "LiquibaseHelperTest.testCloseEntityManagerFactoryNull()",
"constructor": false,
"full_signature": "@Test public void testCloseEntityMana... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(LiquibaseHelper.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(LiquibaseHelper.class);",
"type": "Logger",
"var_name": "LOG"
},
{
"de... | {
"body": "static void closeQuietly(final EntityManagerFactory emf) {\n if (emf != null) {\n try {\n emf.close();\n } catch (final Exception ex) {\n LOG.warn(\"Error closing entity manager factory: {}\", ex.getMessage(), ex);\n }\n }\n }"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_89 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/IdUtilsTest.java",
"identifier": "IdUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testFromBytesTooLong() {\n assertNull(IdUtils.fromBytes(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }));\n }",
"class_method_signature": "IdUtilsTest.testFromBytesTooLong()",
"constructor": false,
"full_signature": "@Test public void testFro... | {
"fields": [
{
"declarator": "RANDOM = new SecureRandom()",
"modifier": "private static final",
"original_string": "private static final SecureRandom RANDOM = new SecureRandom();",
"type": "SecureRandom",
"var_name": "RANDOM"
},
{
"declarator": "PATTERN = Pattern.compi... | {
"body": "public static UUID fromBytes(final byte[] b) {\n if (b == null || b.length != 16) {\n return null;\n }\n\n final ByteBuffer bb = ByteBuffer.wrap(b);\n return new UUID(bb.getLong(), bb.getLong());\n }",
"class_method_signature": "IdUtils.fromBytes(final byte[] b)"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_369 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testjoinCollection1() {\n root.joinCollection(null);\n }",
"class_method_signature": "MinijaxRootTest.testjoinCollection1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class)... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <X, Y> CollectionJoin<X, Y> joinCollection(final String attributeName) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.joinCollection(final String attributeName)",
"constructor": false,
"full_signature": "@Override public Col... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_386 | {
"fields": [],
"file": "minijax-components/minijax-asadmin/src/test/java/org/minijax/asadmin/MinijaxASAdminTest.java",
"identifier": "MinijaxASAdminTest",
"interfaces": "",
"superclass": "extends MinijaxTest"
} | {
"body": "@Test\n public void testHello() {\n assertEquals(\"Hello world!\", target(\"/\").request().get(String.class));\n }",
"class_method_signature": "MinijaxASAdminTest.testHello()",
"constructor": false,
"full_signature": "@Test public void testHello()",
"identifier": "testHello",
"invoca... | {
"fields": [],
"file": "minijax-components/minijax-asadmin/src/main/java/org/minijax/asadmin/MinijaxASAdmin.java",
"identifier": "MinijaxASAdmin",
"interfaces": "",
"methods": [
{
"class_method_signature": "MinijaxASAdmin.hello()",
"constructor": false,
"full_signature": "@GET public st... | {
"body": "@GET\n public static String hello() {\n return \"Hello world!\";\n }",
"class_method_signature": "MinijaxASAdmin.hello()",
"constructor": false,
"full_signature": "@GET public static String hello()",
"identifier": "hello",
"invocations": [],
"modifiers": "@GET public static",
"pa... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_66 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/CloseUtilsTest.java",
"identifier": "CloseUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n @SuppressWarnings(\"squid:S2699\")\n public void testExplodingAutoCloseable() {\n final ExplodingAutoCloseable obj = new ExplodingAutoCloseable();\n CloseUtils.closeQuietly(obj);\n }",
"class_method_signature": "CloseUtilsTest.testExplodingAutoCloseable()",
"constructor":... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(CloseUtils.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(CloseUtils.class);",
"type": "Logger",
"var_name": "LOG"
}
],
"file": "minijax-co... | {
"body": "@SuppressWarnings(\"rawtypes\")\n public static void closeQuietly(final Collection objs) {\n for (final Object obj : objs) {\n closeQuietly(obj);\n }\n }",
"class_method_signature": "CloseUtils.closeQuietly(final Collection objs)",
"constructor": false,
"full_signature"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_191 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetDeclaredSingularAttributes() {\n entityType.getDeclaredSingularAttributes();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetDeclaredSingularAttributes()",
"constructor": false,
"full_signature": "@T... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Set<SingularAttribute<T, ?>> getDeclaredSingularAttributes() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getDeclaredSingularAttributes()",
"constructor": false,
"full_signature": "@Override public Set<SingularAttrib... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_257 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testBetween1() {\n cb.between((Expression<Integer>) null, (Expression<Integer>) null, (Expression<Integer>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testBetween1()",
"constructor": false,
"full_... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <Y extends Comparable<? super Y>> Predicate between(final Expression<? extends Y> v, final Expression<? extends Y> x,\n final Expression<? extends Y> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.betwee... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_312 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testLike4() {\n cb.like((Expression<String>) null, (String) null, ' ');\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testLike4()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOpera... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n @SuppressWarnings(\"unchecked\")\n public MinijaxPredicate like(final Expression<String> x, final Expression<String> pattern) {\n return new MinijaxComparison<String>(ComparisonType.LIKE, (MinijaxExpression<String>) x, (MinijaxExpression<String>) pattern);\n }",
"class_method_... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_129 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minij... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testaddNamedEntityGraph() {\n emf.addNamedEntityGraph(null, null);\n }",
"class_method_signature": "MinijaxEntityManagerFactoryTest.testaddNamedEntityGraph()",
"constructor": false,
"full_signature": "@Test(expected = Un... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class);",
"type": "Logger",
"var_name": "LOG... | {
"body": "@Override\n public <T> void addNamedEntityGraph(final String graphName, final EntityGraph<T> entityGraph) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManagerFactory.addNamedEntityGraph(final String graphName, final EntityGraph<T> entityGraph)"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_200 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetPluralAttributes() {\n entityType.getPluralAttributes();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetPluralAttributes()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOper... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Set<PluralAttribute<? super T, ?, ?>> getPluralAttributes() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getPluralAttributes()",
"constructor": false,
"full_signature": "@Override public Set<PluralAttribute<? super T... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_345 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testSelectCase1() {\n cb.selectCase(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testSelectCase1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) pu... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <C, R> SimpleCase<C, R> selectCase(final Expression<? extends C> expression) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.selectCase(final Expression<? extends C> expression)",
"constructor": false,
"full_signat... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_216 | {
"fields": [],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/MinijaxPersistenceProviderTest.java",
"identifier": "MinijaxPersistenceProviderTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGenerateSchema2() {\n final MinijaxPersistenceProvider provider = new MinijaxPersistenceProvider();\n provider.generateSchema((PersistenceUnitInfo) null, null);\n }",
"class_method_signature": "MinijaxPersistenceP... | {
"fields": [
{
"declarator": "persistenceFile",
"modifier": "private final",
"original_string": "private final MinijaxPersistenceFile persistenceFile;",
"type": "MinijaxPersistenceFile",
"var_name": "persistenceFile"
}
],
"file": "minijax-components/minijax-persistence/src/m... | {
"body": "@Override\n @SuppressWarnings(\"rawtypes\")\n public void generateSchema(final PersistenceUnitInfo info, final Map map) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxPersistenceProvider.generateSchema(final PersistenceUnitInfo info, final Map map)"... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_353 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTreat6() {\n cb.treat((Path<Object>) null, null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTreat6()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.cla... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <X, T, V extends T> Join<X, V> treat(final Join<X, T> join, final Class<V> type) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.treat(final Join<X, T> join, final Class<V> type)",
"constructor": false,
"full_signa... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_187 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testgetDeclaredAttributes() {\n entityType.getDeclaredAttributes();\n }",
"class_method_signature": "MinijaxEntityTypeTest.testgetDeclaredAttributes()",
"constructor": false,
"full_signature": "@Test(expected = Unsupport... | {
"fields": [
{
"declarator": "javaType",
"modifier": "private final",
"original_string": "private final Class<T> javaType;",
"type": "Class<T>",
"var_name": "javaType"
},
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final... | {
"body": "@Override\n public Set<Attribute<T, ?>> getDeclaredAttributes() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityType.getDeclaredAttributes()",
"constructor": false,
"full_signature": "@Override public Set<Attribute<T, ?>> getDeclaredAttributes... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_168 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testJoinTransaction() {\n em.joinTransaction();\n }",
"class_method_signature": "MinijaxEntityManagerTest.testJoinTransaction()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.cl... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void joinTransaction() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.joinTransaction()",
"constructor": false,
"full_signature": "@Override public void joinTransaction()",
"identifier": "joinTransaction",
"invo... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_241 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testAny() {\n cb.any(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testAny()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testAny()",
... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <Y> Expression<Y> any(final Subquery<Y> subquery) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.any(final Subquery<Y> subquery)",
"constructor": false,
"full_signature": "@Override public Expression<Y> any(final ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_304 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testIsMember2() {\n cb.isMember((Widget) null, (Expression<List<Widget>>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testIsMember2()",
"constructor": false,
"full_signature": "@Test(expected = Uns... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <E, C extends Collection<E>> Predicate isMember(final Expression<E> elem, final Expression<C> collection) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.isMember(final Expression<E> elem, final Expression<C> collectio... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_93 | {
"fields": [
{
"declarator": "pui",
"modifier": "private",
"original_string": "private MinijaxPersistenceUnitInfo pui;",
"type": "MinijaxPersistenceUnitInfo",
"var_name": "pui"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minijax... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetTransactionType() {\n pui.getTransactionType();\n }",
"class_method_signature": "MinijaxPersistenceUnitInfoTest.testGetTransactionType()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOpera... | {
"fields": [
{
"declarator": "name",
"modifier": "private final",
"original_string": "private final String name;",
"type": "String",
"var_name": "name"
},
{
"declarator": "providerClassName",
"modifier": "private final",
"original_string": "private final St... | {
"body": "@Override\n public PersistenceUnitTransactionType getTransactionType() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxPersistenceUnitInfo.getTransactionType()",
"constructor": false,
"full_signature": "@Override public PersistenceUnitTransactionTyp... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_373 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testjoin12() {\n root.join((String) null, (JoinType) null);\n }",
"class_method_signature": "MinijaxRootTest.testjoin12()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) p... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <Y> Join<T, Y> join(final SingularAttribute<? super T, Y> attribute) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.join(final SingularAttribute<? super T, Y> attribute)",
"constructor": false,
"full_signature": "@Override p... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_236 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testCount() {\n cb.count(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testCount()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testCou... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Long> count(final Expression<?> x) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.count(final Expression<?> x)",
"constructor": false,
"full_signature": "@Override public Expression<Long> count(final Ex... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_324 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testSubstring3() {\n cb.substring((Expression<String>) null, (Expression<Integer>) null, (Expression<Integer>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testSubstring3()",
"constructor": false,
"... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<String> substring(final Expression<String> x, final Expression<Integer> from) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.substring(final Expression<String> x, final Expression<Integer> from)",
"constr... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_261 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGe1() {\n cb.ge((Expression<Integer>) null, (Expression<Integer>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testGe1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOp... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Predicate ge(final Expression<? extends Number> x, final Expression<? extends Number> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.ge(final Expression<? extends Number> x, final Expression<? extends Number> y)",
... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_148 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testRefresh1() {\n em.refresh(widget);\n }",
"class_method_signature": "MinijaxEntityManagerTest.testRefresh1()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public void refresh(final Object entity) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.refresh(final Object entity)",
"constructor": false,
"full_signature": "@Override public void refresh(final Object entity)",
"identi... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_9 | {
"fields": [
{
"declarator": "alice",
"modifier": "public static",
"original_string": "public static User alice;",
"type": "User",
"var_name": "alice"
},
{
"declarator": "aliceCookie",
"modifier": "public static",
"original_string": "public static Cookie al... | {
"body": "@Test\n public void testFollowUser() throws Exception {\n assertFalse(alice.following.contains(bob));\n\n final Response response = target(\"/bob/follow\").request().cookie(aliceCookie).get();\n assertNotNull(response);\n assertEquals(303, response.getStatus());\n\n tr... | {
"fields": [
{
"declarator": "security",
"modifier": "@Inject\n private",
"original_string": "@Inject\n private Security<User> security;",
"type": "Security<User>",
"var_name": "security"
},
{
"declarator": "dao",
"modifier": "@Inject\n private",
"... | {
"body": "@GET\n @Path(\"/{handle}/follow\")\n @RolesAllowed(\"user\")\n public Response followUser(@PathParam(\"handle\") String handle) {\n security.getUserPrincipal().following.add(dao.readByHandle(User.class, handle));\n dao.update(security.getUserPrincipal());\n return Response.see... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_298 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testParameter2() {\n cb.parameter(null, null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testParameter2()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class)... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <T> ParameterExpression<T> parameter(final Class<T> paramClass) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.parameter(final Class<T> paramClass)",
"constructor": false,
"full_signature": "@Override public Param... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_332 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testLength() {\n cb.length(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testLength()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void test... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public Expression<Integer> length(final Expression<String> x) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.length(final Expression<String> x)",
"constructor": false,
"full_signature": "@Override public Expression<Integ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_277 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testProd3() {\n cb.prod((Integer) null, (Expression<Integer>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testProd3()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperatio... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <N extends Number> Expression<N> prod(final Expression<? extends N> x, final Expression<? extends N> y) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.prod(final Expression<? extends N> x, final Expression<? extends N... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_365 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n public void testjoin8() {\n root.join((SetAttribute) null, (JoinType) null);\n }",
"class_method_signature": "MinijaxRootTest.testjoin8()",
"constructor": false,
"full_signatur... | {
"fields": [
{
"declarator": "entityType",
"modifier": "private final",
"original_string": "private final MinijaxEntityType<T> entityType;",
"type": "MinijaxEntityType<T>",
"var_name": "entityType"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minija... | {
"body": "@Override\n public <Y> Join<T, Y> join(final SingularAttribute<? super T, Y> attribute) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxRoot.join(final SingularAttribute<? super T, Y> attribute)",
"constructor": false,
"full_signature": "@Override p... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_85 | {
"fields": [],
"file": "minijax-components/minijax-commons/src/test/java/org/minijax/commons/IdUtilsTest.java",
"identifier": "IdUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testToBytesNull() {\n assertNull(IdUtils.toBytes(null));\n }",
"class_method_signature": "IdUtilsTest.testToBytesNull()",
"constructor": false,
"full_signature": "@Test public void testToBytesNull()",
"identifier": "testToBytesNull",
"invocations": [
"assertNu... | {
"fields": [
{
"declarator": "RANDOM = new SecureRandom()",
"modifier": "private static final",
"original_string": "private static final SecureRandom RANDOM = new SecureRandom();",
"type": "SecureRandom",
"var_name": "RANDOM"
},
{
"declarator": "PATTERN = Pattern.compi... | {
"body": "public static byte[] toBytes(final UUID id) {\n if (id == null) {\n return null; // NOSONAR - Must be null for JDBC\n }\n\n final byte[] buffer = new byte[16];\n final ByteBuffer bb = ByteBuffer.wrap(buffer);\n bb.putLong(id.getMostSignificantBits());\n ... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_220 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testCreateTupleQuery() {\n final MinijaxCriteriaQuery<Tuple> q = cb.createTupleQuery();\n final MinijaxRoot<Widget> w = q.from(Widget.class);\n q.select(cb.tuple(w.get(\"id\"), w.get(\"name\")));\n assertEquals(Tuple.class, q.getSelection().getJavaType());... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public MinijaxCriteriaQuery<Tuple> createTupleQuery() {\n return new MinijaxCriteriaQuery<>(metamodel, Tuple.class);\n }",
"class_method_signature": "MinijaxCriteriaBuilder.createTupleQuery()",
"constructor": false,
"full_signature": "@Override public MinijaxCriteriaQuery<Tup... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_109 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test\n public void testParseEqualsNamedVariable() {\n final MinijaxCriteriaQuery<Widget> query = Parser.parse(\n em.getCriteriaBuilder(),\n Widget.class,\n Tokenizer.tokenize(\"SELECT w FROM Widget w WHERE w.name = :names\"));\n\n assertNotNull... | {
"fields": [
{
"declarator": "cb",
"modifier": "private final",
"original_string": "private final MinijaxCriteriaBuilder cb;",
"type": "MinijaxCriteriaBuilder",
"var_name": "cb"
},
{
"declarator": "resultType",
"modifier": "private final",
"original_string"... | {
"body": "public static <T> MinijaxCriteriaQuery<T> parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType, final List<Token> tokens) {\n return new Parser<>(cb, resultType, tokens).parse();\n }",
"class_method_signature": "Parser.parse(final MinijaxCriteriaBuilder cb, final Class<T> resultType... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_11 | {
"fields": [],
"file": "minijax-archetypes/minijax-archetype-quickstart/src/main/resources/archetype-resources/src/test/java/AppTest.java",
"identifier": "AppTest",
"interfaces": "",
"superclass": "extends MinijaxTest"
} | {
"body": "@Test\n public void testHello() {\n assertEquals(\"Hello world!\", target(\"/\").request().get(String.class));\n }",
"class_method_signature": "AppTest.testHello()",
"constructor": false,
"full_signature": "@Test public void testHello()",
"identifier": "testHello",
"invocations": [
... | {
"fields": [],
"file": "minijax-archetypes/minijax-archetype-quickstart/src/main/resources/archetype-resources/src/main/java/App.java",
"identifier": "App",
"interfaces": "",
"methods": [
{
"class_method_signature": "App.hello()",
"constructor": false,
"full_signature": "@GET @Path(\"/\... | {
"body": "@GET\n @Path(\"/\")\n public static String hello() {\n return \"Hello world!\";\n }",
"class_method_signature": "App.hello()",
"constructor": false,
"full_signature": "@GET @Path(\"/\") public static String hello()",
"identifier": "hello",
"invocations": [],
"modifiers": "@GET @... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_172 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testIsOpen() {\n em.isOpen();\n }",
"class_method_signature": "MinijaxEntityManagerTest.testIsOpen()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testIsOpen... | {
"fields": [
{
"declarator": "emf",
"modifier": "private final",
"original_string": "private final MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "metamodel",
"modifier": "private final",
"orig... | {
"body": "@Override\n public boolean isOpen() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManager.isOpen()",
"constructor": false,
"full_signature": "@Override public boolean isOpen()",
"identifier": "isOpen",
"invocations": [],
"modifiers": "... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_46 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/LocaleUtilsTest.java",
"identifier": "LocaleUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testVariant() {\n final List<Locale> list = LocaleUtils.parseAcceptLanguage(\"de-DE-1996\");\n assertEquals(1, list.size());\n assertEquals(\"de\", list.get(0).getLanguage());\n assertEquals(\"DE\", list.get(0).getCountry());\n assertEquals(\"1996\"... | {
"fields": [],
"file": "minijax-core/src/main/java/org/minijax/rs/util/LocaleUtils.java",
"identifier": "LocaleUtils",
"interfaces": "",
"methods": [
{
"class_method_signature": "LocaleUtils.LocaleUtils()",
"constructor": true,
"full_signature": " LocaleUtils()",
"identifier": "L... | {
"body": "public static List<Locale> parseAcceptLanguage(final String header) {\n if (header == null || header.isEmpty()) {\n return Collections.emptyList();\n }\n\n final List<Locale> result = new ArrayList<>();\n for (final String str : header.split(\",\")) {\n fin... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_349 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testTreat2() {\n cb.treat((CollectionJoin<User, Message>) null, (Class<Message>) null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testTreat2()",
"constructor": false,
"full_signature": "@Test(expected =... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <X, T, V extends T> Join<X, V> treat(final Join<X, T> join, final Class<V> type) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.treat(final Join<X, T> join, final Class<V> type)",
"constructor": false,
"full_signa... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_125 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
}
],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/Minij... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetCache() {\n emf.getCache();\n }",
"class_method_signature": "MinijaxEntityManagerFactoryTest.testGetCache()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public v... | {
"fields": [
{
"declarator": "LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class)",
"modifier": "private static final",
"original_string": "private static final Logger LOG = LoggerFactory.getLogger(MinijaxEntityManagerFactory.class);",
"type": "Logger",
"var_name": "LOG... | {
"body": "@Override\n public Cache getCache() {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxEntityManagerFactory.getCache()",
"constructor": false,
"full_signature": "@Override public Cache getCache()",
"identifier": "getCache",
"invocations": [],
"mo... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_50 | {
"fields": [],
"file": "minijax-core/src/test/java/org/minijax/rs/util/MultipartUtilsTest.java",
"identifier": "MultipartUtilsTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testSimple() throws IOException {\n final Multipart form = new Multipart();\n form.param(\"a\", \"b\");\n\n final InputStream inputStream = MultipartUtils.serializeMultipartForm(form);\n\n final List<Part> parts = new ArrayList<>(Multipart.read(form.getCon... | {
"fields": [],
"file": "minijax-core/src/main/java/org/minijax/rs/util/MultipartUtils.java",
"identifier": "MultipartUtils",
"interfaces": "",
"methods": [
{
"class_method_signature": "MultipartUtils.MultipartUtils()",
"constructor": true,
"full_signature": " MultipartUtils()",
"... | {
"body": "public static InputStream serializeMultipartForm(final Multipart form) throws IOException {\n try (final ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {\n serializeMultipartForm(form, outputStream);\n return new ByteArrayInputStream(outputStream.toByteArray(... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_133 | {
"fields": [],
"file": "minijax-components/minijax-persistence/src/test/java/org/minijax/persistence/lazy/LazyListTest.java",
"identifier": "LazyListTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void testIterator() {\n final LazyList<String> list = new LazyList<>(new MockQuery<>(\"foo\"));\n final Iterator<String> iter = list.iterator();\n assertTrue(iter.hasNext());\n assertEquals(\"foo\", iter.next());\n assertFalse(iter.hasNext());\n }",
... | {
"fields": [
{
"declarator": "query",
"modifier": "private final",
"original_string": "private final MinijaxBaseTypedQuery<E> query;",
"type": "MinijaxBaseTypedQuery<E>",
"var_name": "query"
},
{
"declarator": "data",
"modifier": "private",
"original_string... | {
"body": "@Override\n public Iterator<E> iterator() {\n return getData().iterator();\n }",
"class_method_signature": "LazyList.iterator()",
"constructor": false,
"full_signature": "@Override public Iterator<E> iterator()",
"identifier": "iterator",
"invocations": [
"iterator",
"getData... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
104141068_308 | {
"fields": [
{
"declarator": "emf",
"modifier": "private",
"original_string": "private MinijaxEntityManagerFactory emf;",
"type": "MinijaxEntityManagerFactory",
"var_name": "emf"
},
{
"declarator": "em",
"modifier": "private",
"original_string": "private Mi... | {
"body": "@Test(expected = UnsupportedOperationException.class)\n public void testKeys() {\n cb.keys(null);\n }",
"class_method_signature": "MinijaxCriteriaBuilderTest.testKeys()",
"constructor": false,
"full_signature": "@Test(expected = UnsupportedOperationException.class) public void testKeys()... | {
"fields": [
{
"declarator": "metamodel",
"modifier": "private final",
"original_string": "private final MinijaxMetamodel metamodel;",
"type": "MinijaxMetamodel",
"var_name": "metamodel"
}
],
"file": "minijax-components/minijax-persistence/src/main/java/org/minijax/persisten... | {
"body": "@Override\n public <K, M extends Map<K, ?>> Expression<Set<K>> keys(final M map) {\n throw new UnsupportedOperationException();\n }",
"class_method_signature": "MinijaxCriteriaBuilder.keys(final M map)",
"constructor": false,
"full_signature": "@Override public Expression<Set<K>> keys(fi... | {
"created": null,
"fork": null,
"fork_count": 0,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 104141068,
"size": 2657,
"stargazer_count": 16,
"stars": null,
"updates": null,
"url": "https://github.com/minijax/minijax"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.