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())); } } }
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())); } } }