test_class.declarator: number
test_class.modifier: private
test_class.original_string: private int number;
test_class.type: int
test_class.var_name: number
test_class.declarator: text
test_class.modifier: private
test_class.original_string: private String text, writeOnly;
test_class.type: String
test_class.var_name: text
test_class.declarator: flag
test_class.modifier: private
test_class.original_string: private boolean flag;
test_class.type: boolean
test_class.var_name: flag
test_class.declarator: inner
test_class.modifier: private
test_class.original_string: private Inner inner;
test_class.type: Inner
test_class.var_name: inner
test_class.declarator: nacked
test_class.modifier: private
test_class.original_string: private Nacked nacked;
test_class.type: Nacked
test_class.var_name: nacked
test_class.declarator: nulli
test_class.modifier: private
test_class.original_string: private Object nulli;
test_class.type: Object
test_class.var_name: nulli
test_class.declarator: self
test_class.modifier: private
test_class.original_string: private BeanExtractorTest self;
test_class.type: BeanExtractorTest
test_class.var_name: self
test_class.declarator: hiddenSelf
test_class.modifier: private
test_class.original_string: private BeanExtractorTest hiddenSelf;
test_class.type: BeanExtractorTest
test_class.var_name: hiddenSelf
test_class.declarator: hiddenInner
test_class.modifier: private
test_class.original_string: private Inner hiddenInner;
test_class.type: Inner
test_class.var_name: hiddenInner
test_class.file: agent/core/src/test/java/org/jolokia/converter/json/BeanExtractorTest.java
test_class.identifier: BeanExtractorTest
test_class.superclass: extends AbstractExtractorTest
test_case.body: @Test
      public void simplSet() throws InvocationTargetException, IllegalAccessException {
          assertTrue(extractor.canSetValue());
          String old = (String) setObject(this,"text","NewText");
          assertEquals(old,"Test");
          assertEquals(getText(),"NewText");
      }
test_case.class_method_signature: BeanExtractorTest.simplSet()
test_case.full_signature: @Test public void simplSet()
test_case.identifier: simplSet
test_case.invocations: assertTrue canSetValue setObject assertEquals assertEquals getText
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void simplSet()
focal_class.declarator: FINAL_CLASSES = new HashSet<Class>(Arrays.asList(
              String.class,
              Number.class,
              Byte.class,
              Double.class,
              Float.class,
              Long.class,
              Short.class,
              Integer.class,
              Boolean.class
      ))
focal_class.modifier: private static final
focal_class.original_string: private static final Set<Class> FINAL_CLASSES = new HashSet<Class>(Arrays.asList(
              String.class,
              Number.class,
              Byte.class,
              Double.class,
              Float.class,
              Long.class,
              Short.class,
              Integer.class,
              Boolean.class
      ));
focal_class.type: Set<Class>
focal_class.var_name: FINAL_CLASSES
focal_class.declarator: IGNORE_METHODS = new HashSet<String>(Arrays.asList(
              "getClass",
              // Ommit internal stuff
              "getStackTrace",
              "getClassLoader"
      ))
focal_class.modifier: private static final
focal_class.original_string: private static final Set<String> IGNORE_METHODS = new HashSet<String>(Arrays.asList(
              "getClass",
              // Ommit internal stuff
              "getStackTrace",
              "getClassLoader"
      ));
focal_class.type: Set<String>
focal_class.var_name: IGNORE_METHODS
focal_class.declarator: IGNORED_RETURN_TYPES = new Class[]{
              OutputStream.class,
              Writer.class
      }
focal_class.modifier: private static final
focal_class.original_string: private static final Class[] IGNORED_RETURN_TYPES = new Class[]{
              OutputStream.class,
              Writer.class
      };
focal_class.type: Class[]
focal_class.var_name: IGNORED_RETURN_TYPES
focal_class.declarator: GETTER_PREFIX = new String[]{"get", "is", "has"}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] GETTER_PREFIX = new String[]{"get", "is", "has"};
focal_class.type: String[]
focal_class.var_name: GETTER_PREFIX
focal_class.file: agent/core/src/main/java/org/jolokia/converter/json/BeanExtractor.java
focal_class.identifier: BeanExtractor
focal_class.interfaces: implements Extractor
focal_class.class_method_signature: BeanExtractor.getType()
focal_class.full_signature: public Class getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Class
focal_class.signature: Class getType()
focal_class.class_method_signature: BeanExtractor.extractObject(ObjectToJsonConverter pConverter, Object pValue,
                                  Stack<String> pPathParts, boolean jsonify)
focal_class.full_signature: @SuppressWarnings("PMD.CompareObjectsWithEquals") public Object extractObject(ObjectToJsonConverter pConverter, Object pValue,
                                  Stack<String> pPathParts, boolean jsonify)
focal_class.identifier: extractObject
focal_class.modifiers: @SuppressWarnings("PMD.CompareObjectsWithEquals") public
focal_class.parameters: (ObjectToJsonConverter pConverter, Object pValue,
                                  Stack<String> pPathParts, boolean jsonify)
focal_class.return: Object
focal_class.signature: Object extractObject(ObjectToJsonConverter pConverter, Object pValue,
                                  Stack<String> pPathParts, boolean jsonify)
