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; } }