com.fasterxml.jackson.annotation.ObjectIdGenerators.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.annotation.ObjectIdGenerators.java

Source

package com.fasterxml.jackson.annotation;

public class ObjectIdGenerators {
    private static abstract class Base<T> extends ObjectIdGenerator<T> {
        protected final Class<?> _scope;

        protected Base(Class<?> paramClass) {
            this._scope = paramClass;
        }

        public boolean canUseFor(ObjectIdGenerator<?> paramObjectIdGenerator) {
            return (paramObjectIdGenerator.getClass() == getClass())
                    && (paramObjectIdGenerator.getScope() == this._scope);
        }

        public final Class<?> getScope() {
            return this._scope;
        }
    }

    public static abstract class None extends ObjectIdGenerator<Object> {
    }

    public static abstract class PropertyGenerator extends ObjectIdGenerators.Base<Object> {
        protected PropertyGenerator(Class<?> paramClass) {
            super();
        }
    }
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.annotation.ObjectIdGenerators
 * JD-Core Version:    0.6.2
 */