Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.deser.impl;
 
 
 // Simple placeholder
 {
    public PropertyBasedObjectIdGenerator(Class<?> scope) {
        super(scope);
    }
    
    @Override
    public Object generateId(Object forPojo) {
    	throw new UnsupportedOperationException();
    }
    @Override
    public ObjectIdGenerator<ObjectforScope(Class<?> scope) {
        return (scope == ) ? this : new PropertyBasedObjectIdGenerator(scope);
    }
    @Override
    public ObjectIdGenerator<ObjectnewForSerialization(Object context) {
        return this;
    }
    @Override
        // should we use general type for all; or type of property itself?
        return new IdKey(getClass(), key);
    }
New to GrepCode? Check out our FAQ X