Package com.asakusafw.compiler.common

Examples of com.asakusafw.compiler.common.TargetOperator


    @Override
    public void initialize(OperatorCompilingEnvironment env) {
        Precondition.checkMustNotBeNull(env, "env"); //$NON-NLS-1$
        this.environment = env;
        TargetOperator target = getClass().getAnnotation(TargetOperator.class);
        if (target != null) {
            this.targetOperatorAnnotation = target.value();
        } else {
            env.getMessager().printMessage(
                Diagnostic.Kind.WARNING,
                MessageFormat.format(
                    "{0}に@{1}の指定がありません",
View Full Code Here


    /**
     * このクラスが対象とする注釈型を返す。
     * @return 対象とする注釈型
     */
    protected Class<? extends Annotation> loadTargetAnnotationType() {
        TargetOperator target = getClass().getAnnotation(TargetOperator.class);
        if (target != null) {
            return target.value();
        } else {
            return null;
        }
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.common.TargetOperator

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.