private static void method(PrintWriter out, String element, Clazz.MethodDef source, String closeElement) { out.println(" <" + element + " class='" + source.getContainingClass() .getFQN() + "'" + getAccess(source.getAccess()) + (source.isConstructor() ? "" : " name='" + source.getName() + "'") + " descriptor='" + source.getDescriptor() + "' pretty='" + source.toString() + "'" + closeElement); }
private static void method(PrintWriter out, String element, Clazz.MethodDef source, String closeElement) { out.println(" <" + element + " class='" + source.getContainingClass() .getFQN() + "'" + getAccess(source.getAccess()) + (source.isConstructor() ? "" : " name='" + source.getName() + "'") + " descriptor='" + source.getDescriptor() + "' pretty='" + source.toString() + "'" + closeElement); }
private static Tag doMethod(Tag tag, MethodDef method) { tag.addAttribute("pretty", method.toString()); if (method.isPublic()) tag.addAttribute("public", true); if (method.isStatic()) tag.addAttribute("static", true); if (method.isProtected()) tag.addAttribute("protected", true); if (method.isInterface()) tag.addAttribute("interface", true); tag.addAttribute("constructor", method.isConstructor()); if (!method.isConstructor()) tag.addAttribute("name", method.getName()); tag.addAttribute("descriptor", method.getDescriptor()); return tag; } }
private static Tag doMethod(Tag tag, MethodDef method) { tag.addAttribute("pretty", method.toString()); if (method.isPublic()) tag.addAttribute("public", true); if (method.isStatic()) tag.addAttribute("static", true); if (method.isProtected()) tag.addAttribute("protected", true); if (method.isInterface()) tag.addAttribute("interface", true); tag.addAttribute("constructor", method.isConstructor()); if (!method.isConstructor()) tag.addAttribute("name", method.getName()); tag.addAttribute("descriptor", method.getDescriptor()); return tag; } }
private static Tag doMethod(Tag tag, MethodDef method) { tag.addAttribute("pretty", method.toString()); if (method.isPublic()) tag.addAttribute("public", true); if (method.isStatic()) tag.addAttribute("static", true); if (method.isProtected()) tag.addAttribute("protected", true); if (method.isInterface()) tag.addAttribute("interface", true); tag.addAttribute("constructor", method.isConstructor()); if (!method.isConstructor()) tag.addAttribute("name", method.getName()); tag.addAttribute("descriptor", method.getDescriptor()); return tag; } }
private static Tag doMethod(Tag tag, MethodDef method) { tag.addAttribute("pretty", method.toString()); if (method.isPublic()) tag.addAttribute("public", true); if (method.isStatic()) tag.addAttribute("static", true); if (method.isProtected()) tag.addAttribute("protected", true); if (method.isInterface()) tag.addAttribute("interface", true); tag.addAttribute("constructor", method.isConstructor()); if (!method.isConstructor()) tag.addAttribute("name", method.getName()); tag.addAttribute("descriptor", method.getDescriptor()); return tag; } }
private static Tag doMethod(Tag tag, MethodDef method) { tag.addAttribute("pretty", method.toString()); if (method.isPublic()) tag.addAttribute("public", true); if (method.isStatic()) tag.addAttribute("static", true); if (method.isProtected()) tag.addAttribute("protected", true); if (method.isInterface()) tag.addAttribute("interface", true); tag.addAttribute("constructor", method.isConstructor()); if (!method.isConstructor()) tag.addAttribute("name", method.getName()); tag.addAttribute("descriptor", method.getDescriptor()); return tag; } }