public EmptyDeclaration skipDeclaration(Element e, String... preMessages) { if (result.config.limitComments) { return null; } List<String> mess = new ArrayList<String>(); if (preMessages != null) { mess.addAll(Arrays.asList(preMessages)); } mess.addAll(Arrays.asList("SKIPPED:", new Printer(null).formatComments(e, true, true, false).toString(), getFileCommentContent(e), e.toString().replace("*/", "* /"))); return new EmptyDeclaration(mess.toArray(new String[0])); }
public EmptyDeclaration skipDeclaration(Element e, String... preMessages) { if (result.config.limitComments) { return null; } List<String> mess = new ArrayList<String>(); if (preMessages != null) { mess.addAll(Arrays.asList(preMessages)); } mess.addAll(Arrays.asList("SKIPPED:", new Printer(null).formatComments(e, true, true, false).toString(), getFileCommentContent(e), e.toString().replace("*/", "* /"))); return new EmptyDeclaration(mess.toArray(new String[0])); }
public EmptyDeclaration skipDeclaration(Element e, String... preMessages) { if (result.config.limitComments) { return null; } List<String> mess = new ArrayList<String>(); if (preMessages != null) { mess.addAll(Arrays.asList(preMessages)); } mess.addAll(Arrays.asList("SKIPPED:", new Printer(null).formatComments(e, true, true, false).toString(), getFileCommentContent(e), e.toString().replace("*/", "* /"))); return new EmptyDeclaration(mess.toArray(new String[0])); }
public EmptyDeclaration skipDeclaration(Element e, String... preMessages) { if (result.config.limitComments) { return null; } List<String> mess = new ArrayList<String>(); if (preMessages != null) { mess.addAll(Arrays.asList(preMessages)); } mess.addAll(Arrays.asList("SKIPPED:", new Printer(null).formatComments(e, true, true, false).toString(), getFileCommentContent(e), e.toString().replace("*/", "* /"))); return new EmptyDeclaration(mess.toArray(new String[0])); }
out.addDeclaration(new EmptyDeclaration(e.toString())); return false; } finally {
out.addDeclaration(new EmptyDeclaration(e.toString())); return false; } finally {
return new EmptyDeclaration("Failed to infer type of " + converted); } else if (prim != JavaPrim.Void && converted.getValue() != null) {
return new EmptyDeclaration("Failed to infer type of " + converted); } else if (prim != JavaPrim.Void && converted.getValue() != null) {
} catch (UnsupportedConversionException e) { out.addDeclaration(new EmptyDeclaration(e.toString())); return false;
implementations.addDeclaration(new EmptyDeclaration(getFileCommentContent(function), ex.toString()));
implementations.addDeclaration(new EmptyDeclaration(getFileCommentContent(function), ex.toString()));
} catch (UnsupportedConversionException e) { out.addDeclaration(new EmptyDeclaration(e.toString())); return false;
String s = (s2 == null ? "" : s2) + s1; if (s.matches(".*\n\\s*\n")) retval.declaration = new EmptyDeclaration();
structJavaClass.addDeclaration(new EmptyDeclaration(method.toString())); } else { structJavaClass.addDeclaration(method);
structJavaClass.addDeclaration(new EmptyDeclaration(method.toString())); } else { structJavaClass.addDeclaration(method);
out.add(new EmptyDeclaration("Failed to convert value " + name + " of type " + mutatedType));
out.add(new EmptyDeclaration("Failed to convert value " + name + " of type " + mutatedType));