/** * Gets the firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) method * descriptor. * * @return java.beans.MethodDescriptor */ public java.beans.MethodDescriptor firePropertyChange_javalangString_javalangObject_javalangObjectMethodDescriptor() { java.beans.MethodDescriptor aDescriptor = null; try { /* Create and return the firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) method descriptor. */ java.lang.reflect.Method aMethod = null; try { /* Attempt to find the method using getMethod with parameter types. */ java.lang.Class aParameterTypes[] = { java.lang.String.class, java.lang.Object.class, java.lang.Object.class }; aMethod = getBeanClass().getMethod("firePropertyChange", aParameterTypes); } catch (java.lang.Throwable exception) { /* Since getMethod failed, call findMethod. */ handleException(exception); aMethod = findMethod(getBeanClass(), "firePropertyChange", 3); } ; try { /* Try creating the method descriptor with parameter descriptors. */ java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor(); aParameterDescriptor1.setName("arg1"); aParameterDescriptor1.setDisplayName("propertyName"); java.beans.ParameterDescriptor aParameterDescriptor2 = new java.beans.ParameterDescriptor(); aParameterDescriptor2.setName("arg2"); aParameterDescriptor2.setDisplayName("oldValue"); java.beans.ParameterDescriptor aParameterDescriptor3 = new java.beans.ParameterDescriptor(); aParameterDescriptor3.setName("arg3"); aParameterDescriptor3.setDisplayName("newValue"); java.beans.ParameterDescriptor aParameterDescriptors[] = { aParameterDescriptor1, aParameterDescriptor2, aParameterDescriptor3 }; aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors); } catch (java.lang.Throwable exception) { /* Try creating the method descriptor without parameter descriptors. */ handleException(exception); aDescriptor = new java.beans.MethodDescriptor(aMethod); } ; /* aDescriptor.setDisplayName("firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)"); */ /* aDescriptor.setShortDescription("firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)"); */ /* aDescriptor.setExpert(false); */ /* aDescriptor.setHidden(false); */ /* aDescriptor.setValue("preferred", new java.lang.Boolean(false)); */ } catch (java.lang.Throwable exception) { handleException(exception); } ; return aDescriptor; }
/** * Gets the changeSelection(com.javadude.articles.vaddmvc1.AddressDataModel, java.awt.List) method * descriptor. * * @return java.beans.MethodDescriptor */ public java.beans.MethodDescriptor changeSelection_comjavadudearticlesvaddmvc1AddressDataModel_javaawtListMethodDescriptor() { java.beans.MethodDescriptor aDescriptor = null; try { /* Create and return the changeSelection(com.javadude.articles.vaddmvc1.AddressDataModel, java.awt.List) method descriptor. */ java.lang.reflect.Method aMethod = null; try { /* Attempt to find the method using getMethod with parameter types. */ java.lang.Class aParameterTypes[] = { com.javadude.articles.vaddmvc1.AddressDataModel.class, java.awt.List.class }; aMethod = getBeanClass().getMethod("changeSelection", aParameterTypes); } catch (java.lang.Throwable exception) { /* Since getMethod failed, call findMethod. */ handleException(exception); aMethod = findMethod(getBeanClass(), "changeSelection", 2); } ; try { /* Try creating the method descriptor with parameter descriptors. */ java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor(); aParameterDescriptor1.setName("arg1"); aParameterDescriptor1.setDisplayName("data"); java.beans.ParameterDescriptor aParameterDescriptor2 = new java.beans.ParameterDescriptor(); aParameterDescriptor2.setName("arg2"); aParameterDescriptor2.setDisplayName("list"); java.beans.ParameterDescriptor aParameterDescriptors[] = { aParameterDescriptor1, aParameterDescriptor2 }; aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors); } catch (java.lang.Throwable exception) { /* Try creating the method descriptor without parameter descriptors. */ handleException(exception); aDescriptor = new java.beans.MethodDescriptor(aMethod); } ; /* aDescriptor.setDisplayName("changeSelection(com.javadude.articles.vaddmvc1.AddressDataModel, java.awt.List)"); */ /* aDescriptor.setShortDescription("changeSelection(com.javadude.articles.vaddmvc1.AddressDataModel, java.awt.List)"); */ /* aDescriptor.setExpert(false); */ /* aDescriptor.setHidden(false); */ /* aDescriptor.setValue("preferred", new java.lang.Boolean(false)); */ } catch (java.lang.Throwable exception) { handleException(exception); } ; return aDescriptor; }
/** * Gets the propertyChange.propertyChange(java.beans.PropertyChangeEvent) method descriptor. * * @return java.beans.MethodDescriptor */ public java.beans.MethodDescriptor propertyChangepropertyChange_javabeansPropertyChangeEventMethodEventDescriptor() { java.beans.MethodDescriptor aDescriptor = null; try { /* Create and return the propertyChange.propertyChange(java.beans.PropertyChangeEvent) method descriptor. */ java.lang.reflect.Method aMethod = null; try { /* Attempt to find the method using getMethod with parameter types. */ java.lang.Class aParameterTypes[] = {java.beans.PropertyChangeEvent.class}; aMethod = (java.beans.PropertyChangeListener.class).getMethod("propertyChange", aParameterTypes); } catch (java.lang.Throwable exception) { /* Since getMethod failed, call findMethod. */ handleException(exception); aMethod = findMethod((java.beans.PropertyChangeListener.class), "propertyChange", 1); } ; try { /* Try creating the method descriptor with parameter descriptors. */ java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor(); aParameterDescriptor1.setName("arg1"); aParameterDescriptor1.setDisplayName("evt"); java.beans.ParameterDescriptor aParameterDescriptors[] = {aParameterDescriptor1}; aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors); } catch (java.lang.Throwable exception) { /* Try creating the method descriptor without parameter descriptors. */ handleException(exception); aDescriptor = new java.beans.MethodDescriptor(aMethod); } ; /* aDescriptor.setDisplayName("propertyChange"); */ /* aDescriptor.setShortDescription("propertyChange"); */ /* aDescriptor.setExpert(false); */ /* aDescriptor.setHidden(false); */ /* aDescriptor.setValue("preferred", new java.lang.Boolean(false)); */ } catch (java.lang.Throwable exception) { handleException(exception); } ; return aDescriptor; }
/** * Gets the setPatternedThing(com.javadude.articles.vaddmvc2.Patterned) method descriptor. * * @return java.beans.MethodDescriptor */ public java.beans.MethodDescriptor setPatternedThing_comjavadudearticlesvaddmvc2PatternedMethodDescriptor() { java.beans.MethodDescriptor aDescriptor = null; try { /* Create and return the setPatternedThing(com.javadude.articles.vaddmvc2.Patterned) method descriptor. */ java.lang.reflect.Method aMethod = null; try { /* Attempt to find the method using getMethod with parameter types. */ java.lang.Class aParameterTypes[] = {com.javadude.articles.vaddmvc2.Patterned.class}; aMethod = getBeanClass().getMethod("setPatternedThing", aParameterTypes); } catch (java.lang.Throwable exception) { /* Since getMethod failed, call findMethod. */ handleException(exception); aMethod = findMethod(getBeanClass(), "setPatternedThing", 1); } ; try { /* Try creating the method descriptor with parameter descriptors. */ java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor(); aParameterDescriptor1.setName("arg1"); aParameterDescriptor1.setDisplayName("arg1"); java.beans.ParameterDescriptor aParameterDescriptors[] = {aParameterDescriptor1}; aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors); } catch (java.lang.Throwable exception) { /* Try creating the method descriptor without parameter descriptors. */ handleException(exception); aDescriptor = new java.beans.MethodDescriptor(aMethod); } ; /* aDescriptor.setDisplayName("setPatternedThing(com.javadude.articles.vaddmvc2.Patterned)"); */ /* aDescriptor.setShortDescription("setPatternedThing(com.javadude.articles.vaddmvc2.Patterned)"); */ /* aDescriptor.setExpert(false); */ /* aDescriptor.setHidden(false); */ /* aDescriptor.setValue("preferred", new java.lang.Boolean(false)); */ } catch (java.lang.Throwable exception) { handleException(exception); } ; return aDescriptor; }
/** * Gets the main(java.lang.String[]) method descriptor. * * @return java.beans.MethodDescriptor */ public java.beans.MethodDescriptor main_javalangString__MethodDescriptor() { java.beans.MethodDescriptor aDescriptor = null; try { /* Create and return the main(java.lang.String[]) method descriptor. */ java.lang.reflect.Method aMethod = null; try { /* Attempt to find the method using getMethod with parameter types. */ java.lang.Class aParameterTypes[] = {java.lang.String[].class}; aMethod = getBeanClass().getMethod("main", aParameterTypes); } catch (java.lang.Throwable exception) { /* Since getMethod failed, call findMethod. */ handleException(exception); aMethod = findMethod(getBeanClass(), "main", 1); } ; try { /* Try creating the method descriptor with parameter descriptors. */ java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor(); aParameterDescriptor1.setName("arg1"); aParameterDescriptor1.setDisplayName("args"); java.beans.ParameterDescriptor aParameterDescriptors[] = {aParameterDescriptor1}; aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors); } catch (java.lang.Throwable exception) { /* Try creating the method descriptor without parameter descriptors. */ handleException(exception); aDescriptor = new java.beans.MethodDescriptor(aMethod); } ; /* aDescriptor.setDisplayName("main(java.lang.String[])"); */ /* aDescriptor.setShortDescription("main(java.lang.String[])"); */ /* aDescriptor.setExpert(false); */ /* aDescriptor.setHidden(false); */ /* aDescriptor.setValue("preferred", new java.lang.Boolean(false)); */ } catch (java.lang.Throwable exception) { handleException(exception); } ; return aDescriptor; }