test_class.file: code/src/test/java/com/googlecode/cqengine/codegen/AttributeBytecodeGeneratorTest.java
test_class.identifier: AttributeBytecodeGeneratorTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void testGenerateSimpleAttributeForField_ExceptionHandling2() throws Exception {
          generateSimpleAttributeForField(PojoWithField.class, null, "foo", "foo");
      }
test_case.class_method_signature: AttributeBytecodeGeneratorTest.testGenerateSimpleAttributeForField_ExceptionHandling2()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void testGenerateSimpleAttributeForField_ExceptionHandling2()
test_case.identifier: testGenerateSimpleAttributeForField_ExceptionHandling2
test_case.invocations: generateSimpleAttributeForField
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGenerateSimpleAttributeForField_ExceptionHandling2()
focal_class.declarator: PRIMITIVES_TO_WRAPPERS = new LinkedHashMap<Class<?>, Class<?>>() {{
          put(boolean.class, Boolean.class);
          put(byte.class, Byte.class);
          put(char.class, Character.class);
          put(double.class, Double.class);
          put(float.class, Float.class);
          put(int.class, Integer.class);
          put(long.class, Long.class);
          put(short.class, Short.class);
          put(void.class, Void.class);
      }}
focal_class.modifier: static final
focal_class.original_string: static final Map<Class<?>, Class<?>> PRIMITIVES_TO_WRAPPERS = new LinkedHashMap<Class<?>, Class<?>>() {{
          put(boolean.class, Boolean.class);
          put(byte.class, Byte.class);
          put(char.class, Character.class);
          put(double.class, Double.class);
          put(float.class, Float.class);
          put(int.class, Integer.class);
          put(long.class, Long.class);
          put(short.class, Short.class);
          put(void.class, Void.class);
      }};