focal_class.class_method_signature: BeanExtractor.setObjectValue(StringToObjectConverter pConverter,Object pInner, String pAttribute, Object pValue)
focal_class.full_signature: public Object setObjectValue(StringToObjectConverter pConverter,Object pInner, String pAttribute, Object pValue)
focal_class.identifier: setObjectValue
focal_class.modifiers: public
focal_class.parameters: (StringToObjectConverter pConverter,Object pInner, String pAttribute, Object pValue)
focal_class.return: Object
focal_class.signature: Object setObjectValue(StringToObjectConverter pConverter,Object pInner, String pAttribute, Object pValue)
focal_class.class_method_signature: BeanExtractor.canSetValue()
focal_class.full_signature: public boolean canSetValue()
focal_class.identifier: canSetValue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canSetValue()
focal_class.class_method_signature: BeanExtractor.exctractJsonifiedValue(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts)
focal_class.full_signature: private Object exctractJsonifiedValue(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts)
focal_class.identifier: exctractJsonifiedValue
focal_class.modifiers: private
focal_class.parameters: (ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts)
focal_class.return: Object
focal_class.signature: Object exctractJsonifiedValue(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts)
focal_class.class_method_signature: BeanExtractor.extractBeanValues(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts, List<String> pAttributes)
focal_class.full_signature: private Object extractBeanValues(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts, List<String> pAttributes)
focal_class.identifier: extractBeanValues
focal_class.modifiers: private
focal_class.parameters: (ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts, List<String> pAttributes)
focal_class.return: Object
focal_class.signature: Object extractBeanValues(ObjectToJsonConverter pConverter, Object pValue, Stack<String> pPathParts, List<String> pAttributes)
focal_class.class_method_signature: BeanExtractor.extractJsonifiedPropertyValue(ObjectToJsonConverter pConverter, Object pValue, String pAttribute, Stack<String> pPathParts)
focal_class.full_signature: @SuppressWarnings("PMD.CompareObjectsWithEquals") private Object extractJsonifiedPropertyValue(ObjectToJsonConverter pConverter, Object pValue, String pAttribute, Stack<String> pPathParts)
focal_class.identifier: extractJsonifiedPropertyValue
focal_class.modifiers: @SuppressWarnings("PMD.CompareObjectsWithEquals") private
focal_class.parameters: (ObjectToJsonConverter pConverter, Object pValue, String pAttribute, Stack<String> pPathParts)
focal_class.return: Object
focal_class.signature: Object extractJsonifiedPropertyValue(ObjectToJsonConverter pConverter, Object pValue, String pAttribute, Stack<String> pPathParts)
focal_class.class_method_signature: BeanExtractor.extractBeanAttributes(Object pValue)
focal_class.full_signature: private List<String> extractBeanAttributes(Object pValue)
focal_class.identifier: extractBeanAttributes
focal_class.modifiers: private
focal_class.parameters: (Object pValue)
focal_class.return: List<String>
focal_class.signature: List<String> extractBeanAttributes(Object pValue)
focal_class.class_method_signature: BeanExtractor.hasAnnotation(Method method, String annotation)
focal_class.full_signature: private boolean hasAnnotation(Method method, String annotation)
focal_class.identifier: hasAnnotation
focal_class.modifiers: private
focal_class.parameters: (Method method, String annotation)
focal_class.return: boolean
focal_class.signature: boolean hasAnnotation(Method method, String annotation)
focal_class.class_method_signature: BeanExtractor.addAttributes(List<String> pAttrs, Method pMethod)
focal_class.full_signature: @SuppressWarnings("PMD.UnnecessaryCaseChange") private void addAttributes(List<String> pAttrs, Method pMethod)
focal_class.identifier: addAttributes
focal_class.modifiers: @SuppressWarnings("PMD.UnnecessaryCaseChange") private
focal_class.parameters: (List<String> pAttrs, Method pMethod)
focal_class.return: void
focal_class.signature: void addAttributes(List<String> pAttrs, Method pMethod)
focal_class.class_method_signature: BeanExtractor.extractBeanPropertyValue(Object pValue, String pAttribute, ValueFaultHandler pFaultHandler)
focal_class.full_signature: private Object extractBeanPropertyValue(Object pValue, String pAttribute, ValueFaultHandler pFaultHandler)
focal_class.identifier: extractBeanPropertyValue
focal_class.modifiers: private
focal_class.parameters: (Object pValue, String pAttribute, ValueFaultHandler pFaultHandler)
focal_class.return: Object
focal_class.signature: Object extractBeanPropertyValue(Object pValue, String pAttribute, ValueFaultHandler pFaultHandler)
focal_class.class_method_signature: BeanExtractor.isIgnoredType(Class<?> pReturnType)
focal_class.full_signature: private boolean isIgnoredType(Class<?> pReturnType)
focal_class.identifier: isIgnoredType
focal_class.modifiers: private
focal_class.parameters: (Class<?> pReturnType)
focal_class.return: boolean
focal_class.signature: boolean isIgnoredType(Class<?> pReturnType)
focal_method.body: public boolean canSetValue() {
          return true;
      }
focal_method.class_method_signature: BeanExtractor.canSetValue()
focal_method.full_signature: public boolean canSetValue()
focal_method.identifier: canSetValue
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean canSetValue()