@Override
        public void onMethodSelection(final Expression expression, final MethodNode target) {
            if (target.getDeclaringClass().getName().equals("java.awt.Color")) {
                addStaticTypeError("Method call is not allowed!", expression);
            }
        }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/PrecompiledExtensions.java