Mercurial > public > gradleplugins
comparison src/main/groovy/org/ssdt_ohio/gradle/doc/tools/UserClassDocProxy.groovy @ 15:e3c55e83c9a4
USASR-1307: start custom class/property displays
author | Dave Smith <smith@nwoca.org> |
---|---|
date | Fri, 17 Jan 2014 18:16:29 +0000 |
parents | |
children | 8400a7db1330 |
comparison
equal
deleted
inserted
replaced
14:9de72de14ab3 | 15:e3c55e83c9a4 |
---|---|
1 /* | |
2 * Copyright (c) 2013. Ohio Department of Education. - All Rights Reserved. | |
3 * Unauthorized copying of this file, in any medium, is strictly prohibited. | |
4 * Written by State Software Development Team (http://ssdt.oecn.k12.oh.us/) | |
5 */ | |
6 | |
7 package org.ssdt_ohio.gradle.doc.tools | |
8 | |
9 import org.codehaus.groovy.groovydoc.GroovyFieldDoc | |
10 | |
11 class UserClassDocProxy extends groovy.util.Proxy { | |
12 | |
13 GroovyFieldDoc[] properties() { | |
14 println "getting properties for $adaptee" | |
15 getAdaptee().properties().findAll { GroovyFieldDoc p -> | |
16 !p.isTransient() | |
17 } | |
18 | |
19 } | |
20 | |
21 } |