/*
 * Copyright 2017 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.gradle.language.twirl;

import org.gradle.api.Incubating;

/**
 * Twirl Template format mapping
 */
@Incubating
public interface TwirlTemplateFormat {
    /**
     * @return Extension without the leading '.'
     */
    String getExtension();

    /**
     * @return Fully qualified class name for the template format
     */
    String getFormatType();
}

@@ -787,24 +787,16 @@
 *%0A     *
- @return
  Extensi
@@ -821,16 +821,55 @@
 ding '.'
+.%0A     * %0A     * @return file extension
 %0A     */
@@ -911,24 +911,16 @@
 *%0A     *
- @return
  Fully q
@@ -962,16 +962,64 @@
 e format
+.%0A     *%0A     * @return class name of the format
 %0A     */

Fix checkstyle failures