Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
587 bytes
|
Line | |
---|
1 | package com.framsticks.params.types; |
---|
2 | |
---|
3 | import com.framsticks.params.Param; |
---|
4 | import com.framsticks.params.ParamBuilder; |
---|
5 | |
---|
6 | import javax.annotation.concurrent.Immutable; |
---|
7 | |
---|
8 | /** |
---|
9 | * @author Piotr Sniegowski |
---|
10 | */ |
---|
11 | @Immutable |
---|
12 | public class EventParam extends Param { |
---|
13 | |
---|
14 | protected final String eventArgumentTypeName; |
---|
15 | |
---|
16 | |
---|
17 | /** |
---|
18 | * @param builder |
---|
19 | */ |
---|
20 | public EventParam(ParamBuilder builder) { |
---|
21 | super(builder); |
---|
22 | eventArgumentTypeName = builder.getEventArgumentTypeName(); |
---|
23 | } |
---|
24 | |
---|
25 | @Override |
---|
26 | public String getFramsTypeName() { |
---|
27 | return eventArgumentTypeName != null ? "e " + eventArgumentTypeName : "e"; |
---|
28 | } |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.