test_class.declarator: stringIdentity = new SelfAttribute<String>(String.class, "identity")
test_class.original_string: Attribute<String, String> stringIdentity = new SelfAttribute<String>(String.class, "identity");
test_class.type: Attribute<String, String>
test_class.var_name: stringIdentity
test_class.file: code/src/test/java/com/googlecode/cqengine/query/simple/StringIsPrefixOfTest.java
test_class.identifier: StringIsPrefixOfTest
test_case.body: @Test
      public void testMatchesSimpleAttribute() throws Exception {
          
          assertTrue(isPrefixOf(stringIdentity, "FOO").matches("F", noQueryOptions()));
          assertTrue(isPrefixOf(stringIdentity, "FOO").matches("FO", noQueryOptions()));
          assertTrue(isPrefixOf(stringIdentity, "FOO").matches("FOO", noQueryOptions()));
          
          assertFalse(isPrefixOf(stringIdentity, "FOO").matches("OO", noQueryOptions()));
          assertFalse(isPrefixOf(stringIdentity, "FOO").matches("BOO", noQueryOptions()));
          assertFalse(isPrefixOf(stringIdentity, "FOO").matches("FOOOD", noQueryOptions()));
          
      }
test_case.class_method_signature: StringIsPrefixOfTest.testMatchesSimpleAttribute()
test_case.full_signature: @Test public void testMatchesSimpleAttribute()
test_case.identifier: testMatchesSimpleAttribute
test_case.invocations: assertTrue matches isPrefixOf noQueryOptions assertTrue matches isPrefixOf noQueryOptions assertTrue matches isPrefixOf noQueryOptions assertFalse matches isPrefixOf noQueryOptions assertFalse matches isPrefixOf noQueryOptions assertFalse matches isPrefixOf noQueryOptions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatchesSimpleAttribute()
focal_class.declarator: value
focal_class.modifier: private final
focal_class.original_string: private final A value;
focal_class.type: A
focal_class.var_name: value
focal_class.file: code/src/main/java/com/googlecode/cqengine/query/simple/StringIsPrefixOf.java
focal_class.identifier: StringIsPrefixOf
focal_class.class_method_signature: StringIsPrefixOf.StringIsPrefixOf(Attribute<O, A> attribute, A value)
focal_class.full_signature: public  StringIsPrefixOf(Attribute<O, A> attribute, A value)
focal_class.identifier: StringIsPrefixOf
focal_class.modifiers: public
focal_class.parameters: (Attribute<O, A> attribute, A value)
focal_class.signature:  StringIsPrefixOf(Attribute<O, A> attribute, A value)
focal_class.class_method_signature: StringIsPrefixOf.getValue()
focal_class.full_signature: public A getValue()
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: A
focal_class.signature: A getValue()
focal_class.class_method_signature: StringIsPrefixOf.matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.full_signature: @Override protected boolean matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.identifier: matchesSimpleAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.return: boolean
focal_class.signature: boolean matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.class_method_signature: StringIsPrefixOf.matchesNonSimpleAttribute(Attribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.full_signature: @Override protected boolean matchesNonSimpleAttribute(Attribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.identifier: matchesNonSimpleAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (Attribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.return: boolean
focal_class.signature: boolean matchesNonSimpleAttribute(Attribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_class.class_method_signature: StringIsPrefixOf.calcHashCode()
focal_class.full_signature: @Override public int calcHashCode()
focal_class.identifier: calcHashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int calcHashCode()
focal_class.class_method_signature: StringIsPrefixOf.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.superclass: extends SimpleQuery<O, A>
focal_method.body: @Override
      protected boolean matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions) {
          CharSequence attributeValue = attribute.getValue(object, queryOptions);
          //swap the order of values
          return StringStartsWith.matchesValue(value, attributeValue, queryOptions);
      }
focal_method.class_method_signature: StringIsPrefixOf.matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_method.full_signature: @Override protected boolean matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_method.identifier: matchesSimpleAttribute
focal_method.invocations: getValue matchesValue
focal_method.modifiers: @Override protected
focal_method.parameters: (SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)
focal_method.return: boolean
focal_method.signature: boolean matchesSimpleAttribute(SimpleAttribute<O, A> attribute, O object, QueryOptions queryOptions)