1 52 53 package com.go.beandoc.teadoc; 54 55 61 public class ExecutableMemberDoc extends MemberDoc { 62 63 private com.sun.javadoc.ExecutableMemberDoc mDoc; 64 65 public ExecutableMemberDoc(RootDoc root, 66 com.sun.javadoc.ExecutableMemberDoc doc) { 67 super(root, doc); 68 mDoc = doc; 69 } 70 71 public ClassDoc[] getThrownExceptions() { 72 return ClassDoc.convert(mRootDoc, mDoc.thrownExceptions()); 73 } 74 75 public boolean isNative() { 76 return mDoc.isNative(); 77 } 78 79 public boolean isSynchronized() { 80 return mDoc.isSynchronized(); 81 } 82 83 public Parameter[] getParameters() { 84 return Parameter.convert(mRootDoc, mDoc.parameters()); 85 } 86 87 public ThrowsTag[] getThrowsTags() { 88 return ThrowsTag.convert(mRootDoc, mDoc.throwsTags()); 89 } 90 91 public ParamTag[] getParamTags() { 92 return ParamTag.convert(mRootDoc, mDoc.paramTags()); 93 } 94 95 public String getSignature() { 96 return mDoc.signature(); 97 } 98 99 public String getFlatSignature() { 100 return mDoc.flatSignature(); 101 } 102 } 103 | Popular Tags |