Examples of addImplementedInterface()


Examples of com.google.gwt.user.rebind.ClassSourceFileComposerFactory.addImplementedInterface()

        ClassSourceFileComposerFactory composerFactory = new ClassSourceFileComposerFactory(packageName, beanClassName);

        addImports(composerFactory);

        if (superType.isInterface() != null) {
            composerFactory.addImplementedInterface(superType.getQualifiedSourceName());
        } else {
            composerFactory.setSuperclass(superType.getQualifiedSourceName());
        }

        return composerFactory.createSourceWriter(context, printWriter);
View Full Code Here

Examples of com.habitsoft.kiyaa.rebind.typeinfo.GeneratedClassInfo.addImplementedInterface()

                                    + " implements "+(isModelView?"ModelView":"View")+" {");
                    sw.indent();
                    GeneratedClassInfo genClass = new GeneratedInnerClassInfo(subviewClassName, rootViewClass, commonTypes.object, true);
                   
                    if(isModelView)
                        genClass.addImplementedInterface(getType(ModelView.class.getName()));
                    new ClassGenerator().generateClassBody(elem, genClass, sv.parentViewClass, rootViewClass);
                    sw.outdent();
                    sw.println("}");
                } finally {
                  popLogger();
View Full Code Here

Examples of com.habitsoft.kiyaa.rebind.typeinfo.GeneratedInnerClassInfo.addImplementedInterface()

                                    + " implements "+(isModelView?"ModelView":"View")+" {");
                    sw.indent();
                    GeneratedClassInfo genClass = new GeneratedInnerClassInfo(subviewClassName, rootViewClass, commonTypes.object, true);
                   
                    if(isModelView)
                        genClass.addImplementedInterface(getType(ModelView.class.getName()));
                    new ClassGenerator().generateClassBody(elem, genClass, sv.parentViewClass, rootViewClass);
                    sw.outdent();
                    sw.println("}");
                } finally {
                  popLogger();
View Full Code Here

Examples of uk.co.badgersinfoil.metaas.dom.ASClassType.addImplementedInterface()

    if (type instanceof ASInterfaceType) {
      ASInterfaceType interfaceType = (ASInterfaceType) type;
      interfaceType.addSuperInterface(name.getName());
    } else {
      ASClassType classType = (ASClassType) type;
      classType.addImplementedInterface(name.getName());
    }
    addImport(name.getName());
  }

 
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.