com.vaadin.server.widgetsetutils.metadata
Class MethodProperty

java.lang.Object
  extended by com.vaadin.server.widgetsetutils.metadata.Property
      extended by com.vaadin.server.widgetsetutils.metadata.MethodProperty

public class MethodProperty
extends Property


Method Summary
static java.util.Collection<MethodProperty> findProperties(JClassType type)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationClass)
           
 void writeGetterBody(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, java.lang.String beanVariable)
           
 void writeSetterBody(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter w, java.lang.String beanVariable, java.lang.String valueVariable)
           
 
Methods inherited from class com.vaadin.server.widgetsetutils.metadata.Property
equals, getBeanType, getName, getPropertyType, getUnboxedPropertyTypeName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findProperties

public static java.util.Collection<MethodProperty> findProperties(JClassType type)

writeSetterBody

public void writeSetterBody(TreeLogger logger,
                            com.google.gwt.user.rebind.SourceWriter w,
                            java.lang.String beanVariable,
                            java.lang.String valueVariable)
Specified by:
writeSetterBody in class Property

writeGetterBody

public void writeGetterBody(TreeLogger logger,
                            com.google.gwt.user.rebind.SourceWriter w,
                            java.lang.String beanVariable)
Specified by:
writeGetterBody in class Property

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
Specified by:
getAnnotation in class Property


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.