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