Stubs: reduce the amount of boilerplate code

Extract a common type for placeholder stub elements
This commit is contained in:
Pavel V. Talanov
2014-03-24 19:57:18 +04:00
parent 512d1c05df
commit eb27020340
53 changed files with 171 additions and 837 deletions
@@ -1,7 +1,7 @@
PsiJetFileStubImpl[package=test]
CLASS:PsiJetClassStubImpl[name=A fqn=test.A superNames=[]]
VALUE_PARAMETER_LIST:PsiJetParameterListStubImpl
VALUE_PARAMETER_LIST
VALUE_PARAMETER:PsiJetParameterStubImpl[val name=b fqName=test.A.b typeText=Int defaultValue=null]
VALUE_PARAMETER:PsiJetParameterStubImpl[var name=c fqName=test.A.c typeText=String defaultValue=null]
VALUE_PARAMETER:PsiJetParameterStubImpl[val name=justParam typeText=Int defaultValue=null]
CLASS_BODY:PsiJetClassBodyStubImpl
CLASS_BODY