view src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy @ 16:8400a7db1330

USASR-1307: update templates to groovydoc 2.3.6
author smith@nwoca.org
date Wed, 31 Dec 2014 22:35:45 +0000
parents e3c55e83c9a4
children e8e14d5d6be2
line wrap: on
line source
/*
 * Copyright (c) 2013.  Ohio Department of Education. - All Rights Reserved.
 * Unauthorized copying of this file, in any medium, is strictly prohibited.
 * Written by State Software Development Team (http://ssdt.oecn.k12.oh.us/)
 */

package org.ssdt_ohio.gradle.doc.tools

import org.codehaus.groovy.groovydoc.GroovyFieldDoc

class UserClassDocProxy extends groovy.util.Proxy {

    GroovyFieldDoc[] properties() {
        println "getting properties for $adaptee"
        getAdaptee().properties().findAll { GroovyFieldDoc p ->
            !p.isTransient()
        }

    }

    def propertyMissing(String name) { getAdaptee()."$name" }
    
}