Examples of makeString()


Examples of jadx.core.dex.info.AccessInfo.makeString()

    // don't add 'public' for annotations
    if (clsAccFlags.isAnnotation()) {
      ai = ai.remove(AccessFlags.ACC_PUBLIC);
    }
    code.startLineWithNum(mth.getSourceLine());
    code.add(ai.makeString());

    if (classGen.addGenericMap(code, mth.getGenericMap())) {
      code.add(' ');
    }
    if (mth.getAccessFlags().isConstructor()) {
View Full Code Here

Examples of jadx.core.dex.info.AccessInfo.makeString()

      af = af.remove(AccessFlags.ACC_STATIC);
    }

    annotationGen.addForClass(clsCode);
    insertSourceFileInfo(clsCode, cls);
    clsCode.startLine(af.makeString());
    if (af.isInterface()) {
      if (af.isAnnotation()) {
        clsCode.add('@');
      }
      clsCode.add("interface ");
View Full Code Here

Examples of net.minecraft.world.gen.ChunkProviderServer.makeString()

          }
        }
      }
    }
    chunks.clear();
    LogHelper.info(providerServer.makeString());

    IChunkLoader chunkloader = providerServer.currentChunkLoader;
    providerServer.currentChunkLoader = null;
    for (int x1 = chunkX.intValue() - range; x1 <= chunkX.intValue() + range; x1++) {
      for (int z1 = chunkZ.intValue() - range; z1 <= chunkZ.intValue() + range; z1++) {
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

                final int end = region.end[n];

                final Object groupString;

                if (start > -1 && end > -1) {
                    groupString = context.makeString(string.substring(start, end));
                } else {
                    groupString = getContext().getCoreLibrary().getNilObject();
                }

                values[n] = groupString;
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

            }

            p = matcher.getEnd();
        }

        return context.makeString(builder.toString());
    }

    @CompilerDirectives.SlowPath
    public RubyString[] split(String string) {
        final RubyContext context = getContext();
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

        while (true) {
            final int match = matcher.search(p, stringBytes.length, Option.DEFAULT);

            if (match == -1) {
                strings.add(context.makeString(StandardCharsets.UTF_8.decode(ByteBuffer.wrap(stringBytes, p, stringBytes.length - p)).toString()));
                break;
            } else {
                strings.add(context.makeString(StandardCharsets.UTF_8.decode(ByteBuffer.wrap(stringBytes, p, matcher.getBegin() - p)).toString()));
            }
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

            if (match == -1) {
                strings.add(context.makeString(StandardCharsets.UTF_8.decode(ByteBuffer.wrap(stringBytes, p, stringBytes.length - p)).toString()));
                break;
            } else {
                strings.add(context.makeString(StandardCharsets.UTF_8.decode(ByteBuffer.wrap(stringBytes, p, matcher.getBegin() - p)).toString()));
            }

            p = matcher.getEnd();
        }
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

            final int match = matcher.search(p, stringBytes.length, Option.DEFAULT);

            if (match == -1) {
                break;
            } else {
                strings.add(context.makeString(StandardCharsets.UTF_8.decode(ByteBuffer.wrap(stringBytes, matcher.getBegin(), matcher.getEnd() - matcher.getBegin())).toString()));
            }

            p = matcher.getEnd();
        }
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

        private RubyString formatSlow(RubyString format, Object[] args) {
            final RubyContext context = getContext();

            if (args.length == 1 && args[0] instanceof RubyArray) {
                singleArrayProfile.enter();
                return context.makeString(StringFormatter.format(format.toString(), Arrays.asList(((RubyArray) args[0]).slowToArray())));
            } else {
                multipleArgumentsProfile.enter();
                return context.makeString(StringFormatter.format(format.toString(), Arrays.asList(args)));
            }
        }
View Full Code Here

Examples of org.jruby.truffle.runtime.RubyContext.makeString()

            if (args.length == 1 && args[0] instanceof RubyArray) {
                singleArrayProfile.enter();
                return context.makeString(StringFormatter.format(format.toString(), Arrays.asList(((RubyArray) args[0]).slowToArray())));
            } else {
                multipleArgumentsProfile.enter();
                return context.makeString(StringFormatter.format(format.toString(), Arrays.asList(args)));
            }
        }
    }

    @CoreMethod(names = {"[]", "slice"}, required = 1, optional = 1, lowerFixnumParameters = {0, 1})
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.