Author: [email protected] Date: Mon Jun 1 11:19:34 2009 New Revision: 5484 Modified: trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JConstructor.java trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JMethod.java trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JParameter.java
Log: Restore constructors removed in r5410. Review by: [email protected] Modified: trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JConstructor.java ============================================================================== --- trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JConstructor.java (original) +++ trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JConstructor.java Mon Jun 1 11:19:34 2009 @@ -23,6 +23,10 @@ */ public class JConstructor extends JAbstractMethod { private final JClassType enclosingType; + + public JConstructor(JClassType enclosingType, String name) { + this(enclosingType, name, null, null); + } public JConstructor(JClassType enclosingType, String name, Map<Class<? extends Annotation>, Annotation> declaredAnnotations, Modified: trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JMethod.java ============================================================================== --- trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JMethod.java (original) +++ trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JMethod.java Mon Jun 1 11:19:34 2009 @@ -27,6 +27,10 @@ private JType returnType; + public JMethod(JClassType enclosingType, String name) { + this(enclosingType, name, null, null); + } + public JMethod(JClassType enclosingType, String name, Map<Class<? extends Annotation>, Annotation> declaredAnnotations, JTypeParameter[] jtypeParameters) { Modified: trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JParameter.java ============================================================================== --- trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JParameter.java (original) +++ trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/JParameter.java Mon Jun 1 11:19:34 2009 @@ -31,6 +31,11 @@ private JType type; private final JAbstractMethod enclosingMethod; + + public JParameter(JAbstractMethod enclosingMethod, JType type, + String name) { + this(enclosingMethod, type, name, null); + } public JParameter(JAbstractMethod enclosingMethod, JType type, String name, Map<Class<? extends Annotation>, Annotation> declaredAnnotations) { --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