focal_class.type: Map<Class<?>, Class<?>>
focal_class.var_name: PRIMITIVES_TO_WRAPPERS
focal_class.file: code/src/main/java/com/googlecode/cqengine/codegen/AttributeBytecodeGenerator.java
focal_class.identifier: AttributeBytecodeGenerator
focal_class.class_method_signature: AttributeBytecodeGenerator.createAttributes(Class<O> pojoClass)
focal_class.full_signature: public static Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass)
focal_class.identifier: createAttributes
focal_class.modifiers: public static
focal_class.parameters: (Class<O> pojoClass)
focal_class.return: Map<String, ? extends Attribute<O, ?>>
focal_class.signature: Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass)
focal_class.class_method_signature: AttributeBytecodeGenerator.createAttributes(Class<O> pojoClass, MemberFilter memberFilter)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass, MemberFilter memberFilter)
focal_class.identifier: createAttributes
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, MemberFilter memberFilter)
focal_class.return: Map<String, ? extends Attribute<O, ?>>
focal_class.signature: Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass, MemberFilter memberFilter)
focal_class.class_method_signature: AttributeBytecodeGenerator.createAttributes(Class<O> pojoClass, MemberFilter memberFilter, Function<Member, String> attributeNameProducer)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass, MemberFilter memberFilter, Function<Member, String> attributeNameProducer)
focal_class.identifier: createAttributes
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, MemberFilter memberFilter, Function<Member, String> attributeNameProducer)
focal_class.return: Map<String, ? extends Attribute<O, ?>>
focal_class.signature: Map<String, ? extends Attribute<O, ?>> createAttributes(Class<O> pojoClass, MemberFilter memberFilter, Function<Member, String> attributeNameProducer)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.identifier: generateSimpleAttributeForField
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.return: Class<? extends SimpleAttribute<O, A>>
focal_class.signature: Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.identifier: generateSimpleAttributeForGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.return: Class<? extends SimpleAttribute<O, A>>
focal_class.signature: Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.identifier: generateSimpleAttributeForParameterizedGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.return: Class<? extends SimpleAttribute<O, A>>
focal_class.signature: Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.identifier: generateSimpleNullableAttributeForField
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.return: Class<? extends SimpleNullableAttribute<O, A>>
focal_class.signature: Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.identifier: generateSimpleNullableAttributeForGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.return: Class<? extends SimpleNullableAttribute<O, A>>
focal_class.signature: Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.identifier: generateSimpleNullableAttributeForParameterizedGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.return: Class<? extends SimpleNullableAttribute<O, A>>
focal_class.signature: Class<? extends SimpleNullableAttribute<O, A>> generateSimpleNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.identifier: generateMultiValueAttributeForField
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.return: Class<? extends MultiValueAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.identifier: generateMultiValueAttributeForGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.return: Class<? extends MultiValueAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.identifier: generateMultiValueAttributeForParameterizedGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.return: Class<? extends MultiValueAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueAttribute<O, A>> generateMultiValueAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, boolean componentValuesNullable, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, boolean componentValuesNullable, String attributeName)
focal_class.identifier: generateMultiValueNullableAttributeForField
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String fieldName, boolean componentValuesNullable, String attributeName)
focal_class.return: Class<? extends MultiValueNullableAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, boolean componentValuesNullable, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, boolean componentValuesNullable, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, boolean componentValuesNullable, String attributeName)
focal_class.identifier: generateMultiValueNullableAttributeForGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, boolean componentValuesNullable, String attributeName)
focal_class.return: Class<? extends MultiValueNullableAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, boolean componentValuesNullable, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, boolean componentValuesNullable, String attributeName)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, boolean componentValuesNullable, String attributeName)
focal_class.identifier: generateMultiValueNullableAttributeForParameterizedGetter
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, boolean componentValuesNullable, String attributeName)
focal_class.return: Class<? extends MultiValueNullableAttribute<O, A>>
focal_class.signature: Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForParameterizedGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, String getterParameter, boolean componentValuesNullable, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateSimpleAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.full_signature: private static R generateSimpleAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.identifier: generateSimpleAttribute
focal_class.modifiers: private static
focal_class.parameters: (Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.return: R
focal_class.signature: R generateSimpleAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.full_signature: private static R generateMultiValueAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.identifier: generateMultiValueAttribute
focal_class.modifiers: private static
focal_class.parameters: (Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.return: R
focal_class.signature: R generateMultiValueAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, String target)
focal_class.class_method_signature: AttributeBytecodeGenerator.generateMultiValueNullableAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, boolean componentValuesNullable, String target)
focal_class.full_signature: private static R generateMultiValueNullableAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, boolean componentValuesNullable, String target)
focal_class.identifier: generateMultiValueNullableAttribute
focal_class.modifiers: private static
focal_class.parameters: (Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, boolean componentValuesNullable, String target)
focal_class.return: R
focal_class.signature: R generateMultiValueNullableAttribute(Class<C> attributeSuperClass, Class<O> pojoClass, Class<A> attributeValueType, String attributeName, boolean componentValuesNullable, String target)
focal_class.class_method_signature: AttributeBytecodeGenerator.getClassName(Class<?> cls)
focal_class.full_signature: static String getClassName(Class<?> cls)
focal_class.identifier: getClassName
focal_class.modifiers: static
focal_class.parameters: (Class<?> cls)
focal_class.return: String
focal_class.signature: String getClassName(Class<?> cls)
focal_class.class_method_signature: AttributeBytecodeGenerator.ensureFieldExists(Class<?> pojoClass, Class<?> attributeValueType, String fieldName, String attributeName)
focal_class.full_signature: static void ensureFieldExists(Class<?> pojoClass, Class<?> attributeValueType, String fieldName, String attributeName)
focal_class.identifier: ensureFieldExists
focal_class.modifiers: static
focal_class.parameters: (Class<?> pojoClass, Class<?> attributeValueType, String fieldName, String attributeName)
focal_class.return: void
focal_class.signature: void ensureFieldExists(Class<?> pojoClass, Class<?> attributeValueType, String fieldName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.ensureGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String getterMethodName, String attributeName)
focal_class.full_signature: static void ensureGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String getterMethodName, String attributeName)
focal_class.identifier: ensureGetterExists
focal_class.modifiers: static
focal_class.parameters: (Class<?> pojoClass, Class<?> attributeValueType, String getterMethodName, String attributeName)
focal_class.return: void
focal_class.signature: void ensureGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String getterMethodName, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.ensureParameterizedGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String parameterizedGetterMethodName, String getterParameter, String attributeName)
focal_class.full_signature: static void ensureParameterizedGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String parameterizedGetterMethodName, String getterParameter, String attributeName)
focal_class.identifier: ensureParameterizedGetterExists
focal_class.modifiers: static
focal_class.parameters: (Class<?> pojoClass, Class<?> attributeValueType, String parameterizedGetterMethodName, String getterParameter, String attributeName)
focal_class.return: void
focal_class.signature: void ensureParameterizedGetterExists(Class<?> pojoClass, Class<?> attributeValueType, String parameterizedGetterMethodName, String getterParameter, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.getExceptionMessage(Class<?> pojoClass, Class<?> attributeValueType, String attributeName)
focal_class.full_signature: static String getExceptionMessage(Class<?> pojoClass, Class<?> attributeValueType, String attributeName)
focal_class.identifier: getExceptionMessage
focal_class.modifiers: static
focal_class.parameters: (Class<?> pojoClass, Class<?> attributeValueType, String attributeName)
focal_class.return: String
focal_class.signature: String getExceptionMessage(Class<?> pojoClass, Class<?> attributeValueType, String attributeName)
focal_class.class_method_signature: AttributeBytecodeGenerator.getWrapperForPrimitive(Class<?> primitiveType)
focal_class.full_signature: static Class<?> getWrapperForPrimitive(Class<?> primitiveType)
focal_class.identifier: getWrapperForPrimitive
focal_class.modifiers: static
focal_class.parameters: (Class<?> primitiveType)
focal_class.return: Class<?>
focal_class.signature: Class<?> getWrapperForPrimitive(Class<?> primitiveType)
focal_method.body: @SuppressWarnings("unchecked")
      public static <O, A> Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName) {
          ensureFieldExists(pojoClass, attributeValueType, fieldName, attributeName);
          return generateSimpleAttribute(SimpleAttribute.class, pojoClass, attributeValueType, attributeName, "object." + fieldName);
      }
focal_method.class_method_signature: AttributeBytecodeGenerator.generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_method.full_signature: @SuppressWarnings("unchecked") public static Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_method.identifier: generateSimpleAttributeForField
focal_method.invocations: ensureFieldExists generateSimpleAttribute
focal_method.modifiers: @SuppressWarnings("unchecked") public static
focal_method.parameters: (Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)
focal_method.return: Class<? extends SimpleAttribute<O, A>>
focal_method.signature: Class<? extends SimpleAttribute<O, A>> generateSimpleAttributeForField(Class<O> pojoClass, Class<A> attributeValueType, String fieldName, String attributeName)