Package cc.catalysts.cdoclet.generator

Examples of cc.catalysts.cdoclet.generator.Type


  }

// --------------------- Interface Handler ---------------------

  public void process(ClassDoc classDoc) throws ClassNotFoundException, InvocationTargetException, IllegalAccessException {
    Type type = GeneratorUtils.getType(classDoc.qualifiedName(), getGenerator());

    getGenerator().beginEnum(type);
    processClassComment(classDoc);
    processEnumConstants(type, classDoc);
View Full Code Here


    getGenerator().endEnum();
  }

  private void processEnumConstants(Type type, ClassDoc classDoc) throws InvocationTargetException, IllegalAccessException, ClassNotFoundException {
    Method getter = findGetter(classDoc);
    Type valueType = GeneratorUtils.getType(classDoc, getGenerator(), new HashSet<String>());

    for (FieldDoc fieldDoc : classDoc.enumConstants()) {
      Object value = null;

      if (getter != null) {
View Full Code Here

TOP

Related Classes of cc.catalysts.cdoclet.generator.Type

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.