Lines Matching refs:mi

616   static boolean methodIsOverride(HashSet<ClassInfo> notStrippable, MethodInfo mi) {
618 if (mi.isAbstract() || mi.isStatic() || mi.isFinal()) {
623 MethodInfo om = mi.findSuperclassImplementation(notStrippable);
626 if (mi.mIsPrivate == om.mIsPrivate && mi.mIsPublic == om.mIsPublic
627 && mi.mIsProtected == om.mIsProtected) {
637 if (!mi.mContainingClass.equals(om.mContainingClass)) {
863 for (MethodInfo mi : constructors) {
864 writeConstructorXML(xmlWriter, mi);
869 for (MethodInfo mi : methods) {
870 if (!methodIsOverride(notStrippable, mi)) {
871 writeMethodXML(xmlWriter, mi);
884 static void writeMethodXML(PrintStream xmlWriter, MethodInfo mi) {
885 String scope = mi.scope();
888 if (mi.isDeprecated()) {
894 + mi.name()
896 + ((mi.returnType() != null) ? " return=\""
897 + makeXMLcompliant(fullParameterTypeName(mi, mi.returnType(), false)) + "\"\n" : "")
898 + " abstract=\"" + mi.isAbstract() + "\"\n" + " native=\"" + mi.isNative() + "\"\n"
899 + " synchronized=\"" + mi.isSynchronized() + "\"\n" + " static=\"" + mi.isStatic() + "\"\n"
900 + " final=\"" + mi.isFinal() + "\"\n" + " deprecated=\"" + deprecatedString + "\"\n"
902 // + " source=\"" + mi.position() + "\"\n"
906 int numParameters = mi.parameters().size();
908 for (ParameterInfo pi : mi.parameters()) {
910 writeParameterXML(xmlWriter, mi, pi, count == numParameters);
914 ArrayList<ClassInfo> exceptions = mi.thrownExceptions();
924 static void writeConstructorXML(PrintStream xmlWriter, MethodInfo mi) {
925 String scope = mi.scope();
927 if (mi.isDeprecated()) {
932 xmlWriter.println("<constructor name=\"" + mi.name() + "\"\n" + " type=\""
933 + mi.containingClass().qualifiedName() + "\"\n" + " static=\"" + mi.isStatic() + "\"\n"
934 + " final=\"" + mi.isFinal() + "\"\n" + " deprecated=\"" + deprecatedString + "\"\n"
936 // + " source=\"" + mi.position() + "\"\n"
939 int numParameters = mi.parameters().size();
941 for (ParameterInfo pi : mi.parameters()) {
943 writeParameterXML(xmlWriter, mi, pi, count == numParameters);
946 ArrayList<ClassInfo> exceptions = mi.thrownExceptions();
1092 for (MethodInfo mi : constructors) {
1093 writeConstructorApi(apiWriter, mi);
1098 for (MethodInfo mi : methods) {
1099 if (!methodIsOverride(notStrippable, mi)) {
1100 writeMethodApi(apiWriter, mi);
1119 static void writeConstructorApi(PrintStream apiWriter, MethodInfo mi) {
1121 apiWriter.print(mi.scope());
1122 if (mi.isDeprecated()) {
1126 apiWriter.print(mi.name());
1128 writeParametersApi(apiWriter, mi, mi.parameters());
1129 writeThrowsApi(apiWriter, mi.thrownExceptions());
1133 static void writeMethodApi(PrintStream apiWriter, MethodInfo mi) {
1135 apiWriter.print(mi.scope());
1136 if (mi.isStatic()) {
1139 if (mi.isFinal()) {
1142 if (mi.isAbstract()) {
1145 if (mi.isDeprecated()) {
1148 if (mi.isSynchronized()) {
1152 if (mi.returnType() == null) {
1155 apiWriter.print(fullParameterTypeName(mi, mi.returnType(), false));
1158 apiWriter.print(mi.name());
1160 writeParametersApi(apiWriter, mi, mi.parameters());
1161 writeThrowsApi(apiWriter, mi.thrownExceptions());
1291 for (MethodInfo mi : constructors) {
1292 writeConstructorKeepList(keepListWriter, mi);
1299 for (MethodInfo mi : methods) {
1300 if (!methodIsOverride(notStrippable, mi)) {
1301 writeMethodKeepList(keepListWriter, mi);
1324 static void writeConstructorKeepList(PrintStream keepListWriter, MethodInfo mi) {
1326 String name = mi.name();
1330 writeParametersKeepList(keepListWriter, mi, mi.parameters());
1334 static void writeMethodKeepList(PrintStream keepListWriter, MethodInfo mi) {
1336 keepListWriter.print(mi.scope());
1337 if (mi.isStatic()) {
1340 if (mi.isAbstract()) {
1343 if (mi.isSynchronized()) {
1347 if (mi.returnType() == null) {
1350 keepListWriter.print(getCleanTypeName(mi.returnType()));
1353 keepListWriter.print(mi.name());
1355 writeParametersKeepList(keepListWriter, mi, mi.parameters());