Examples of MethodProperty


Examples of com.facebook.presto.jdbc.internal.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.fasterxml.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.fasterxml.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.fasterxml.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.fasterxml.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.fasterxml.jackson.databind.deser.impl.MethodProperty

        JsonDeserializer<Object> propDeser = findDeserializerFromAnnotation(ctxt, mutator);
        type = modifyTypeByAnnotation(ctxt, mutator, type);
        TypeDeserializer typeDeser = type.getTypeHandler();
        SettableBeanProperty prop;
        if (mutator instanceof AnnotatedMethod) {
            prop = new MethodProperty(propDef, type, typeDeser,
                beanDesc.getClassAnnotations(), (AnnotatedMethod) mutator);
        } else {
            prop = new FieldProperty(propDef, type, typeDeser,
                    beanDesc.getClassAnnotations(), (AnnotatedField) mutator);
        }
View Full Code Here

Examples of com.googlecode.objectify.impl.MethodProperty

      if (isOfInterest(field))
        good.add(new FieldProperty(fact, clazz, field));

    for (Method method: clazz.getDeclaredMethods())
      if (isOfInterest(method))
        good.add(new MethodProperty(method));

    return good;
  }
View Full Code Here

Examples of com.vaadin.data.util.MethodProperty

        return combo;
    }

    private CheckBox createReadOnlyForComboBox(ComboBox combo) {
        CheckBox readonly = new CheckBox("Second combobox is read only",
                new MethodProperty(combo, "readOnly"));
        readonly.setImmediate(true);
        addComponent(readonly);
        return readonly;
    }
View Full Code Here

Examples of com.vaadin.data.util.MethodProperty

        return hl;
    }
  }

  public static <V extends Property.Viewer, T> V bindProperty(V viewer, T object, String property) {
    viewer.setPropertyDataSource(new MethodProperty(object, property));
    return viewer;
  }
View Full Code Here

Examples of org.yaml.snakeyaml.introspector.MethodProperty

            // TODO: The API lacks an easy way to exclude some properties
            if ( property.getWriteMethod() != null && property.getReadMethod() != null && !property.getReadMethod().getName().equals( "getClass" )
                && !property.getReadMethod().getName().endsWith( "AsMap" )
                && !property.getReadMethod().getName().equals( "getModelEncoding" ) )
            {
                properties.add( new MethodProperty( property ) );
            }
        // add public fields
        for ( Field field : type.getFields() )
        {
            int modifiers = field.getModifiers();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.