com.fasterxml.jackson.databind.AnnotationIntrospector.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.AnnotationIntrospector.java

Source

package com.fasterxml.jackson.databind;

import com.fasterxml.jackson.annotation.JsonFormat.Value;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder.Value;
import com.fasterxml.jackson.databind.annotation.JsonSerialize.Typing;
import com.fasterxml.jackson.databind.cfg.MapperConfig;
import com.fasterxml.jackson.databind.introspect.Annotated;
import com.fasterxml.jackson.databind.introspect.AnnotatedClass;
import com.fasterxml.jackson.databind.introspect.AnnotatedField;
import com.fasterxml.jackson.databind.introspect.AnnotatedMember;
import com.fasterxml.jackson.databind.introspect.AnnotatedMethod;
import com.fasterxml.jackson.databind.introspect.AnnotatedParameter;
import com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector;
import com.fasterxml.jackson.databind.introspect.ObjectIdInfo;
import com.fasterxml.jackson.databind.introspect.VisibilityChecker;
import com.fasterxml.jackson.databind.jsontype.NamedType;
import com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder;
import com.fasterxml.jackson.databind.util.NameTransformer;
import java.lang.annotation.Annotation;
import java.util.List;

public abstract class AnnotationIntrospector {
    public static AnnotationIntrospector nopInstance() {
        return NopAnnotationIntrospector.instance;
    }

    public VisibilityChecker<?> findAutoDetectVisibility(AnnotatedClass paramAnnotatedClass,
            VisibilityChecker<?> paramVisibilityChecker) {
        return paramVisibilityChecker;
    }

    public Object findContentDeserializer(Annotated paramAnnotated) {
        return null;
    }

    public Object findContentSerializer(Annotated paramAnnotated) {
        return null;
    }

    public Class<?> findDeserializationContentType(Annotated paramAnnotated, JavaType paramJavaType) {
        return null;
    }

    public Class<?> findDeserializationKeyType(Annotated paramAnnotated, JavaType paramJavaType) {
        return null;
    }

    @Deprecated
    public String findDeserializationName(AnnotatedField paramAnnotatedField) {
        return null;
    }

    @Deprecated
    public String findDeserializationName(AnnotatedMethod paramAnnotatedMethod) {
        return null;
    }

    @Deprecated
    public String findDeserializationName(AnnotatedParameter paramAnnotatedParameter) {
        return null;
    }

    public Class<?> findDeserializationType(Annotated paramAnnotated, JavaType paramJavaType) {
        return null;
    }

    public Object findDeserializer(Annotated paramAnnotated) {
        return null;
    }

    public String findEnumValue(Enum<?> paramEnum) {
        return paramEnum.name();
    }

