Package com.helger.jcodemodel

Examples of com.helger.jcodemodel.EClassType


    JDefinedClass _class(TypeElement element) throws ProcessingException {
        return _class(element, new TypeEnvironment());
    }

    private JDefinedClass _class(TypeElement element, TypeEnvironment environment) throws ProcessingException {
        EClassType classType = toClassType(element.getKind());
        int modifiers = toJMod(element.getModifiers());
        if (classType.equals(EClassType.INTERFACE))
            modifiers = modifiers & ~JMod.ABSTRACT;

        JDefinedClass newClass;
        try {
            newClass = codeModel._class(modifiers, element.getQualifiedName().toString(), classType);
View Full Code Here

TOP

Related Classes of com.helger.jcodemodel.EClassType

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.