org.chromium.sdk/src/org/chromium/sdk/internal/protocolparser/JsonNullable.java
changeset 2 e4420d2515f1
equal deleted inserted replaced
1:ef76fc2ac88c 2:e4420d2515f1
       
     1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
       
     2 // Use of this source code is governed by a BSD-style license that can be
       
     3 // found in the LICENSE file.
       
     4 
       
     5 package org.chromium.sdk.internal.protocolparser;
       
     6 
       
     7 import java.lang.annotation.ElementType;
       
     8 import java.lang.annotation.Retention;
       
     9 import java.lang.annotation.RetentionPolicy;
       
    10 import java.lang.annotation.Target;
       
    11 
       
    12 /**
       
    13  * For field-reading method specifies its type as {@code nullable}; it means
       
    14  * that JSON structure may have null value for a corresponding property.
       
    15  */
       
    16 @Target({ElementType.METHOD})
       
    17 @Retention(RetentionPolicy.RUNTIME)
       
    18 public @interface JsonNullable {
       
    19 }