Skip to content

Instantly share code, notes, and snippets.

@galderz
Created September 8, 2011 10:01
Show Gist options
  • Select an option

  • Save galderz/1203057 to your computer and use it in GitHub Desktop.

Select an option

Save galderz/1203057 to your computer and use it in GitHub Desktop.
# rule skeleton
RULE debug river marshaller
CLASS org.jboss.marshalling.AbstractObjectOutput
METHOD writeObject(Object)
AT ENTRY
BIND nullobj : java.lang.Object = null
IF TRUE
DO System.out.println("Write type=" + ($1 == nullobj ? "NULL" : $1.getClass().getName()))
ENDRULE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment