&& fc.getAttributeToken().getOffset() <= hoverRegion.getOffset()
&& hoverRegion.getOffset() <= fc.getAttributeToken().getOffset()
+ fc.getAttributeToken().getLength() )
{
String attributeType = fc.getAttributeToken().getValue();
AttributeTypeDescription attributeTypeDescription = schema
.getAttributeTypeDescription( attributeType );
String ldifLine = SchemaUtils.getLdifLine( attributeTypeDescription );
return ldifLine;
}
if ( fc.getAttributeToken() != null
&& IAttribute.OBJECTCLASS_ATTRIBUTE.equalsIgnoreCase( fc.getAttributeToken().getValue() )
&& fc.getValueToken() != null && fc.getValueToken().getOffset() <= hoverRegion.getOffset()
&& hoverRegion.getOffset() <= fc.getValueToken().getOffset() + fc.getValueToken().getLength() )
{
String objectClass = fc.getValueToken().getValue();
ObjectClassDescription objectClassDescription = schema.getObjectClassDescription( objectClass );
String ldifLine = SchemaUtils.getLdifLine( objectClassDescription );
return ldifLine;
}
}
if ( filter.getFilterComponent() instanceof LdapFilterExtensibleComponent )
{
LdapFilterExtensibleComponent fc = ( LdapFilterExtensibleComponent ) filter.getFilterComponent();
if ( fc.getAttributeToken() != null
&& fc.getAttributeToken().getOffset() <= hoverRegion.getOffset()
&& hoverRegion.getOffset() <= fc.getAttributeToken().getOffset()
+ fc.getAttributeToken().getLength() )
{
String attributeType = fc.getAttributeToken().getValue();
AttributeTypeDescription attributeTypeDescription = schema
.getAttributeTypeDescription( attributeType );
String ldifLine = SchemaUtils.getLdifLine( attributeTypeDescription );
return ldifLine;
}
if ( fc.getMatchingRuleToken() != null