Changeset 78
- Timestamp:
- 10/22/09 12:10:16 (2 years ago)
- Files:
-
- trunk/src/org/fluffnstuff/asdoclet/generator/AsGenerator.java (modified) (1 diff)
- trunk/test/asdoclet/test/TestProxyInterface.java (added)
- trunk/test/asdoclet/test/TestProxyInterfaceBase.java (added)
- trunk/test/expectations/actionscript/asdoclet/test/TestProxyInterface.as (added)
- trunk/test/expectations/actionscript/asdoclet/test/TestProxyInterfaceBase.as (added)
- trunk/test/expectations/actionscript/asdoclet/test/TestProxyInterfaceProxy.as (added)
- trunk/test/expectations/actionscript/asdoclet/test/TestProxyInterfaceProxyEvents.as (added)
- trunk/test/expectations/cs/asdoclet/test/TestProxyInterface.cs (added)
- trunk/test/expectations/cs/asdoclet/test/TestProxyInterfaceBase.cs (added)
- trunk/test/expectations/cs/asdoclet/test/TestProxyInterfaceProxy.cs (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/org/fluffnstuff/asdoclet/generator/AsGenerator.java
r71 r78 235 235 if (proxyUnit != null) { 236 236 String proxyMethodName = firstToUpper(methodName); 237 createConst(eventType, proxyMethodName, MessageFormat.format("\"{0}\"", methodName), "String", null); 237 boolean hasField = false; 238 239 for (Object o : eventType.getFields()) { 240 ASField field = (ASField) o; 241 if (field.getName().equals(proxyMethodName)) { 242 hasField = true; 243 break; 244 } 245 } 246 247 if (!hasField) createConst(eventType, proxyMethodName, MessageFormat.format("\"{0}\"", methodName), "String", null); 238 248 239 249 proxyMethod = proxyType.newMethod(methodName, Visibility.PUBLIC, returnType.getName());