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)
           
 boolean hasAccessorMethods()
           
 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
boxValue, equals, getBeanType, getName, getPropertyType, getUnboxedPropertyTypeName, hashCode, unboxValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasAccessorMethods

public boolean hasAccessorMethods()
Specified by:
hasAccessorMethods in class Property

findProperties

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

writeGetterBody

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

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

getAnnotation

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


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