# HG changeset patch # User Bernhard Urban # Date 1384975924 -3600 # Node ID 4fcc7d778e0f7ccb8136b5ebb272f61fd6a840a3 # Parent 77fbf02f701ccdc2a9f9359100914cdcc92fb6ad MethodFilter: add documentation about comma seperator diff -r 77fbf02f701c -r 4fcc7d778e0f graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/MethodFilter.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/MethodFilter.java Wed Nov 20 19:27:49 2013 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/MethodFilter.java Wed Nov 20 20:32:04 2013 +0100 @@ -32,6 +32,7 @@ * parameters. The syntax for the source pattern that is passed to the constructor is as follows: * *
+ * SourcePatterns = SourcePattern ["," SourcePatterns] .
  * SourcePattern = [ Class "." ] method [ "(" [ Parameter { ";" Parameter } ] ")" ] .
  * Parameter = Class | "int" | "long" | "float" | "double" | "short" | "char" | "boolean" .
  * Class = { package "." } class .
@@ -80,6 +81,14 @@
  * 
  * Matches all methods named "visit" in classes in the package
  * "com.oracle.graal.compiler.graph".
+ *
  • + * + *
    + * arraycopy,toString
    + * 
    + * + * Matches all methods named "arraycopy" or "toString", meaning that ',' acts as an or + * operator.
  • * */ public class MethodFilter {