Java 类org.codehaus.jackson.annotate.JsonSubTypes.Type 实例源码

项目:12306-android-Decompile    文件:JacksonAnnotationIntrospector.java   
public List<NamedType> findSubtypes(Annotated paramAnnotated)
{
  JsonSubTypes localJsonSubTypes = (JsonSubTypes)paramAnnotated.getAnnotation(JsonSubTypes.class);
  ArrayList localArrayList;
  if (localJsonSubTypes == null)
    localArrayList = null;
  while (true)
  {
    return localArrayList;
    JsonSubTypes.Type[] arrayOfType = localJsonSubTypes.value();
    localArrayList = new ArrayList(arrayOfType.length);
    int i = arrayOfType.length;
    for (int j = 0; j < i; j++)
    {
      JsonSubTypes.Type localType = arrayOfType[j];
      localArrayList.add(new NamedType(localType.value(), localType.name()));
    }
  }
}
项目:12306-android-Decompile    文件:JacksonAnnotationIntrospector.java   
public List<NamedType> findSubtypes(Annotated paramAnnotated)
{
  JsonSubTypes localJsonSubTypes = (JsonSubTypes)paramAnnotated.getAnnotation(JsonSubTypes.class);
  ArrayList localArrayList;
  if (localJsonSubTypes == null)
    localArrayList = null;
  while (true)
  {
    return localArrayList;
    JsonSubTypes.Type[] arrayOfType = localJsonSubTypes.value();
    localArrayList = new ArrayList(arrayOfType.length);
    int i = arrayOfType.length;
    for (int j = 0; j < i; j++)
    {
      JsonSubTypes.Type localType = arrayOfType[j];
      localArrayList.add(new NamedType(localType.value(), localType.name()));
    }
  }
}
项目:ingress-indonesia-dev    文件:JacksonAnnotationIntrospector.java   
public List<NamedType> findSubtypes(Annotated paramAnnotated)
{
  JsonSubTypes localJsonSubTypes = (JsonSubTypes)paramAnnotated.getAnnotation(JsonSubTypes.class);
  Object localObject;
  if (localJsonSubTypes == null)
    localObject = null;
  while (true)
  {
    return localObject;
    JsonSubTypes.Type[] arrayOfType = localJsonSubTypes.value();
    localObject = new ArrayList(arrayOfType.length);
    int i = arrayOfType.length;
    for (int j = 0; j < i; j++)
    {
      JsonSubTypes.Type localType = arrayOfType[j];
      ((ArrayList)localObject).add(new NamedType(localType.value(), localType.name()));
    }
  }
}