When a detail formatter or logical structure snippet makes reference to a type in the same package as the target object, evaluation fails with "unable to resolve class ..." For example, a detail formatter for org.codehaus.groovy.ast.expr.PropertyExpression could be declared as:
getObjectExpression().getText() + (isSpreadSafe() ? "*" : "") + (isSafe() ? "?" : "") + "." + (getProperty() instanceof ConstantExpression ? "" : "(") + getProperty().getText() + (getProperty() instanceof ConstantExpression ? "" : ")")
When a detail formatter or logical structure snippet makes reference to a type in the same package as the target object, evaluation fails with "unable to resolve class ..." For example, a detail formatter for
org.codehaus.groovy.ast.expr.PropertyExpressioncould be declared as: