Examples of ClassOrInterfaceType


Examples of japa.parser.ast.type.ClassOrInterfaceType

    printTypeParameters(n.getTypeParameters(), arg);

    if (n.getExtends() != null) {
      printer.print(" extends ");
      for (final Iterator<ClassOrInterfaceType> i = n.getExtends().iterator(); i.hasNext();) {
        final ClassOrInterfaceType c = i.next();
        c.accept(this, arg);
        if (i.hasNext()) {
          printer.print(", ");
        }
      }
    }

    if (n.getImplements() != null) {
      printer.print(" implements ");
      for (final Iterator<ClassOrInterfaceType> i = n.getImplements().iterator(); i.hasNext();) {
        final ClassOrInterfaceType c = i.next();
        c.accept(this, arg);
        if (i.hasNext()) {
          printer.print(", ");
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.