-package org.jetbrains.debugger.values;
+package org.jetbrains.debugger;
import com.intellij.util.BitUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
-import org.jetbrains.debugger.ObjectProperty;
-import org.jetbrains.debugger.ValueModifier;
-import org.jetbrains.debugger.VariableImpl;
+import org.jetbrains.debugger.values.FunctionValue;
+import org.jetbrains.debugger.values.Value;
public class ObjectPropertyImpl extends VariableImpl implements ObjectProperty {
public static final byte WRITABLE = 0x01;
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
package org.jetbrains.jsonProtocol;
import java.lang.annotation.ElementType;
* Specifies JSON property name, which otherwise is derived from the method name (optional "get"
* prefix is truncated with the first letter decapitalization).
*/
- String jsonLiteralName() default "";
+ String name() default "";
// read any primitive value as String (true as true, number as string - don't try to parse)
boolean allowAnyPrimitiveValue() default false;
}
JsonField fieldAnnotation = method.getAnnotation(JsonField.class);
if (fieldAnnotation != null) {
- String jsonLiteralName = fieldAnnotation.jsonLiteralName();
+ String jsonLiteralName = fieldAnnotation.name();
if (!jsonLiteralName.isEmpty()) {
return jsonLiteralName;
}