repo.or.cz
/
fedora-idea.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'idea90' of git.labs.intellij.net:idea/community into idea90
[fedora-idea.git]
/
plugins
/
groovy
/
resources
/
standardDsls
/
singletonTransform.gdsl
blob
d1c022c75ec3c7546faa41f16254a335a73aa0e6
1
contributor(context()) {
2
if (classType?.hasAnnotation("groovy.lang.Singleton")) {
3
property name: "instance",
4
type: classType?.getQualifiedName() ?: "java.lang.Object",
5
isStatic: true
6
}
7
}