com.atlassian.plugins.osgi.test.rest
Class AnnotationTypeAdapter

java.lang.Object
  extended by com.atlassian.plugins.osgi.test.rest.AnnotationTypeAdapter
All Implemented Interfaces:
com.google.gson.JsonSerializer<Annotation>

public class AnnotationTypeAdapter
extends Object
implements com.google.gson.JsonSerializer<Annotation>

Since:
version

Constructor Summary
AnnotationTypeAdapter()
           
 
Method Summary
 com.google.gson.JsonElement serialize(Annotation annotation, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationTypeAdapter

public AnnotationTypeAdapter()
Method Detail

serialize

public com.google.gson.JsonElement serialize(Annotation annotation,
                                             Type type,
                                             com.google.gson.JsonSerializationContext jsonSerializationContext)
Specified by:
serialize in interface com.google.gson.JsonSerializer<Annotation>


Copyright © 2014 Atlassian. All rights reserved.