Package org.objectweb.speedo.generation.api

Examples of org.objectweb.speedo.generation.api.SpeedoCompilerParameter


    }

    public void visitClass(SpeedoClass sc) throws SpeedoException {
        logger.log(BasicLevel.DEBUG, "MetaDataAnalyzer.visitClass(" + sc.getFQName() + ")");
        boolean isSrcJar = false;
        SpeedoCompilerParameter _scp = loader.getSpeedoCompilerParameter();
      ClassReader cr = loader.loadJavaClass(
                    isSrcJar,
                    sc.moPackage.name + '.' + sc.name,
                    _scp.output,
                    false);

        cr.accept(new ClassInfoAnalyzer(
                loader, sc, _scp.getXmldescriptor().values(), logger), true);
        super.visitClass(sc);
    }
View Full Code Here


        if (sc.identity.objectidClass == null) {
            return;
        }
        logger.log(BasicLevel.DEBUG, "PrimaryKeyFieldAdder.visitClass(" + sc.getFQName() + ")");
        boolean isSrcJar = false;
        SpeedoCompilerParameter _scp = loader.getSpeedoCompilerParameter();
        String className = sc.identity.objectidClass;
        if (className.indexOf('.') == -1) {
            className = sc.moPackage.name + '.' + className;
        }
        UserIDClassAnalyzer uica = new UserIDClassAnalyzer(logger);
View Full Code Here

      boolean find = false;

        public boolean fillInfo(SpeedoField sf) {
          this.result = sf;
          String className = sf.moClass.getFQName();
            SpeedoCompilerParameter scp = enhancer.getSpeedoCompilerParameter();
            try {
              find = false;
                while (true) {
                    // lookup in the class if the field exists
                    ClassReader cr = enhancer.loadJavaClass(enhancer.isSrcJar,
View Full Code Here

   
    // IMPLEMENTATION OF THE GeneratorComponent INTERFACE //
    //----------------------------------------------------//
    public SpeedoCompilerParameter getSpeedoCompilerParameter() {
        if (scp == null) {
            scp = new SpeedoCompilerParameter();
            scp.personality = personality;
        }
        return scp;
    }
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.generation.api.SpeedoCompilerParameter

Copyright © 2018 www.massapicom. 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.