protected boolean callMatchLiteral(Vertex currentVertex, Property finalProperty) {
Class<?> valueClass = finalProperty.getType();
LiteralTransformer literalTransformer = Literals.get(valueClass);
String effectiveGraphValue = currentVertex.getProperty(GraphUtils.getEdgeNameFor(finalProperty));
ClassLoader classLoader = expected.getClass().getClassLoader();
ComparableType value = (ComparableType) literalTransformer.fromString(effectiveGraphValue, valueClass, classLoader, objectsBeingAccessed);
return doCompare(value);
}
}