Dataset Viewer
Auto-converted to Parquet Duplicate
task
stringclasses
1 value
input_ids
sequencelengths
46
4.09k
attention_mask
sequencelengths
46
4.09k
labels
sequencelengths
47
4.09k
raw_inputs
stringlengths
160
34.2k
raw_labels
stringlengths
3
16k
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 2777, 1817, 2292, 53137, 11, 935, 51776, 8, 341, 286, 1456, 341, 310, 935, 1318, 5596, 284, 51776, 5402, 30810, 3, 3147, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static boolean check(String passwd, String hashed) { try { String[] parts = hashed.split("\\$"); if (parts.length != 5 || !parts[1].equals("s0")) { throw new IllegalArgumentException("Invalid ...
Compare the supplied plaintext password to a hashed password. @param passwd Plaintext password. @param hashed scrypt hashed password. @return true if passwd matches hashed value.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 17916, 11388, 368, 3872, 34181, 17745, 1378, 341, 286, 935, 2709, 19249, 284, 76596, 446, 437, 39191, 803, 286, 935, 2709, 678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static Platform detect() throws UnsupportedPlatformException { String osArch = getProperty("os.arch"); String osName = getProperty("os.name"); for (Arch arch : Arch.values()) { if (arch.pattern.matcher(os...
Attempt to detect the current platform. @return The current platform. @throws UnsupportedPlatformException if the platform cannot be detected.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 366, 51, 29, 350, 82898, 38407, 12809, 1401, 8, 341, 286, 422, 320, 5607, 1061, 2276, 624, 854, 8, 341, 310, 471, 320, 51, 8, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public <T> T getNodeMetaData(Object key) { if (metaDataMap == null) { return (T) null; } return (T) metaDataMap.get(key); } Documentation:
Gets the node meta data. @param key - the meta data key @return the node meta data value for this key
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 3048, 1997, 38407, 4444, 790, 1997, 1023, 8, 341, 286, 422, 320, 1605, 25932, 1061, 2276, 624, 854, 8, 341, 310, 471, 280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void copyNodeMetaData(ASTNode other) { if (other.metaDataMap == null) { return; } if (metaDataMap == null) { metaDataMap = new ListHashMap(); } metaDataMap.putAll(other.metaData...
Copies all node meta data from the other node to this one @param other - the other node
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 743, 1997, 38407, 12809, 1401, 11, 3075, 907, 8, 341, 286, 422, 320, 798, 419, 2994, 8, 2571, 502, 18370, 62615, 47873, 1480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void setNodeMetaData(Object key, Object value) { if (key==null) throw new GroovyBugError("Tried to set meta data with null key on "+this+"."); if (metaDataMap == null) { metaDataMap = new ListHashMap(); } ...
Sets the node meta data. @param key - the meta data key @param value - the meta data value @throws GroovyBugError if key is null or there is already meta data under that key
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 3075, 2231, 1997, 38407, 12809, 1401, 11, 3075, 907, 8, 341, 286, 422, 320, 798, 624, 854, 8, 2571, 502, 18370, 62615, 47873, 1480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public Object putNodeMetaData(Object key, Object value) { if (key == null) throw new GroovyBugError("Tried to set meta data with null key on " + this + "."); if (metaDataMap == null) { metaDataMap = new ListHashMap(); ...
Sets the node meta data but allows overwriting values. @param key - the meta data key @param value - the meta data value @return the old node meta data value for this key @throws GroovyBugError if key is null
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 4148, 1997, 38407, 12809, 1401, 8, 341, 286, 422, 320, 798, 419, 2994, 8, 2571, 502, 18370, 62615, 47873, 1480, 446, 51, 4588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void removeNodeMetaData(Object key) { if (key==null) throw new GroovyBugError("Tried to remove meta data with null key "+this+"."); if (metaDataMap == null) { return; } metaDataMap.remove(key); ...
Removes a node meta data entry. @param key - the meta data key @throws GroovyBugError if the key is null
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 16842, 1767, 1207, 861, 86137, 1577, 1404, 8, 341, 286, 422, 320, 99461, 624, 854, 8, 2571, 502, 41927, 446, 15346, 539, 1650, 1207,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public RangeInfo subListBorders(int size) { if (inclusive == null) throw new IllegalStateException("Should not call subListBorders on a non-inclusive aware IntRange"); int tempFrom = from; if (tempFrom < 0) { tem...
A method for determining from and to information when using this IntRange to index an aggregate object of the specified size. Normally only used internally within Groovy but useful if adding range indexing support for your own aggregates. @param size the size of the aggregate being indexed @return the calculated range...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 2682, 742, 1893, 45394, 3607, 32468, 1997, 37631, 1999, 11, 8825, 1997, 3424, 1997, 11, 935, 41488, 678, 11, 22504, 41488, 4818, 8, 987, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: protected void createSetterMethod(ClassNode declaringClass, PropertyNode propertyNode, String setterName, Statement setterBlock) { MethodNode setter = new MethodNode( setterName, propertyNode.getModifiers(...
Creates a setter method with the given body. @param declaringClass the class to which we will add the setter @param propertyNode the field to back the setter @param setterName the name of the setter @param setterBlock the statement representing the setter block
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 3881, 1271, 16352, 1999, 12568, 7, 16352, 1999, 1997, 8598, 2547, 8, 3872, 71181, 9595, 1378, 341, 286, 23887, 538, 12568, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void applyToPrimaryClassNodes(PrimaryClassNodeOperation body) throws CompilationFailedException { Iterator classNodes = getPrimaryClassNodes(body.needSortedInput()).iterator(); while (classNodes.hasNext()) { Sourc...
A loop driver for applying operations to all primary ClassNodes in our AST. Automatically skips units that have already been processed through the current phase.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 29, 350, 449, 74676, 74166, 7728, 11, 571, 54954, 4975, 3764, 28, 16778, 941, 3150, 11, 2671, 16160, 10248, 4340, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T> T withStreams(Socket socket, @ClosureParams(value=SimpleType.class, options={"java.io.InputStream","java.io.OutputStream"}) Closure<T> closure) throws IOException { InputStream input = socket.getInputStream(); Outp...
Passes the Socket's InputStream and OutputStream to the closure. The streams will be closed after the closure returns, even if an exception is thrown. @param socket a Socket @param closure a Closure @return the value returned by the closure @throws IOException if an IOException occurs. @since 1.5.2
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 29, 350, 76398, 74676, 74166, 7728, 11, 571, 54954, 4975, 3764, 28, 16778, 941, 3150, 11, 2671, 16160, 10248, 4340, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T> T withObjectStreams(Socket socket, @ClosureParams(value=SimpleType.class, options={"java.io.ObjectInputStream","java.io.ObjectOutputStream"}) Closure<T> closure) throws IOException { InputStream input = socket.getInputStre...
Creates an InputObjectStream and an OutputObjectStream from a Socket, and passes them to the closure. The streams will be closed after the closure returns, even if an exception is thrown. @param socket this Socket @param closure a Closure @return the value returned by the closure @throws IOException if an IOExceptio...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 6872, 1622, 1893, 12379, 368, 341, 286, 528, 1404, 284, 636, 5078, 2568, 545, 286, 3308, 1318, 1719, 4266, 284, 502, 3308, 38956, 94...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public MethodKey createCopy() { int size = getParameterCount(); Class[] paramTypes = new Class[size]; for (int i = 0; i < size; i++) { paramTypes[i] = getParameterType(i); } return new DefaultMeth...
Creates an immutable copy that we can cache.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 656, 73236, 43920, 10285, 3308, 1997, 272, 1997, 11, 1620, 8922, 4665, 5089, 11, 1620, 71181, 4665, 7015, 8, 341, 286, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void doExtendTraits(final ClassNode cNode, final SourceUnit unit, final CompilationUnit cu) { if (cNode.isInterface()) return; boolean isItselfTrait = Traits.isTrait(cNode); SuperCallTraitTransformer superCallT...
Given a class node, if this class node implements a trait, then generate all the appropriate code which delegates calls to the trait. It is safe to call this method on a class node which does not implement a trait. @param cNode a class node @param unit the source unit
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 33217, 1378, 636, 34990, 1480, 1577, 1963, 8, 341, 286, 33217, 1378, 4788, 284, 854, 401, 286, 4961, 1984, 284, 636, 1480, 7343, 317...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public SyntaxException getSyntaxError(int index) { SyntaxException exception = null; Message message = getError(index); if (message != null && message instanceof SyntaxErrorMessage) { exception = ((SyntaxErrorMe...
Convenience routine to return the specified error's underlying SyntaxException, or null if it isn't one.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 879, 742, 75517, 901, 7, 12217, 5480, 340, 262, 341, 286, 422, 320, 33166, 791, 12698, 340, 286, 341, 310, 1418, 320, 2058, 23652, 2455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: private void gobble(Iterator iter) { if (eatTheRest) { while (iter.hasNext()) { tokens.add(iter.next()); } } } Documentation:
Adds the remaining tokens to the processed tokens list. @param iter An iterator over the remaining tokens
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 528, 682, 9905, 3112, 19686, 8495, 87912, 1318, 3712, 11, 3308, 1997, 1318, 2897, 8, 341, 286, 422, 320, 3603, 419, 2994, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static int allParametersAndArgumentsMatch(Parameter[] params, ClassNode[] args) { if (params==null) { params = Parameter.EMPTY_ARRAY; } int dist = 0; if (args.length<params.length) return -1; ...
Checks that arguments and parameter types match. @param params method parameters @param args type arguments @return -1 if arguments do not match, 0 if arguments are of the exact type and >0 when one or more argument is not of the exact type but still match
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 1118, 528, 13937, 19686, 43570, 53, 2164, 5078, 87912, 1318, 3712, 11, 3308, 1997, 1318, 2897, 8, 341, 286, 443, 584, 2736, 1440, 5852, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: static int excessArgumentsMatchesVargsParameter(Parameter[] params, ClassNode[] args) { // we already know parameter length is bigger zero and last is a vargs // the excess arguments are all put in an array for the vargs call ...
Checks that excess arguments match the vararg signature parameter. @param params @param args @return -1 if no match, 0 if all arguments matches the vararg type and >0 if one or more vararg argument is assignable to the vararg type, but still not an exact match
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 1118, 528, 1566, 2803, 43570, 53, 867, 87912, 1318, 3712, 11, 3308, 1997, 1131, 2897, 8, 341, 286, 422, 1533, 285, 53, 2164, 9094, 595, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: static int lastArgMatchesVarg(Parameter[] params, ClassNode... args) { if (!isVargs(params)) return -1; // case length ==0 handled already // we have now two cases, // the argument is wrapped in the vargs array or ...
Checks if the last argument matches the vararg type. @param params @param args @return -1 if no match, 0 if the last argument is exactly the vararg type and 1 if of an assignable type
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 879, 1118, 15521, 1977, 5078, 10285, 5135, 3548, 11, 2672, 1233, 941, 29, 14281, 3915, 26512, 11, 1620, 5135, 3548, 11, 2672, 1233, 941, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: private static Parameter buildParameter(final Map<String, GenericsType> genericFromReceiver, final Map<String, GenericsType> placeholdersFromContext, final Parameter methodParameter, final ClassNode paramType) { if (genericFromReceiver.isEm...
Given a parameter, builds a new parameter for which the known generics placeholders are resolved. @param genericFromReceiver resolved generics from the receiver of the message @param placeholdersFromContext, resolved generics from the method context @param methodParameter the method parameter for which we want to resol...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 2777, 374, 1999, 1999, 1997, 36314, 3713, 84694, 941, 32468, 1997, 538, 1997, 8, 341, 286, 2672, 1233, 941, 1318, 96645, 4266, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static boolean isClassClassNodeWrappingConcreteType(ClassNode classNode) { GenericsType[] genericsTypes = classNode.getGenericsTypes(); return ClassHelper.CLASS_Type.equals(classNode) && classNode.isUsingGener...
Returns true if the class node represents a the class node for the Class class and if the parametrized type is a neither a placeholder or a wildcard. For example, the class node Class&lt;Foo&gt; where Foo is a class would return true, but the class node for Class&lt;?&gt; would return false. @param classNode a class no...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 29, 350, 6859, 4959, 2519, 83922, 4365, 11, 935, 20791, 11, 935, 11878, 11, 571, 54954, 4975, 3764, 28, 45591, 3150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T> T splitEachLine(InputStream stream, String regex, String charset, @ClosureParams(value=FromString.class,options="List<String>") Closure<T> closure) throws IOException { return splitEachLine(new BufferedReader(new InputStre...
Iterates through the given InputStream line by line using the specified encoding, splitting each line using the given separator. The list of tokens for each line is then passed to the given closure. Finally, the stream is closed. @param stream an InputStream @param regex the delimiting regular expression @param ch...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 5276, 4873, 7, 5172, 659, 11, 30504, 7061, 11, 571, 54954, 4975, 3764, 28, 16778, 941, 3150, 11, 2671, 429, 10248, 8178, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void transformChar(Reader self, Writer writer, @ClosureParams(value=SimpleType.class, options="java.lang.String") Closure closure) throws IOException { int c; try { char[] chars = new char[1]; w...
Transforms each character from this reader by passing it to the given closure. The Closure should return each transformed character, which will be passed to the Writer. The reader and writer will be both be closed before this method returns. @param self a Reader object @param writer a Writer to receive the trans...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 11, 549, 2289, 13330, 481, 29, 350, 449, 8084, 481, 12597, 659, 11, 571, 54954, 4975, 3764, 28, 5451, 2044, 3150, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T, U extends Closeable> T withCloseable(U self, @ClosureParams(value=FirstParam.class) Closure<T> action) throws IOException { try { T result = action.call(self); Closeable temp = self; se...
Allows this closeable to be used within the closure, ensuring that it is closed once the closure has been executed and before this method returns. @param self the Closeable @param action the closure taking the Closeable as parameter @return the value returned by the closure @throws IOException if an IOException occurs...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 3075, 76596, 12809, 1665, 8, 341, 286, 471, 1674, 8178, 30961, 8277, 57959, 4496, 317, 262, 457, 65434, 25, 128001, 128000, 1991, 420,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 128000, 19...
Task: codex_glue | Generate documentation for the following code: Code: public Object getProperty(Object object) { return java.lang.reflect.Array.getLength(object); } Documentation:
Get this property from the given object. @param object an array @return the length of the array object @throws IllegalArgumentException if object is not an array
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 2682, 6872, 17215, 1304, 9566, 7368, 10285, 935, 836, 11, 1620, 935, 6697, 11, 1620, 935, 12223, 11, 1620, 935, 1318, 20157, 11, 1620, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: protected MethodVisitor makeDelegateCall(final String name, final String desc, final String signature, final String[] exceptions, final int accessFlags) { MethodVisitor mv = super.visitMethod(accessFlags, name, desc, signature, exceptions);...
Generate a call to the delegate object.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 6872, 74783, 1428, 3607, 32468, 20112, 272, 8, 341, 286, 443, 47687, 284, 3254, 586, 8278, 1749, 198, 286, 443, 422, 279, 538,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static Method getSAMMethod(Class<?> c) { // SAM = single public abstract method // if the class is not abstract there is no abstract method if (!Modifier.isAbstract(c.getModifiers())) return null; if (c.isInte...
returns the abstract method from a SAM type, if it is a SAM type. @param c the SAM class @return null if nothing was found, the method otherwise
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 2682, 742, 7068, 44, 454, 56392, 7, 35015, 27, 3607, 1997, 29, 89164, 56392, 11, 2777, 1005, 2028, 8, 341, 286, 369, 320, 3607, 1997, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: protected void generateMopCalls(LinkedList<MethodNode> mopCalls, boolean useThis) { for (MethodNode method : mopCalls) { String name = getMopMethodName(method, useThis); Parameter[] parameters = method.getParameters(...
generates a Meta Object Protocol method, that is used to call a non public method, or to make a call to super. @param mopCalls list of methods a mop call method should be generated for @param useThis true if "this" should be used for the naming
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 3308, 1997, 636, 11803, 32468, 1997, 13979, 8, 341, 286, 13979, 284, 13979, 25067, 545, 286, 422, 1533, 285, 34413, 941, 93556, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static ClassNode getWrapper(ClassNode cn) { cn = cn.redirect(); if (!isPrimitiveType(cn)) return cn; if (cn==boolean_TYPE) { return Boolean_TYPE; } else if (cn==byte_TYPE) { return Byte...
Creates a ClassNode containing the wrapper of a ClassNode of primitive type. Any ClassNode representing a primitive type should be created using the predefined types used in class. The method will check the parameter for known references of ClassNode representing a primitive type. If Reference is found, then a ClassNod...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 6872, 1997, 1505, 87434, 32468, 1997, 955, 8, 341, 286, 422, 1533, 35505, 2124, 16328, 5930, 673, 68037, 10340, 471, 854, 280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static MethodNode findSAM(ClassNode type) { if (!Modifier.isAbstract(type.getModifiers())) return null; if (type.isInterface()) { List<MethodNode> methods = type.getMethods(); MethodNode found=null; ...
Returns the single abstract method of a class node, if it is a SAM type, or null otherwise. @param type a type for which to search for a single abstract method @return the method node if type is a SAM type, null otherwise
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 528, 636, 4808, 2041, 768, 7, 528, 955, 11, 2777, 2571, 2746, 8087, 883, 1504, 286, 3480, 7, 955, 883, 1504, 310, 1162, 2268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static int getPrecedence( int type, boolean throwIfInvalid ) { switch( type ) { case LEFT_PARENTHESIS: return 0; case EQUAL: case PLUS_EQUAL: case MINUS_EQUAL: ...
Returns the precedence of the specified operator. Non-operator's will receive -1 or a GroovyBugError, depending on your preference.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 366, 51, 29, 350, 449, 7, 56667, 3203, 29, 22722, 883, 341, 286, 471, 8058, 77435, 62615, 18337, 18662, 7, 854, 11, 22722, 883, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public <T> T with( Closure<T> closure ) { return DefaultGroovyMethods.with( null, closure ) ; } Documentation:
Allows the closure to be called for NullObject @param closure the closure to call on the object @return result of calling the closure
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 879, 1118, 2777, 5280, 3607, 32468, 1997, 538, 1997, 11, 935, 48845, 11, 3308, 1318, 1417, 4266, 8, 987, 286, 1796, 5528, 284, 538, 1997,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: private static boolean implementsMethod(ClassNode classNode, String methodName, Class[] argTypes) { List methods = classNode.getMethods(); if (argTypes == null || argTypes.length ==0) { for (Iterator i = methods.itera...
Tests whether the ClassNode implements the specified method name @param classNode The ClassNode @param methodName The method name @param argTypes @return True if it implements the method
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 935, 37681, 11971, 368, 341, 286, 422, 320, 1337, 11971, 624, 854, 8, 341, 310, 11664, 6745, 284, 502, 11664, 3232, 1996, 368, 489, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public String getTypeDescriptor() { if (typeDescriptor == null) { StringBuilder buf = new StringBuilder(name.length() + parameters.length * 10); buf.append(returnType.getName()); buf.append(' '); ...
The type descriptor for a method node is a string containing the name of the method, its return type, and its parameter types in a canonical form. For simplicity, I'm using the format of a Java declaration without parameter names. @return the type descriptor
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 571, 2226, 198, 262, 586, 935, 64138, 368, 341, 286, 935, 2160, 941, 284, 20717, 1271, 1199, 5628, 19810, 1199, 36206, 941, 317, 286, 935...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: @Override public String getText() { String retType = AstToTextHelper.getClassText(returnType); String exceptionTypes = AstToTextHelper.getThrowsClauseText(exceptions); String parms = AstToTextHelper.getParametersText(par...
Provides a nicely formatted string of the method definition. For simplicity, generic types on some of the elements are not displayed. @return string form of node with some generic elements suppressed
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 13591, 9743, 1318, 55817, 368, 341, 286, 26394, 10838, 7, 7750, 1105, 317, 286, 471, 55817, 41730, 1792, 18370, 62615, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyConstructorDoc[] constructors() { Collections.sort(constructors); return constructors.toArray(new GroovyConstructorDoc[constructors.size()]); } Documentation:
returns a sorted array of constructors
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 1999, 9743, 1318, 9358, 20678, 368, 341, 286, 26394, 10838, 1471, 10185, 317, 286, 471, 24997, 41730, 1792, 18370, 62615, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyClassDoc[] innerClasses() { Collections.sort(nested); return nested.toArray(new GroovyClassDoc[nested.size()]); } Documentation:
returns a sorted array of nested classes and interfaces
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 1915, 9743, 1318, 5151, 368, 341, 286, 26394, 10838, 38801, 317, 286, 471, 5151, 41730, 1792, 18370, 62615, 1915, 9743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyFieldDoc[] fields() { Collections.sort(fields); return fields.toArray(new GroovyFieldDoc[fields.size()]); } Documentation:
returns a sorted array of fields
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 1915, 9743, 1318, 6012, 368, 341, 286, 26394, 10838, 47004, 317, 286, 471, 6012, 41730, 1792, 18370, 62615, 1915, 9743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyFieldDoc[] properties() { Collections.sort(properties); return properties.toArray(new GroovyFieldDoc[properties.size()]); } Documentation:
returns a sorted array of properties
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 1915, 9743, 1318, 7773, 9571, 368, 341, 286, 26394, 10838, 65645, 9571, 317, 286, 471, 7773, 9571, 41730, 1792, 18370, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyFieldDoc[] enumConstants() { Collections.sort(enumConstants); return enumConstants.toArray(new GroovyFieldDoc[enumConstants.size()]); } Documentation:
returns a sorted array of enum constants
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 18370, 62615, 3607, 9743, 1318, 5528, 368, 341, 286, 26394, 10838, 17709, 82, 317, 286, 471, 5528, 41730, 1792, 18370, 62615, 3607, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public GroovyMethodDoc[] methods() { Collections.sort(methods); return methods.toArray(new GroovyMethodDoc[methods.size()]); } Documentation:
returns a sorted array of methods
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 923, 21950, 3548, 11, 3075, 29, 2472, 8, 3872, 25395, 341, 286, 422, 320, 56950, 22305, 21753, 8, 341, 310, 422, 320, 14377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void add(Map<String, Object> map) throws SQLException { if (withinDataSetBatch) { if (batchData.size() == 0) { batchKeys = map.keySet(); } else { if (!map.keySet().equals(batchK...
Adds the provided map of key-value pairs as a new row in the table represented by this DataSet. @param map the key (column-name), value pairs to add as a new row @throws SQLException if a database error occurs
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 1855, 1577, 4445, 11, 528, 1973, 9201, 11, 56667, 22722, 8, 3872, 25395, 341, 286, 1855, 3179, 5550, 8433, 1535, 636, 9905, 153...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void each(int offset, int maxRows, Closure closure) throws SQLException { eachRow(getSql(), getParameters(), offset, maxRows, closure); } Documentation:
Calls the provided closure for a "page" of rows from the table represented by this DataSet. A page is defined as starting at a 1-based offset, and containing a maximum number of rows. @param offset the 1-based offset for the first row to be processed @param maxRows the maximum number of rows to be processed @param cl...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 879, 742, 15411, 45394, 3607, 32468, 1997, 538, 1997, 11, 2777, 10950, 481, 11, 935, 45376, 8, 987, 286, 935, 34529, 678, 284, 330, 456, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: private void wrapSetterMethod(ClassNode classNode, boolean bindable, String propertyName) { String getterName = "get" + MetaClassHelper.capitalize(propertyName); MethodNode setter = classNode.getSetterMethod("set" + MetaClassHelpe...
Wrap an existing setter.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 1317, 6352, 1730, 20408, 659, 8, 3872, 9530, 11, 22085, 198, 262, 341, 286, 1620, 1317, 1318, 1404, 284, 314, 15, 43, 2368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static long directorySize(File self) throws IOException, IllegalArgumentException { final long[] size = {0L}; eachFileRecurse(self, FileType.FILES, new Closure<Void>(null) { public void doCall(Object[] args) ...
Calculates directory size as total size of all its files, recursively. @param self a file object @return directory size (length) @since 2.1 @throws IOException if File object specified does not exist @throws IllegalArgumentException if the provided File object does not represent a directory
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 29, 350, 6859, 4959, 2519, 20408, 659, 11, 935, 20791, 11, 571, 54954, 4975, 3764, 28, 16778, 941, 3150, 11, 2671, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T> T splitEachLine(File self, String regex, @ClosureParams(value=SimpleType.class, options="java.lang.String[]") Closure<T> closure) throws IOException { return IOGroovyMethods.splitEachLine(newReader(self), regex, closure); ...
Iterates through this file line by line, splitting each line using the given regex separator. For each line, the given closure is called with a single parameter being the list of strings computed by splitting the line around matches of the given regular expression. Finally the resources used for processing the file are...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 3350, 20408, 1052, 11, 935, 1495, 11, 935, 11878, 8, 3872, 9530, 341, 286, 30504, 7061, 284, 854, 280, 286, 1456, 341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void write(File file, String text, String charset) throws IOException { Writer writer = null; try { FileOutputStream out = new FileOutputStream(file); writeUTF16BomIfRequired(charset, out); ...
Write the text to the File, using the specified encoding. @param file a File @param text the text to write to the File @param charset the charset used @throws IOException if an IOException occurs. @since 1.0
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 8911, 20408, 1052, 11, 3075, 1495, 8, 3872, 9530, 341, 286, 30504, 7061, 284, 854, 280, 286, 1456, 341, 310, 7061, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void append(File file, Object text) throws IOException { Writer writer = null; try { writer = new FileWriter(file, true); InvokerHelper.write(writer, text); writer.flush(); ...
Append the text at the end of the File. @param file a File @param text the text to append at the end of the File @throws IOException if an IOException occurs. @since 1.0
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 8911, 20408, 1052, 11, 3075, 1495, 11, 935, 11878, 8, 3872, 9530, 341, 286, 30504, 7061, 284, 854, 280, 286, 1456, 341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void append(File file, Object text, String charset) throws IOException { Writer writer = null; try { FileOutputStream out = new FileOutputStream(file, true); if (!file.exists()) { ...
Append the text at the end of the File, using a specified encoding. @param file a File @param text the text to append at the end of the File @param charset the charset used @throws IOException if an IOException occurs. @since 1.0
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 742, 8911, 20408, 1052, 11, 30504, 7061, 11, 935, 11878, 8, 3872, 9530, 341, 286, 8911, 4187, 291, 4971, 11, 7061, 11, 11878, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static void append(File file, Writer writer, String charset) throws IOException { appendBuffered(file, writer, charset); } Documentation:
Append the text supplied by the Writer at the end of the File, using a specified encoding. @param file a File @param writer the Writer supplying the text to append at the end of the File @param charset the charset used @throws IOException if an IOException occurs. @since 2.3
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 879, 1118, 742, 3350, 40080, 845, 33, 316, 7, 13087, 4365, 11, 2777, 2466, 44331, 8, 3872, 9530, 341, 286, 422, 320, 16548, 44331, 8, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: private static void writeUtf16Bom(OutputStream stream, boolean bigEndian) throws IOException { if (bigEndian) { stream.write(-2); stream.write(-1); } else { stream.write(-1); stream.wr...
Write a Byte Order Mark at the beginning of the file @param stream the FileOutputStream to write the BOM to @param bigEndian true if UTF 16 Big Endian or false if Low Endian @throws IOException if an IOException occurs. @since 1.0
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 2682, 3308, 48337, 8397, 5998, 2292, 836, 8, 341, 286, 422, 320, 609, 624, 854, 8, 471, 854, 280, 286, 22183, 320, 1058, 8397, 8, 341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: protected Class getClassCacheEntry(String name) { if (name == null) return null; synchronized (classCache) { return classCache.get(name); } } Documentation:
gets a class from the class cache. This cache contains only classes loaded through this class loader or an InnerLoader instance. If no class is stored for a specific name, then the method should return null. @param name of the class @return the class stored for the given name @see #removeClassCacheEntry(String) @see #...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 16197, 1999, 15976, 4164, 7921, 1318, 636, 12452, 1999, 15976, 77598, 32670, 368, 341, 286, 22183, 320, 3455, 2811, 861, 8, 341, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public MetaClassRegistryChangeEventListener[] getMetaClassRegistryChangeEventListeners() { synchronized (changeListenerList) { ArrayList<MetaClassRegistryChangeEventListener> ret = new ArrayList<MetaClassRegi...
Gets an array of of all registered ConstantMetaClassListener instances.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 16197, 1999, 15976, 38986, 1577, 2997, 12318, 8, 341, 286, 422, 320, 1012, 12318, 976, 423, 10443, 25006, 14131, 8, 341, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static MetaClassRegistry getInstance(int includeExtension) { if (includeExtension != DONT_LOAD_DEFAULT) { if (instanceInclude == null) { instanceInclude = new MetaClassRegistryImpl(); } ...
Singleton of MetaClassRegistry. @param includeExtension @return the registry
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 60039, 1997, 636, 7, 528, 1963, 883, 720, 262, 341, 286, 60039, 1997, 2449, 284, 854, 401, 286, 422, 7, 1963, 366, 1404, 368, 883,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public CSTNode get( int index ) { CSTNode element = null; if( index < size() ) { element = (CSTNode)elements.get( index ); } return element; } Documentation:
Returns the specified element, or null.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 60039, 1997, 743, 7, 528, 1963, 11, 60039, 1997, 2449, 883, 720, 262, 341, 1827, 286, 422, 7, 5540, 624, 854, 883, 720, 286, 341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public CSTNode set( int index, CSTNode element ) { if( elements == null ) { throw new GroovyBugError( "attempt to set() on a EMPTY Reduction" ); } if( index == 0 && !(element instanceof To...
Sets an element in at the specified index.
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 742, 923, 4233, 907, 8, 341, 286, 8711, 3203, 29, 2449, 284, 502, 8711, 3203, 2284, 35618, 11, 907, 317, 286, 2449, 40025, 284, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public void add(T value) { Element<T> element = new Element<T>(bundle, value); element.previous = tail; if (tail != null) tail.next = element; tail = element; if (head == null) head = element; } Documenta...
adds a value to the list @param value the value
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 350, 1318, 79290, 4233, 1318, 259, 1895, 8, 341, 286, 1796, 3203, 29, 1358, 284, 502, 5166, 3203, 2284, 1041, 317, 286, 369, 320, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public T[] toArray(T[] tArray) { List<T> array = new ArrayList<T>(100); for (Iterator<T> it = iterator(); it.hasNext();) { T val = it.next(); if (val != null) array.add(val); } return array.to...
Returns an array of non null elements from the source array. @param tArray the source array @return the array
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 5273, 636, 12809, 1401, 8, 341, 286, 1416, 1442, 279, 3160, 374, 1234, 323, 584, 527, 10371, 369, 279, 1401, 11, 1243, 1120, 1427, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public Value get(Object key) { /* If the length is under and we are asking for the key, then just look for the key. Don't build the map. */ if (map == null && items.length < 20) { for (Object item : items) { ...
Get the items for the key. @param key @return the items for the given key
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 366, 51, 29, 23887, 3203, 29, 5016, 7, 12217, 3203, 29, 659, 8, 341, 286, 471, 311, 861, 1209, 51735, 3203, 9414, 5016, 1246...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static <T> Iterator<T> unique(Iterator<T> self) { return toList((Iterable<T>) unique(toList(self))).listIterator(); } Documentation:
Returns an iterator equivalent to this iterator with all duplicated items removed by using the default comparator. The original iterator will become exhausted of elements after determining the unique values. A new iterator for the unique values will be returned. @param self an Iterator @return the modified Iterator @s...
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 528, 1396, 59893, 28474, 1271, 7, 63735, 659, 11, 59206, 1023, 8, 341, 286, 5742, 59893, 39758, 27, 63735, 29, 1396, 59893, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static int numberAwareCompareTo(Comparable self, Comparable other) { NumberAwareComparator<Comparable> numberAwareComparator = new NumberAwareComparator<Comparable>(); return numberAwareComparator.compare(self, other); } ...
Provides a method that compares two comparables using Groovy's default number aware comparator. @param self a Comparable @param other another Comparable @return a -ve number, 0 or a +ve number according to Groovy's compareTo contract @since 1.6.0
codex_glue
[ 128000, 6396, 25, 20950, 327, 35669, 361, 765, 20400, 9904, 369, 279, 2768, 2082, 512, 2123, 25, 586, 1118, 2777, 904, 12809, 659, 11, 56667, 22722, 8, 341, 286, 7137, 54954, 11803, 18399, 86, 284, 502, 7137, 54954, 11803, 1361, 11915, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Task: codex_glue | Generate documentation for the following code: Code: public static boolean any(Object self, Closure closure) { BooleanClosureWrapper bcw = new BooleanClosureWrapper(closure); for (Iterator iter = InvokerHelper.asIterator(self); iter.hasNext();) { if (bcw.call(iter.next()))...
Iterates over the contents of an object or collection, and checks whether a predicate is valid for at least one element. @param self the object over which we iterate @param closure the closure predicate used for matching @return true if any iteration for the object matches the closure predicate @since 1.0
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7