    public Object findFilterId(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public JsonFormat.Value findFormat(Annotated paramAnnotated) {
        if ((paramAnnotated instanceof AnnotatedMember))
            return findFormat((AnnotatedMember) paramAnnotated);
        return null;
    }

    @Deprecated
    public JsonFormat.Value findFormat(AnnotatedMember paramAnnotatedMember) {
        return null;
    }

    public Boolean findIgnoreUnknownProperties(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Object findInjectableValueId(AnnotatedMember paramAnnotatedMember) {
        return null;
    }

    public Object findKeyDeserializer(Annotated paramAnnotated) {
        return null;
    }

    public Object findKeySerializer(Annotated paramAnnotated) {
        return null;
    }

    public PropertyName findNameForDeserialization(Annotated paramAnnotated) {
        String str;
        if ((paramAnnotated instanceof AnnotatedField))
            str = findDeserializationName((AnnotatedField) paramAnnotated);
        while (true) {
            PropertyName localPropertyName = null;
            if (str != null) {
                if (str.length() != 0)
                    break;
                localPropertyName = PropertyName.USE_DEFAULT;
            }
            return localPropertyName;
            if ((paramAnnotated instanceof AnnotatedMethod))
                str = findDeserializationName((AnnotatedMethod) paramAnnotated);
            else if ((paramAnnotated instanceof AnnotatedParameter))
                str = findDeserializationName((AnnotatedParameter) paramAnnotated);
            else
                str = null;
        }
        return new PropertyName(str);
    }

    public PropertyName findNameForSerialization(Annotated paramAnnotated) {
        String str;
        if ((paramAnnotated instanceof AnnotatedField))
            str = findSerializationName((AnnotatedField) paramAnnotated);
        while (true) {
            PropertyName localPropertyName = null;
            if (str != null) {
                if (str.length() != 0)
                    break;
                localPropertyName = PropertyName.USE_DEFAULT;
            }
            return localPropertyName;
            if ((paramAnnotated instanceof AnnotatedMethod))
                str = findSerializationName((AnnotatedMethod) paramAnnotated);
            else
                str = null;
        }
        return new PropertyName(str);
    }

    public Object findNamingStrategy(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public ObjectIdInfo findObjectIdInfo(Annotated paramAnnotated) {
        return null;
    }

    public ObjectIdInfo findObjectReferenceInfo(Annotated paramAnnotated, ObjectIdInfo paramObjectIdInfo) {
        return paramObjectIdInfo;
    }

    public Class<?> findPOJOBuilder(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public JsonPOJOBuilder.Value findPOJOBuilderConfig(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public String[] findPropertiesToIgnore(Annotated paramAnnotated) {
        return null;
    }

    public TypeResolverBuilder<?> findPropertyContentTypeResolver(MapperConfig<?> paramMapperConfig,
            AnnotatedMember paramAnnotatedMember, JavaType paramJavaType) {
        return null;
    }

    public TypeResolverBuilder<?> findPropertyTypeResolver(MapperConfig<?> paramMapperConfig,
            AnnotatedMember paramAnnotatedMember, JavaType paramJavaType) {
        return null;
    }

    public ReferenceProperty findReferenceType(AnnotatedMember paramAnnotatedMember) {
        return null;
    }

    public PropertyName findRootName(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Class<?> findSerializationContentType(Annotated paramAnnotated, JavaType paramJavaType) {
        return null;
    }

    public JsonInclude.Include findSerializationInclusion(Annotated paramAnnotated,
            JsonInclude.Include paramInclude) {
        return paramInclude;
    }

    public Class<?> findSerializationKeyType(Annotated paramAnnotated, JavaType paramJavaType) {
        return null;
    }

    @Deprecated
    public String findSerializationName(AnnotatedField paramAnnotatedField) {
        return null;
    }

    @Deprecated
    public String findSerializationName(AnnotatedMethod paramAnnotatedMethod) {
        return null;
    }

    public String[] findSerializationPropertyOrder(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Boolean findSerializationSortAlphabetically(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Class<?> findSerializationType(Annotated paramAnnotated) {
        return null;
    }

    public JsonSerialize.Typing findSerializationTyping(Annotated paramAnnotated) {
        return null;
    }

    public Object findSerializer(Annotated paramAnnotated) {
        return null;
    }

    public List<NamedType> findSubtypes(Annotated paramAnnotated) {
        return null;
    }

    public String findTypeName(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public TypeResolverBuilder<?> findTypeResolver(MapperConfig<?> paramMapperConfig,
            AnnotatedClass paramAnnotatedClass, JavaType paramJavaType) {
        return null;
    }

    public NameTransformer findUnwrappingNameTransformer(AnnotatedMember paramAnnotatedMember) {
        return null;
    }

    public Object findValueInstantiator(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Class<?>[] findViews(Annotated paramAnnotated) {
        return null;
    }

    public PropertyName findWrapperName(Annotated paramAnnotated) {
        return null;
    }

    public boolean hasAnyGetterAnnotation(AnnotatedMethod paramAnnotatedMethod) {
        return false;
    }

    public boolean hasAnySetterAnnotation(AnnotatedMethod paramAnnotatedMethod) {
        return false;
    }

    public boolean hasAsValueAnnotation(AnnotatedMethod paramAnnotatedMethod) {
        return false;
    }

    public boolean hasCreatorAnnotation(Annotated paramAnnotated) {
        return false;
    }

    public boolean hasIgnoreMarker(AnnotatedMember paramAnnotatedMember) {
        return false;
    }

    public boolean isAnnotationBundle(Annotation paramAnnotation) {
        return false;
    }

    public Boolean isIgnorableType(AnnotatedClass paramAnnotatedClass) {
        return null;
    }

    public Boolean isTypeId(AnnotatedMember paramAnnotatedMember) {
        return null;
    }

    public static class ReferenceProperty {
        private final String _name;
        private final Type _type;

        public ReferenceProperty(Type paramType, String paramString) {
            this._type = paramType;
            this._name = paramString;
        }

        public static ReferenceProperty back(String paramString) {
            return new ReferenceProperty(Type.BACK_REFERENCE, paramString);
        }

        public static ReferenceProperty managed(String paramString) {
            return new ReferenceProperty(Type.MANAGED_REFERENCE, paramString);
        }

        public String getName() {
            return this._name;
        }

        public boolean isBackReference() {
            return this._type == Type.BACK_REFERENCE;
        }

        public boolean isManagedReference() {
            return this._type == Type.MANAGED_REFERENCE;
        }

        public static enum Type {
  static
  {
    BACK_REFERENCE = new Type("BACK_REFERENCE", 1);
    Type[] arrayOfType = new Type[2];
    arrayOfType[0] = MANAGED_REFERENCE;
    arrayOfType[1] = BACK_REFERENCE;
  }
        }
    }
}

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